╭ changed ──────╮ │src/ui/Home.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────╮ │12 │ │13 pub const About = @import("./Home/About.zig"); │ │14 pub const Users = @import("./Home/Users.zig"); │ │15 -pub const Repos = @import("./Home/Repos.zig"); │ │15 pub const Header = @import("./Home/Header.zig");│ │16 pub const Settings = @import("./Settings.zig"); │ │17 pub const Auth = @import("./Auth.zig"); │ ╰────────────────────────────────────────────────────╯ ╭───────────────────────╮ │20 header: Header, │ │21 about: About, │ │22 users: Users, │ │24 -repos: Repos, │ │23 settings: Settings,│ │24 auth: Auth, │ │25 quit: Quit, │ ╰───────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────╮ │30 arena: *std.heap.ArenaAllocator, │ │31 session: *ui.Session, │ │32 haxy_moment: evt.AdminDB.HashMap(.read_only), │ │35 - // pagination window start for each list tab; the inactive tab gets 0.│ │33 + // pagination window start for the users tab │ │34 users_start: usize, │ │37 - repos_start: usize, │ │35 ) !Self { │ │36 const about = try About.init(arena, session); │ │37 return .{ │ ╰──────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────╮ │38 .header = try Header.init(arena, about.title), │ │39 .about = about, │ │40 .users = try Users.init(arena, haxy_moment, users_start), │ │44 - .repos = try Repos.init(arena, haxy_moment, session.userId(), repos_start),│ │41 .settings = Settings.init(), │ │42 .auth = Auth.init(), │ │43 .quit = Quit.init(), │ ╰───────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │70 var about_view = try About.View.init(allocator, &data.about, session); │ │71 errdefer about_view.deinit(allocator); │ │72 try stack.children.put(allocator, about_view.getFocus().id, .{ .home_about = about_view });│ │77 - } │ │78 - │ │79 - { │ │80 - var repos_view = try Repos.View.init(allocator, &data.repos, !session.is_terminal); │ │81 - errdefer repos_view.deinit(allocator); │ │82 - try stack.children.put(allocator, repos_view.getFocus().id, .{ .home_repos = repos_view });│ │73 } │ │74 │ │75 { │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯