╭ changed ─────────────╮ │src/ui/Repo/Header.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────╮ │31 // the ref/oid this page is viewing; the value is url-encoded │ │32 ref_or_oid: RefOrOid, │ │33 ref_or_oid_value: []const u8, │ │34 -// the issues tab's tag filter, url-encoded ("" = unfiltered), so the tab links │ │34 +// the issues tab's label filter, url-encoded ("" = unfiltered), so the tab links│ │35 // back to the filtered list. │ │36 -issues_tag: []const u8, │ │37 -patches_tag: []const u8, │ │38 -discussions_tag: []const u8, │ │36 +issues_label: []const u8, │ │37 +patches_label: []const u8, │ │38 +discussions_label: []const u8, │ │39 │ │40 const Self = @This(); │ │41 │ ╰─────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │42 -pub fn init(arena: *std.heap.ArenaAllocator, name: []const u8, owner_name: []const u8, ref_or_oid: RefOrOid, ref_or_oid_value: []const u8, issues_tag: []const u8, patches_tag: []const u8, discussions_tag: []const u8) !Self { │ │42 +pub fn init(arena: *std.heap.ArenaAllocator, name: []const u8, owner_name: []const u8, ref_or_oid: RefOrOid, ref_or_oid_value: []const u8, issues_label: []const u8, patches_label: []const u8, discussions_label: []const u8) !Self {│ │43 return .{ │ │44 .name = name, │ │45 .owner_name = owner_name, │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────╮ │46 .title = try ui.Title.init(arena, name),│ │47 .ref_or_oid = ref_or_oid, │ │48 .ref_or_oid_value = ref_or_oid_value, │ │49 - .issues_tag = issues_tag, │ │50 - .patches_tag = patches_tag, │ │51 - .discussions_tag = discussions_tag, │ │49 + .issues_label = issues_label, │ │50 + .patches_label = patches_label, │ │51 + .discussions_label = discussions_label, │ │52 }; │ │53 } │ │54 │ ╰────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │157 const changes_link = try ui.inPageTabLink(session, changes_route, current_tag == changes_tag); │ │158 const refs_route = ui.RoutablePage.repoRefsRoute(identity, .branch, "") orelse return error.RouteTooLong; │ │159 const refs_link = try ui.inPageTabLink(session, refs_route, current_tag == .repo_refs); │ │160 - const issues_route = ui.RoutablePage.repoIssuesRoute(identity, .open, data.issues_tag, "") orelse return error.RouteTooLong; │ │160 + const issues_route = ui.RoutablePage.repoIssuesRoute(identity, .open, data.issues_label, "") orelse return error.RouteTooLong; │ │161 const issues_link = try ui.inPageTabLink(session, issues_route, current_tag == .repo_issues); │ │162 - const patches_route = ui.RoutablePage.repoPatchesRoute(identity, .open, data.patches_tag, "") orelse return error.RouteTooLong; │ │162 + const patches_route = ui.RoutablePage.repoPatchesRoute(identity, .open, data.patches_label, "") orelse return error.RouteTooLong; │ │163 const patches_link = try ui.inPageTabLink(session, patches_route, current_tag == .repo_patches); │ │164 - const discussions_route = ui.RoutablePage.repoDiscussionsRoute(identity, data.discussions_tag, "") orelse return error.RouteTooLong; │ │164 + const discussions_route = ui.RoutablePage.repoDiscussionsRoute(identity, data.discussions_label, "") orelse return error.RouteTooLong;│ │165 const discussions_link = try ui.inPageTabLink(session, discussions_route, current_tag == .repo_discussions); │ │166 const events_route = ui.RoutablePage.repoEventsRoute(identity, .active, null, "", null) orelse return error.RouteTooLong; │ │167 const events_link = try ui.inPageTabLink(session, events_route, current_tag == .repo_events); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯