╭ changed ───────────────╮ │src/ui/widget/thread.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1267 if (supports_drafts and entryDraft(entry)) { │ │1268 if (entry.revision_ready) { │ │1269 const route = listRoute(self.data.identity, @enumFromInt(0), "", entry.id) orelse return error.RouteTooLong; │ │1270 - row.getFocus().kind = .{ .custom = try std.fmt.allocPrint(pa, "form:{s}/post", .{try route.toUrl(self.session.page_arena)}) }; │ │1271 - try addToolButton(allocator, row, "post", "submit"); │ │1270 + row.getFocus().kind = .{ .custom = try std.fmt.allocPrint(pa, "form:{s}/publish", .{try route.toUrl(self.session.page_arena)}) };│ │1271 + try addToolButton(allocator, row, "publish", "submit"); │ │1272 } │ │1273 if (self.session.data.user_id != null) { │ │1274 const route = ui.RoutablePage.repoThreadRemoveRoute(kind, self.data.identity, entry.id, "") orelse return error.RouteTooLong; │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────╮ │1668 const selected = self.detailed_index[index] orelse return;│ │1669 const entry = self.window(index).items[selected]; │ │1670 if (supports_drafts and entryDraft(entry)) │ │1671 - try self.postDraft(allocator, index) │ │1671 + try self.publishDraft(allocator, index) │ │1672 else │ │1673 try self.toggleStatus(allocator, index); │ │1674 } │ ╰────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │1675 │ │1676 - fn postDraft(self: *This, allocator: std.mem.Allocator, index: usize) !void { │ │1676 + fn publishDraft(self: *This, allocator: std.mem.Allocator, index: usize) !void {│ │1677 if (!supports_drafts or comptime wasm) return; │ │1678 const selected = self.detailed_index[index] orelse return; │ │1679 const entry = self.window(index).items[selected]; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1680 if (!entryDraft(entry) or !entry.revision_ready) return; │ │1681 - try self.data.postDraft(self.session, allocator, entry.id); │ │1681 + try self.data.publishDraft(self.session, allocator, entry.id); │ │1682 const route = listRoute(self.data.identity, @enumFromInt(0), "", entry.id) orelse return;│ │1683 try self.session.navigate(route); │ │1684 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯