╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭───────────────────────────────────────────────────────────────────────────────────╮ │568 │ │569 // true when `a` and `b` are the same user paginated to a different repos │ │570 // window. switching between a user's tabs is in-page (header-handled), so│ │540 - // only a changed `after` on the repos list navigates. │ │571 + // only a changed `start` on the repos list navigates. │ │572 pub fn userPageChanged(a: RoutablePage, b: RoutablePage) bool { │ │573 return switch (a) { │ │574 .user_repos => |aa| switch (b) { │ ╰───────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │544 - .user_repos => |bb| std.mem.eql(u8, aa.name.slice(), bb.name.slice()) and aa.after != bb.after,│ │575 + .user_repos => |bb| std.mem.eql(u8, aa.name.slice(), bb.name.slice()) and aa.start != bb.start,│ │576 else => false, │ │577 }, │ │578 else => false, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │944 }; │ │945 const a_prefix = "a:"; │ │946 if (!std.mem.startsWith(u8, custom, a_prefix)) return null; │ │916 - const url = custom[a_prefix.len..]; │ │917 - const q = std.mem.indexOfScalar(u8, url, '?'); │ │918 - const path = if (q) |i| url[0..i] else url; │ │919 - const query = if (q) |i| url[i + 1 ..] else null; │ │947 + const path = custom[a_prefix.len..]; │ │948 // local sessions build (and parse) links with the repo identity elided │ │921 - const route = (if (data.is_local) RoutablePage.fromUrlLocal(path, query) else RoutablePage.fromUrl(path, query)) orelse return null;│ │949 + const route = (if (data.is_local) RoutablePage.fromUrlLocal(path) else RoutablePage.fromUrl(path)) orelse return null; │ │950 // a link to a different parent page always navigates; within a page, a │ │951 // files-directory / commits-page / list-window change navigates while tab │ │952 // links stay in-page (header-handled). │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯