╭ changed ──────────────────╮ │src/ui/Repo/Discussions.zig│ ╰───────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │125 view: ui.RoutablePage.DiscussionsView, │ │126 viewer: ?ui.Viewer, │ │127 ) !Self { │ │128 - const empty = try emptyResult(arena.allocator(), identity, label, search, selected_id, comment_id, comments_start, view);│ │128 + var empty = try emptyResult(arena.allocator(), identity, label, search, selected_id, comment_id, comments_start, view); │ │129 + // the early returns below still let the viewer write │ │130 + empty.viewer = viewer; │ │131 const aa = arena.allocator(); │ │132 const DB = evt.EventDB(repo_opts.hash); │ │133 const rooted = empty.selected_id.len != 0; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ─────────────╮ │src/ui/Repo/Issues.zig│ ╰──────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │223 view: ui.RoutablePage.IssuesView, │ │224 viewer: ?ui.Viewer, │ │225 ) !Self { │ │226 - const empty = try emptyResult(arena.allocator(), identity, label, assignee, search, selected_id, comment_id, comments_start, theirs_picks, view);│ │226 + var empty = try emptyResult(arena.allocator(), identity, label, assignee, search, selected_id, comment_id, comments_start, theirs_picks, view); │ │227 + // the early returns below still let the viewer write │ │228 + empty.viewer = viewer; │ │229 │ │230 const aa = arena.allocator(); │ │231 const DB = evt.EventDB(repo_opts.hash); │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────────────╮ │src/ui/Repo/Patches.zig│ ╰───────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │583 const allowed_view: ui.RoutablePage.PatchesView = if (session.local != null and view == .drafts) .open else view; │ │584 var empty = try emptyResult(arena.allocator(), identity, label, search, selected_id, comment_id, comments_start, theirs_picks, allowed_view);│ │585 empty.default_target_branch = try arena.allocator().dupe(u8, target_branch); │ │586 + // the early returns below still let the viewer write │ │587 + empty.viewer = viewer; │ │588 │ │589 const aa = arena.allocator(); │ │590 const DB = evt.EventDB(repo_opts.hash); │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯