╭ changed ──────╮ │src/ui/Home.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │78 try stack.children.put(allocator, users_view.getFocus().id, .{ .home_users = users_view }); │ │79 } │ │80 │ │81 - // the header has no settings tab without a login, so keep the │ │82 - // stack's children 1:1 with the tabs by skipping the view too │ │81 + // the header has no new repo or settings tab without a login, so keep the │ │82 + // stack's children 1:1 with the tabs by skipping those views too │ │83 + if (session.data.user_id != null) { │ │84 + var new_repo_view = try ui.NewRepo.View.init(allocator, session, .home_new_repo); │ │85 + errdefer new_repo_view.deinit(allocator); │ │86 + try stack.children.put(allocator, new_repo_view.getFocus().id, .{ .new_repo = new_repo_view });│ │87 + } │ │88 + │ │89 if (session.data.user_id != null) { │ │90 var settings_view = try Settings.View.init(allocator, session); │ │91 errdefer settings_view.deinit(allocator); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯