╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ─────────────╮ │src/ui/Repo/Header.zig│ ╰──────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────╮ │235 try box.children.put(allocator, auth_tab.getFocus().id, .{ │ │236 .widget = .{ .auth_tab = auth_tab }, │ │237 .rect = null, │ │238 - .min_size = .{ .width = AuthTab.min_width, .height = null }, │ │238 + .min_size = .{ .width = auth_tab.minWidth(), .height = null },│ │239 }); │ │240 } │ │241 │ ╰───────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ─────────────╮ │src/ui/Repo/Issues.zig│ ╰──────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────╮ │1175 if (comptime wasm) return; │ │1176 const io = self.session.io orelse return; │ │1177 const src = self.data.repo_source orelse return; │ │1178 + const author_email = (try self.session.eventAuthorEmail()) orelse return; │ │1179 │ │1180 const form = self.issueForm(); │ │1181 const title_input = &form.children.values()[title_field_index].widget.text_input;│ ╰───────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────╮ │1198 const event = evt.EventWithId{ │ │1199 .id = event_id_hex, │ │1200 .timestamp = @intCast(std.Io.Timestamp.now(io, .real).toSeconds()),│ │1200 - .author_email = try self.session.userEmail(), │ │1201 + .author_email = author_email, │ │1202 .event = .{ .issue = .{ │ │1203 .title = title, │ │1204 .description = description, │ ╰─────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────╮ │1233 const io = self.session.io orelse return; │ │1234 const src = self.data.repo_source orelse return; │ │1235 const entry = self.data.selectedIssue() orelse return; │ │1236 + const author_email = (try self.session.eventAuthorEmail()) orelse return; │ │1237 │ │1238 const form = self.issueForm(); │ │1239 const title_input = &form.children.values()[title_field_index].widget.text_input;│ ╰───────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────╮ │1261 .title = title, │ │1262 .tags = tags, │ │1263 .description = description, │ │1262 - } }, try self.session.userEmail()),│ │1264 + } }, author_email), │ │1265 } │ │1266 }, │ │1267 } │ ╰─────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────╮ │1279 const src = self.data.repo_source orelse return; │ │1280 const sel = self.detailed_index[index] orelse return; │ │1281 const entry = self.window(index).issues[sel]; │ │1282 + const author_email = (try self.session.eventAuthorEmail()) orelse return;│ │1283 │ │1284 const status: evt.Issue.Status = switch (entry.issue.event.status) { │ │1285 .open => .closed, │ ╰───────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1294 var any_repo = try rp.AnyRepo(repo_kind, .{}).open(io, allocator, .{ .path = src.path }); │ │1295 defer any_repo.deinit(io, allocator); │ │1296 switch (any_repo) { │ │1294 - inline else => |*repo| try evt.Issue.update(repo_kind, repo.self_repo_opts, io, allocator, repo, &id_bytes, .{ .status = status }, try self.session.userEmail()),│ │1297 + inline else => |*repo| try evt.Issue.update(repo_kind, repo.self_repo_opts, io, allocator, repo, &id_bytes, .{ .status = status }, author_email), │ │1298 } │ │1299 }, │ │1300 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────╮ │src/ui/User.zig│ ╰───────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │114 │ │115 // build the header first so we can grab the repos-tab id for the auth │ │116 // view (it focuses there after login). │ │117 - var repos_tab_id: usize = undefined; │ │117 { │ │118 var header_view = try Header.View.init(allocator, &data.header, session);│ │119 errdefer header_view.deinit(allocator); │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │121 - repos_tab_id = header_view.tab_ids.keys()[0]; │ │120 try box.children.put(allocator, header_view.getFocus().id, .{ .widget = .{ .user_header = header_view }, .rect = null, .min_size = null });│ │121 } │ │122 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │160 } │ │161 │ │162 { │ │165 - var auth_view = try Auth.View.init(allocator, &data.auth, session, repos_tab_id); │ │163 + var auth_view = try Auth.View.init(allocator, &data.auth, session); │ │164 errdefer auth_view.deinit(allocator); │ │165 try stack.children.put(allocator, auth_view.getFocus().id, .{ .home_auth = auth_view });│ │166 } │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯