╭ changed ─────────────╮ │src/ui/Repo/Issues.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────╮ │88 comments_start: usize, │ │89 // the selected comment and its immediate replies. │ │90 comment_page: ?Comment.Permalink = null, │ │91 -// whether the viewer may reply to comments │ │92 -can_reply: bool = false, │ │91 +// who the page is built for, null when logged out │ │92 +viewer: ?ui.Viewer = null, │ │93 open: Window, │ │94 closed: Window, │ │95 // the conflicted issues' listing; its count also gates the conflicts tab.│ ╰──────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │210 comments_start: usize, │ │211 theirs_picks: []const u8, │ │212 view: ui.RoutablePage.IssuesView, │ │213 - viewer: ?Comment.Viewer, │ │213 + viewer: ?ui.Viewer, │ │214 ) !Self { │ │215 const empty = try emptyResult(arena.allocator(), identity, label, search, selected_id, comment_id, comments_start, theirs_picks, view);│ │216 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────╮ │346 .comment_id = empty.comment_id, │ │347 .comments_start = comments_start,│ │348 .comment_page = comment_page, │ │349 - .can_reply = viewer != null, │ │349 + .viewer = viewer, │ │350 .open = open_window, │ │351 .closed = closed_window, │ │352 .conflicts = conflicts_window, │ ╰──────────────────────────────────────────────╯