╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │564 } }; │ │565 } │ │566 │ │567 - pub fn repoPatchesRoute(identity: []const u8, status: evt.Patch.Status, tag: []const u8, selected: []const u8) ?RoutablePage { │ │567 + pub fn repoPatchesRoute(identity: []const u8, status: evt.Patch.StatusKind, tag: []const u8, selected: []const u8) ?RoutablePage {│ │568 return .{ .repo_patches = .{ │ │569 .name = Array(repo_route_max_len).from(identity) orelse return null, │ │570 .tag = Array(patch_tag_route_max_len).from(tag) orelse return null, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1320 return repoPatchesConflictsRoute(pair, params.values.get(.start) orelse ""); │ │1321 } │ │1322 if (!params.only(&.{.tag})) return null; │ │1323 - if (std.meta.stringToEnum(evt.Patch.Status, view)) |status| return repoPatchesRoute(pair, status, tag_value, ""); │ │1323 + if (std.meta.stringToEnum(evt.Patch.StatusKind, view)) |status| return repoPatchesRoute(pair, status, tag_value, "");│ │1324 if (std.mem.eql(u8, view, "tags")) return repoThreadTagsRoute(.patch, pair, tag_value); │ │1325 if (std.mem.eql(u8, view, "new")) return if (tag_value.len == 0) repoThreadNewRoute(.patch, pair) else null; │ │1326 if (std.mem.eql(u8, view, "drafts")) return if (tag_value.len == 0) repoPatchesDraftsRoute(pair) else null; │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯