╭ changed ──────╮ │src/ui/Fork.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────╮ │24 commits: Commits, │ │25 patch: Patches, │ │26 diff: Diff, │ │27 +user_notifications: ui.UserNotifications,│ │28 quit: Quit, │ │29 │ │30 const Self = @This(); │ ╰─────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │172 .path = diff_path, │ │173 .window = try Diff.render(.xit, repo_opts, io, arena.child_allocator, aa, fork_repo, if (diff_base) |*base| base else null, diff_head, diff_start, diff_path),│ │174 }, │ │175 + .user_notifications = try ui.UserNotifications.init(arena, session, route.userTab()), │ │176 .quit = Quit.init(), │ │177 }; │ │178 }, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │228 try stack.children.put(allocator, new_user.getFocus().id, .{ .new_user = new_user }); │ │229 } │ │230 if (session.data.host_kind == .server) { │ │229 - var user_view = try ui.UserSettings.initView(allocator, session); │ │231 + const route = ui.RoutablePage.forkUserRoute(identity, data.header.id) orelse return error.RouteTooLong;│ │232 + var user_view = try ui.UserSettings.initView(allocator, session, &data.user_notifications, route); │ │233 errdefer user_view.deinit(allocator); │ │234 try stack.children.put(allocator, user_view.getFocus().id, user_view); │ │235 } │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────╮ │278 .repo_patch_detail => |*view| if (view.focusFirst(root_focus)) return, │ │279 .repo_files => |*view| if (view.focusHeader(root_focus)) return, │ │280 .repo_commits => |*view| if (view.focusHeader(root_focus)) return, │ │281 + .user_notifications => |*view| if (view.focusHeader(root_focus)) return,│ │282 else => {}, │ │283 }; │ │284 next_index = stack_index; │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────╯