╭ changed ──────────────────╮ │src/ui/Repo/Discussions.zig│ ╰───────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │59 pub const Event = evt.Discussion; │ │60 pub const Status = enum { recent }; │ │61 pub const ViewKind = ui.RoutablePage.DiscussionsView; │ │62 +pub const thread_name = "discussion"; │ │63 +pub const header_widget_name = "repo_discussions_header"; │ │64 + │ │65 +pub fn listRoute(identity: []const u8, _: Status, tag: []const u8, selected: []const u8) ?ui.RoutablePage {│ │66 + return ui.RoutablePage.repoDiscussionsRoute(identity, tag, selected); │ │67 +} │ │68 │ │69 pub fn selectedThread(self: *const Self) ?*const DiscussionWithId { │ │70 if (self.selected_id.len == 0) return null; │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯