╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ───────────────╮ │src/ui/widget/thread.zig│ ╰────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2617 inline else => |*repo| { │ │2618 var resolution: Event.Resolve = .{ │ │2619 .title = title, │ │2620 - .tags = tags, │ │2620 + .labels = labels, │ │2621 .hunks = hunks.items, │ │2622 }; │ │2623 if (comptime @hasField(Event.Resolve, "theirs")) resolution.theirs = self.data.theirs_picks;│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────╮ │2704 │ │2705 const form = self.threadForm() orelse return; │ │2706 const title_input = try formField(form, "title"); │ │2707 - const tags_input = try formField(form, "tags"); │ │2707 + const labels_input = try formField(form, "labels"); │ │2708 const description_input = try formField(form, "description");│ │2709 │ │2710 const title = try title_input.text(allocator); │ ╰───────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2711 defer allocator.free(title); │ │2712 - const tags = try tags_input.text(allocator); │ │2713 - defer allocator.free(tags); │ │2712 + const labels = try labels_input.text(allocator); │ │2713 + defer allocator.free(labels); │ │2714 const description = try description_input.text(allocator); │ │2715 defer allocator.free(description); │ │2716 const target_branch = if (comptime supports_drafts) try (try formField(form, "target_branch")).text(allocator) else "";│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2717 defer if (comptime supports_drafts) allocator.free(target_branch); │ │2718 │ │2719 - if (!Event.fieldsValid(title, tags)) { │ │2720 - if (!evt.titleValid(title)) try self.rememberThreadFeedback(.required_title, title, tags, description, target_branch); │ │2719 + if (!Event.fieldsValid(title, labels)) { │ │2720 + if (!evt.titleValid(title)) try self.rememberThreadFeedback(.required_title, title, labels, description, target_branch);│ │2721 return; │ │2722 } │ │2723 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2728 .branch => try source.field().text(allocator), │ │2729 }; │ │2730 defer if (source_branch) |branch| allocator.free(branch); │ │2731 - const event_id_hex = Data.create(self.data, self.session, allocator, author, title, tags, description, target_branch, source_branch) catch |err| { │ │2731 + const event_id_hex = Data.create(self.data, self.session, allocator, author, title, labels, description, target_branch, source_branch) catch |err| {│ │2732 const failure = FeedbackFailure.fromError(err) orelse return err; │ │2733 - try self.rememberThreadFeedback(failure, title, tags, description, target_branch); │ │2733 + try self.rememberThreadFeedback(failure, title, labels, description, target_branch); │ │2734 return; │ │2735 }; │ │2736 title_input.clear(allocator); │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2737 - tags_input.clear(allocator); │ │2737 + labels_input.clear(allocator); │ │2738 description_input.clear(allocator); │ │2739 (try formField(form, "target_branch")).clear(allocator); │ │2740 const route = ui.RoutablePage.repoThreadCommentsRoute(kind, self.data.identity, &event_id_hex, 0) orelse return;│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────╮ │2753 .event = @unionInit(evt.Event, @tagName(kind), Event{│ │2754 .title = title, │ │2755 .description = description, │ │2756 - .tags = tags, │ │2756 + .labels = labels, │ │2757 }), │ │2758 }; │ │2759 │ ╰───────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2769 │ │2770 // wipe the form so a return visit starts fresh │ │2771 title_input.clear(allocator); │ │2772 - tags_input.clear(allocator); │ │2772 + labels_input.clear(allocator); │ │2773 description_input.clear(allocator); │ │2774 │ │2775 const route = listRoute(self.data.identity, @enumFromInt(0), "", &event_id_hex) orelse return;│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────╮ │2788 │ │2789 const form = self.threadForm() orelse return; │ │2790 const title_input = try formField(form, "title"); │ │2791 - const tags_input = try formField(form, "tags"); │ │2791 + const labels_input = try formField(form, "labels"); │ │2792 const description_input = try formField(form, "description");│ │2793 │ │2794 const title = try title_input.text(allocator); │ ╰───────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2795 defer allocator.free(title); │ │2796 - const tags = try tags_input.text(allocator); │ │2797 - defer allocator.free(tags); │ │2796 + const labels = try labels_input.text(allocator); │ │2797 + defer allocator.free(labels); │ │2798 const description = try description_input.text(allocator); │ │2799 defer allocator.free(description); │ │2800 const target_branch = if (comptime supports_drafts) try (try formField(form, "target_branch")).text(allocator) else "";│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯