╭ changed ─────────────╮ │src/ui/Repo/Events.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────╮ │189 const T = switch (event_kind) {│ │190 .user => evt.User, │ │191 .repo => evt.Repo, │ │192 + .fork => evt.Fork, │ │193 .issue => evt.Issue, │ │194 .discuss => evt.Discussion,│ │195 .comment => evt.Comment, │ ╰────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │226 }, │ │227 .repo => { │ │228 const record = (try readRecord(evt.Repo, hash_kind, arena, haxy_moment, id)) orelse return null; │ │229 + if (admin_moment) |moment| { │ │230 + if (try evt.User.readById(evt.AdminDB, evt.admin_repo_opts.hash, moment, arena, record.event.user_id)) |user|│ │231 + item.author = .{ .user_name = user.event.name }; │ │232 + } │ │233 + }, │ │234 + .fork => { │ │235 + const record = (try readRecord(evt.Fork, hash_kind, arena, haxy_moment, id)) orelse return null; │ │236 if (admin_moment) |moment| { │ │237 if (try evt.User.readById(evt.AdminDB, evt.admin_repo_opts.hash, moment, arena, record.event.user_id)) |user|│ │238 item.author = .{ .user_name = user.event.name }; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯