╭ changed ───────────────╮ │src/ui/widget/thread.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │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 "";│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2801 defer if (comptime supports_drafts) allocator.free(target_branch); │ │2802 │ │2803 - if (!Event.fieldsValid(title, tags)) { │ │2804 - if (!evt.titleValid(title)) try self.rememberThreadFeedback(.required_title, title, tags, description, target_branch); │ │2803 + if (!Event.fieldsValid(title, labels)) { │ │2804 + if (!evt.titleValid(title)) try self.rememberThreadFeedback(.required_title, title, labels, description, target_branch);│ │2805 return; │ │2806 } │ │2807 const src = self.data.repo_source orelse return; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2808 │ │2809 if (comptime supports_drafts) { │ │2810 if (entryDraft(entry.*)) { │ │2811 - self.data.editDraft(self.session, allocator, author, entry.id, title, tags, description, target_branch) catch |err| { │ │2811 + self.data.editDraft(self.session, allocator, author, entry.id, title, labels, description, target_branch) catch |err| {│ │2812 const failure = FeedbackFailure.fromError(err) orelse return err; │ │2813 - try self.rememberThreadFeedback(failure, title, tags, description, target_branch); │ │2813 + try self.rememberThreadFeedback(failure, title, labels, description, target_branch); │ │2814 return; │ │2815 }; │ │2816 const route = listRoute(self.data.identity, entryStatus(entry.*), "", entry.id) orelse return; │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2830 inline else => |*repo| if (supports_drafts) { │ │2831 Event.update(self.session.data.host_kind, repo_kind, repo.self_repo_opts, io, allocator, repo, &id_bytes, .{ .fields = .{│ │2832 .title = title, │ │2833 - .tags = tags, │ │2833 + .labels = labels, │ │2834 .description = description, │ │2835 .target_branch = target_branch, │ │2836 } }, author) catch |err| { │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2837 const failure = FeedbackFailure.fromError(err) orelse return err; │ │2838 - try self.rememberThreadFeedback(failure, title, tags, description, target_branch); │ │2838 + try self.rememberThreadFeedback(failure, title, labels, description, target_branch);│ │2839 return; │ │2840 }; │ │2841 } else if (has_status) │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2842 try Event.update(self.session.data.host_kind, repo_kind, repo.self_repo_opts, io, allocator, repo, &id_bytes, .{ .fields = .{│ │2843 .title = title, │ │2844 - .tags = tags, │ │2844 + .labels = labels, │ │2845 .description = description, │ │2846 } }, author) │ │2847 else │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯