╭──────────╮ │← previous│ ╰──────────╯ ╭ removed ──────────────╮ │src/ui/CopyableText.zig│ ╰───────────────────────╯ ╭ changed ─────────────╮ │src/ui/Home/Header.zig│ ╰──────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────╮ │105 │ │106 // spacer pushes settings + auth to the right │ │107 { │ │108 - var spacer = try ui.Spacer.init(allocator); │ │108 + var spacer = try ui.widget.Spacer.init(allocator); │ │109 errdefer spacer.deinit(allocator); │ │110 try box.children.put(allocator, spacer.getFocus().id, .{│ │111 .widget = .{ .spacer = spacer }, │ ╰─────────────────────────────────────────────────────────────────────────╯ ╭ changed ────────────╮ │src/ui/Home/Repos.zig│ ╰─────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │71 } │ │72 │ │73 pub const View = struct { │ │74 - list: ui.FlowBox.Scroll, │ │74 + list: ui.widget.FlowBox.Scroll, │ │75 data: *const Self, │ │76 │ │77 pub fn init(allocator: std.mem.Allocator, data: *const Self, web_native: bool) !View {│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────╮ │78 var self = blk: { │ │79 - var list = try ui.FlowBox.Scroll.init(allocator, .{}, web_native); │ │79 + var list = try ui.widget.FlowBox.Scroll.init(allocator, .{}, web_native);│ │80 errdefer list.deinit(allocator); │ │81 │ │82 break :blk View{ │ ╰─────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │93 // a leading "previous" row off the first window, one row per repo, then │ │94 // a trailing "next" row when more remain. each window row navigates to the │ │95 // adjacent window (full reload on web, Nav rebuild on the TUI). │ │96 - var items: std.ArrayList(ui.FlowBox.Item) = .empty; │ │96 + var items: std.ArrayList(ui.widget.FlowBox.Item) = .empty; │ │97 if (data.start > 0) │ │98 try items.append(aa, .{ .text = "← previous", .link = try std.fmt.allocPrint(aa, "a:/repos/start:{d}", .{data.start -| page_size}) });│ │99 for (data.repos, 0..) |repo, i| { │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ────────────╮ │src/ui/Home/Users.zig│ ╰─────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │65 } │ │66 │ │67 pub const View = struct { │ │68 - list: ui.FlowBox.Scroll, │ │68 + list: ui.widget.FlowBox.Scroll, │ │69 data: *const Self, │ │70 │ │71 pub fn init(allocator: std.mem.Allocator, data: *const Self, web_native: bool) !View {│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │72 var self = blk: { │ │73 - var list = try ui.FlowBox.Scroll.init(allocator, .{ .cell_height = 1 }, web_native); │ │73 + var list = try ui.widget.FlowBox.Scroll.init(allocator, .{ .cell_height = 1 }, web_native);│ │74 errdefer list.deinit(allocator); │ │75 │ │76 break :blk View{ │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │87 // a leading "previous" row off the first window, one row per user, then │ │88 // a trailing "next" row when more remain. each window row navigates to the │ │89 // adjacent window (full reload on web, Nav rebuild on the TUI). │ │90 - var items: std.ArrayList(ui.FlowBox.Item) = .empty; │ │90 + var items: std.ArrayList(ui.widget.FlowBox.Item) = .empty; │ │91 if (data.start > 0) │ │92 try items.append(aa, .{ .text = "← previous", .link = try std.fmt.allocPrint(aa, "a:/users/start:{d}", .{data.start -| page_size}) });│ │93 for (data.users) |user| │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────╮ │src/ui/Quit.zig│ ╰───────────────╯ ╭─────────────────────────────────╮ │22 } │ │23 │ │24 pub const View = struct { │ │25 - center: ui.Center, │ │25 + center: ui.widget.Center,│ │26 session: *ui.Session, │ │27 button_id: usize, │ │28 │ ╰─────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────╮ │56 box.getFocus().child_id = button_id; │ │57 │ │58 return .{ │ │59 - .center = try ui.Center.init(allocator, .{ .box = box }), │ │59 + .center = try ui.widget.Center.init(allocator, .{ .box = box }),│ │60 .session = session, │ │61 .button_id = button_id, │ │62 }; │ ╰────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯