╭ changed ──────╮ │src/ui/Repo.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────╮ │119 .repo_refs => |*r| r.from.slice(), │ │120 else => "", │ │121 }; │ │122 + const refs_search: []const u8 = switch (route) { │ │123 + .repo_refs => |*r| r.search.slice(), │ │124 + else => "", │ │125 + }; │ │126 // the issues tab's tag filter, the issue its window is rooted at, and the│ │127 // view it shows. │ │128 const issues_tag: []const u8 = switch (route) { │ ╰───────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │309 break :blk .{ │ │310 files_data, │ │311 changes_data, │ │308 - try Refs.init(repo_kind, opened.self_repo_opts, arena, opened, io, gpa, repo_identity.identity, refs_kind, refs_from), │ │312 + try Refs.init(repo_kind, opened.self_repo_opts, arena, opened, io, gpa, repo_identity.identity, refs_kind, refs_from, refs_search), │ │313 try Issues.init(repo_kind, opened.self_repo_opts, arena, opened, io, session.haxy_moment, repo_identity.identity, issues_tag, issues_search, issues_selected, issues_comment, issues_comments_start, issues_theirs, issues_view), │ │314 try Patches.init(repo_kind, opened.self_repo_opts, arena, opened, io, session.haxy_moment, session, repo_id_maybe, repo_identity.identity, target_branch, patches_tag, patches_search, patches_selected, patches_comment, patches_comments_start, patches_theirs, patches_view),│ │315 try Discussions.init(repo_kind, opened.self_repo_opts, arena, opened, io, session.haxy_moment, repo_identity.identity, discussions_tag, discussions_search, discussions_selected, discussions_comment, discussions_comments_start, discussions_view), │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │324 break :blk .{ │ │325 try Files.emptyResult(aa, location, requested_ref_or_oid orelse .branch, requested_ref_value, files_dir), │ │326 Changes{ .commits = try Commits.emptyResult(aa, location, requested_ref_or_oid orelse .branch, requested_ref_value, commits_content, commits_base_oid) }, │ │323 - try Refs.emptyResult(arena, repo_identity.identity, refs_kind, refs_from), │ │327 + try Refs.emptyResult(arena, repo_identity.identity, refs_kind, refs_from, refs_search), │ │328 try Issues.emptyResult(aa, repo_identity.identity, issues_tag, issues_search, issues_selected, issues_comment, issues_comments_start, issues_theirs, issues_view), │ │329 try Patches.emptyResult(aa, repo_identity.identity, patches_tag, patches_search, patches_selected, patches_comment, patches_comments_start, patches_theirs, patches_view), │ │330 try Discussions.emptyResult(aa, repo_identity.identity, discussions_tag, discussions_search, discussions_selected, discussions_comment, discussions_comments_start, discussions_view),│ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │523 if (stack.getSelected()) |selected_widget| switch (selected_widget.*) {│ │524 .repo_files => |*v| if (v.focusHeader(root_focus)) return, │ │525 .repo_commits => |*v| if (v.focusHeader(root_focus)) return, │ │526 + .repo_refs => |*v| if (v.focusHeader(root_focus)) return, │ │527 .repo_events => |*v| if (v.focusHeader(root_focus)) return, │ │528 .repo_undo => |*v| if (v.focusHeader(root_focus)) return, │ │529 else => {}, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────╯