╭ changed ───────────────╮ │src/ui/widget/thread.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │920 try inner_box.children.put(allocator, title.getFocus().id, .{ .widget = .{ .text_box = title }, .rect = null, .min_size = null }); │ │921 self.title_id = title.getFocus().id; │ │922 │ │923 - var author = try ui.authorBox(allocator, self.session.page_arena, entry.author); │ │924 - errdefer author.deinit(allocator); │ │925 - try inner_box.children.put(allocator, author.getFocus().id, .{ .widget = .{ .text_box = author }, .rect = null, .min_size = null }); │ │926 - self.author_id = author.getFocus().id; │ │923 + { │ │924 + var row = try wgt.Box(Widget).init(allocator, .{ .border = null, .direction = .horiz }); │ │925 + errdefer row.deinit(allocator); │ │926 + var author = try ui.authorBox(allocator, self.session.page_arena, entry.author); │ │927 + errdefer author.deinit(allocator); │ │928 + try row.children.put(allocator, author.getFocus().id, .{ .widget = .{ .text_box = author }, .rect = null, .min_size = null }); │ │929 + const timestamp = try ui.Repo.Undo.formatTimestamp(self.session.page_arena.allocator(), std.math.cast(i64, entry.record.created_timestamp) orelse -1);│ │930 + var time = try wgt.TextBox.init(allocator, timestamp, .{ .border = .single, .round_corners = true, .wrap_kind = .none }); │ │931 + errdefer time.deinit(allocator); │ │932 + time.getFocus().mode = .all; │ │933 + try row.children.put(allocator, time.getFocus().id, .{ .widget = .{ .text_box = time }, .rect = null, .min_size = null }); │ │934 + row.getFocus().child_id = author.getFocus().id; │ │935 + self.author_id = row.getFocus().id; │ │936 + try inner_box.children.put(allocator, row.getFocus().id, .{ .widget = .{ .box = row }, .rect = null, .min_size = null }); │ │937 + } │ │938 │ │939 var items: std.ArrayList(WordFlow.Item) = .empty; │ │940 defer items.deinit(allocator); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────╮ │1073 } │ │1074 if (child_id == self.author_id) { │ │1075 switch (key) { │ │1065 - .arrow_left => self.exit = .list, │ │1076 + .arrow_left => if (!self.moveHorizontal(root_focus, false)) {│ │1077 + self.exit = .list; │ │1078 + }, │ │1079 + .arrow_right => _ = self.moveHorizontal(root_focus, true), │ │1080 .arrow_up => _ = self.moveVertical(root_focus, false), │ │1081 .arrow_down => _ = self.moveVertical(root_focus, true), │ │1082 else => {}, │ ╰───────────────────────────────────────────────────────────────────────────────────────╯