╭ changed ─────────────╮ │src/ui/Home/Header.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────╮ │61 // the tab matching the current page is focused initially; matching by│ │62 // link (rather than position) keeps this robust to tab changes. │ │63 const current_link: []const u8 = switch (session.data.current_page) { │ │64 - .home_repos => "a:/repos", │ │65 - .home_settings => "a:/settings", │ │66 - .home_auth => "a:/auth", │ │67 - else => "a:/users", │ │64 + .home_repos => "ai:/repos", │ │65 + .home_settings => "ai:/settings", │ │66 + .home_auth => "ai:/auth", │ │67 + else => "ai:/users", │ │68 }; │ │69 var selected_tab: ?usize = null; │ │70 │ ╰──────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │71 // tabs │ │72 for ( │ │73 [_][]const u8{ "users", "repos", "", "settings", "" }, │ │74 - [_][]const u8{ "a:/users", "a:/repos", "", "a:/settings", "a:/auth" }, │ │74 + [_][]const u8{ "ai:/users", "ai:/repos", "", "ai:/settings", "ai:/auth" },│ │75 ) |name, focus_name| { │ │76 // spacer │ │77 if (focus_name.len == 0) { │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────╮ │84 }); │ │85 } │ │86 // auth │ │87 - else if (std.mem.eql(u8, "a:/auth", focus_name)) { │ │87 + else if (std.mem.eql(u8, "ai:/auth", focus_name)) { │ │88 var auth_tab = try AuthTab.View.init(allocator, &data.auth_tab, session);│ │89 errdefer auth_tab.deinit(allocator); │ │90 try tab_ids.put(allocator, auth_tab.getFocus().id, {}); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯