╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭──────────────────────────────────────────────╮ │2127 failure: ThreadFailure, │ │2128 fields: ?struct { │ │2129 title: []const u8, │ │2130 - tags: []const u8, │ │2130 + labels: []const u8, │ │2131 description: []const u8,│ │2132 } = null, │ │2133 }, │ ╰──────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────╮ │2135 failure: PatchFailure, │ │2136 fields: ?struct { │ │2137 title: []const u8, │ │2138 - tags: []const u8, │ │2138 + labels: []const u8, │ │2139 description: []const u8, │ │2140 target_branch: []const u8, │ │2141 source_branch: []const u8 = "",│ ╰─────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────╮ │2146 failure: ThreadFailure, │ │2147 fields: ?struct { │ │2148 title: []const u8, │ │2149 - tags: []const u8, │ │2149 + labels: []const u8, │ │2150 description: []const u8,│ │2151 } = null, │ │2152 }, │ ╰──────────────────────────────────────────────╯ ╭ changed ──────╮ │src/ui/Repo.zig│ ╰───────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────╮ │127 .repo_refs => |*r| r.search.slice(), │ │128 else => "", │ │129 }; │ │130 - // the issues tab's tag filter, the issue its window is rooted at, and the │ │130 + // the issues tab's label filter, the issue its window is rooted at, and the│ │131 // view it shows. │ │132 - const issues_tag: []const u8 = switch (route) { │ │133 - .repo_issues => |*i| i.tag.slice(), │ │132 + const issues_label: []const u8 = switch (route) { │ │133 + .repo_issues => |*i| i.label.slice(), │ │134 else => "", │ │135 }; │ │136 const issues_search: []const u8 = switch (route) { │ ╰─────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────╮ │157 .repo_issues => |i| i.comments_start, │ │158 else => 0, │ │159 }; │ │160 - const patches_tag: []const u8 = switch (route) { │ │161 - .repo_patches => |*p| p.tag.slice(), │ │160 + const patches_label: []const u8 = switch (route) { │ │161 + .repo_patches => |*p| p.label.slice(), │ │162 else => "", │ │163 }; │ │164 const patches_search: []const u8 = switch (route) {│ ╰────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────╮ │185 .repo_patches => |p| p.comments_start, │ │186 else => 0, │ │187 }; │ │188 - const discussions_tag: []const u8 = switch (route) { │ │189 - .repo_discussions => |*t| t.tag.slice(), │ │188 + const discussions_label: []const u8 = switch (route) { │ │189 + .repo_discussions => |*t| t.label.slice(), │ │190 else => "", │ │191 }; │ │192 const discussions_search: []const u8 = switch (route) {│ ╰────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │321 files_data, │ │322 changes_data, │ │323 try Refs.init(repo_kind, opened.self_repo_opts, arena, opened, io, gpa, repo_identity.identity, refs_kind, refs_from, refs_search), │ │324 - 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), │ │325 - 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), │ │326 - 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 + try Issues.init(repo_kind, opened.self_repo_opts, arena, opened, io, session.haxy_moment, repo_identity.identity, issues_label, issues_search, issues_selected, issues_comment, issues_comments_start, issues_theirs, issues_view), │ │325 + 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_label, patches_search, patches_selected, patches_comment, patches_comments_start, patches_theirs, patches_view),│ │326 + try Discussions.init(repo_kind, opened.self_repo_opts, arena, opened, io, session.haxy_moment, repo_identity.identity, discussions_label, discussions_search, discussions_selected, discussions_comment, discussions_comments_start, discussions_view), │ │327 try Events.init(repo_kind, opened.self_repo_opts, arena, opened, io, session.haxy_moment, repo_identity.identity, events_view, events_kind, events_selected, events_moment, session.local != null, session.data.sync_failure), │ │328 }; │ │329 }, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │336 try Files.emptyResult(aa, location, requested_ref_or_oid orelse .branch, requested_ref_value, files_dir), │ │337 Changes{ .commits = try Commits.emptyResult(aa, location, requested_ref_or_oid orelse .branch, requested_ref_value, commits_content, commits_base_oid) }, │ │338 try Refs.emptyResult(arena, repo_identity.identity, refs_kind, refs_from, refs_search), │ │339 - try Issues.emptyResult(aa, repo_identity.identity, issues_tag, issues_search, issues_selected, issues_comment, issues_comments_start, issues_theirs, issues_view), │ │340 - try Patches.emptyResult(aa, repo_identity.identity, patches_tag, patches_search, patches_selected, patches_comment, patches_comments_start, patches_theirs, patches_view), │ │341 - try Discussions.emptyResult(aa, repo_identity.identity, discussions_tag, discussions_search, discussions_selected, discussions_comment, discussions_comments_start, discussions_view), │ │339 + try Issues.emptyResult(aa, repo_identity.identity, issues_label, issues_search, issues_selected, issues_comment, issues_comments_start, issues_theirs, issues_view), │ │340 + try Patches.emptyResult(aa, repo_identity.identity, patches_label, patches_search, patches_selected, patches_comment, patches_comments_start, patches_theirs, patches_view), │ │341 + try Discussions.emptyResult(aa, repo_identity.identity, discussions_label, discussions_search, discussions_selected, discussions_comment, discussions_comments_start, discussions_view),│ │342 try Events.empty(aa, repo_identity.identity, events_view, session.local != null, session.data.sync_failure), │ │343 }; │ │344 }; │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │354 │ │355 return .{ │ │356 // use the files tab's resolved ref for the header │ │357 - .header = try Header.init(arena, repo.event.name, owner_name, files.ref_or_oid, files.ref_or_oid_value, issues.tag, patches.tag, discussions.tag), │ │357 + .header = try Header.init(arena, repo.event.name, owner_name, files.ref_or_oid, files.ref_or_oid_value, issues.label, patches.label, discussions.label),│ │358 .repo = repo, │ │359 .files = files, │ │360 .changes = changes, │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────────────────╮ │src/ui/Repo/Discussions.zig│ ╰───────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────╮ │14 // how many discussions one window shows before a "next" link appears. │ │15 pub const page_size = 20; │ │16 │ │17 -// how many tags the tags view shows at most. │ │18 -pub const max_tags = 1000; │ │17 +// how many labels the labels view shows at most. │ │18 +pub const max_labels = 1000; │ │19 │ │20 // one discussion from the repo's consumed event database, with its hex event id│ │21 // (the id lives in the event envelope, not the payload). │ ╰────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯