╭ changed ────────╮ │src/ui/widget.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────╮ │55 repo_discussion_detail: ui.Repo.Discussions.Detail,│ │56 repo_events_header: ui.Repo.Events.Header.View, │ │57 repo_events: ui.Repo.Events.View, │ │58 + repo_undo: ui.Repo.Undo.View, │ │59 repo_comment: ui.Repo.Comment.Item, │ │60 copyable_text: CopyableText, │ │61 patch_source: ui.Repo.Patches.Source, │ ╰───────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │107 // whether moving up should return to the page header │ │108 pub fn atTop(self: *Widget, root_focus: *Focus) bool { │ │109 return switch (self.*) { │ │109 - inline .home_users, .home_repos, .flow_box_scroll, .home_settings, .auth_login, .auth_logout, .quit, .repo_files, .repo_commits, .diff_view, .repo_refs, .repo_issues, .repo_patches, .repo_discussions, .repo_events => |*view| view.atTop(), │ │110 + inline .home_users, .home_repos, .flow_box_scroll, .home_settings, .auth_login, .auth_logout, .quit, .repo_files, .repo_commits, .diff_view, .repo_refs, .repo_issues, .repo_patches, .repo_discussions, .repo_events, .repo_undo => |*view| view.atTop(),│ │111 inline .home_auth, .repo_patch_detail => |*view| view.atTop(root_focus), │ │112 else => false, │ │113 }; │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯