╭ changed ──────╮ │src/ui/Repo.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │314 switch (std.meta.activeTag(stack.children.values()[index])) { │ │315 // files/commits carry this page's content route (directory / log │ │316 // page); settings/auth carry only "owner/name". │ │332 - .repo_commits => self.session.data.current_page = .{ .repo_commits = .{ .name = self.data.commits_route_name, .after = self.data.commits_after } }, │ │333 - // the refs tab mirrors this page's paginated column + offset. │ │334 - .repo_refs => self.session.data.current_page = .{ .repo_refs = .{ .name = self.data.identity, .kind = self.data.refs.kind, .after = self.data.refs.after } }, │ │317 + .repo_commits => self.session.data.current_page = .{ .repo_commits = self.data.commits_route_name }, │ │318 + // the refs tab mirrors this page's windowed column. │ │319 + .repo_refs => self.session.data.current_page = ui.RoutablePage.repoRefsRoute(self.data.identity.slice(), self.data.refs.kind, self.data.refs.from) orelse self.session.data.current_page,│ │320 // the issues tab mirrors this page's tag filter (issue urls │ │321 // themselves never carry the tag). │ │322 .repo_issues => self.session.data.current_page = ui.RoutablePage.repoIssuesRoute(self.data.identity.slice(), .open, self.data.issues.tag, "") orelse self.session.data.current_page, │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │326 // alone (nothing to mirror into the url). │ │327 .quit => {}, │ │328 // the files tab (this page's directory route) │ │344 - else => self.session.data.current_page = .{ .repo_files = .{ .name = self.data.route_name, .after = self.data.files_after } },│ │329 + else => self.session.data.current_page = .{ .repo_files = self.data.route_name }, │ │330 } │ │331 } │ │332 try self.box.build(allocator, constraint, root_focus); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯