╭ changed ─────────────╮ │src/ui/Repo/Header.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │296 }); │ │297 } │ │298 │ │299 + if (page.settings != null) { │ │300 + const route = ui.RoutablePage.repoRepoRoute(identity) orelse return error.RouteTooLong; │ │301 + var text_box = try wgt.TextBox.init(allocator, ui.Repo.Settings.tab_label, .{ .border_style = .single, .round_corners = true, .wrap_kind = .none });│ │302 + errdefer text_box.deinit(allocator); │ │303 + text_box.getFocus().mode = .all; │ │304 + text_box.getFocus().kind = .{ .custom = try ui.inPageTabLink(session, route, current_tag == .repo_repo) }; │ │305 + try tab_ids.put(allocator, text_box.getFocus().id, {}); │ │306 + if (current_tag == .repo_repo) selected_tab = text_box.getFocus().id; │ │307 + try tabs_box.children.put(allocator, text_box.getFocus().id, .{ │ │308 + .widget = .{ .text_box = text_box }, │ │309 + .rect = null, │ │310 + .min_size = .{ .width = 3, .height = null }, │ │311 + }); │ │312 + } │ │313 + │ │314 // spacer pushes new repo, new user, and user to the right │ │315 { │ │316 var spacer = try ui.widget.Spacer.init(allocator); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯