Repository navigation
feat(web): group sidebar bots into My Bots, Others, and Closura - #231
nullStack65 wants to merge 1 commit into
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
Independent full review (Claude family; author is Gemini) of head Verified in a detached worktree: {
"reviewed_base": "b1827643e0301a6da4178d2dcd14afca1990927f",
"reviewed_head": "526b6a58c6febc5329a5b95b842899bf6f4d49e2",
"reviewer": "Claude Sonnet 5.5, Claude Code",
"author_session": "t3-thread:6a6b870263499e5c3c4ceec5efb20d31b46884a74e0c45beedb1a4cddb9ac991",
"reviewer_session": "claude-sonnet-5-5-pr231-526b6a58-20261126T085446Z",
"fresh_context": true,
"review_kind": "full",
"round_id": "claude-sonnet-5-5-pr231-526b6a58-20261126T085446Z",
"intent": [
"Sidebar label Shared Bots is renamed to Closura in the UI and in all 10 i18n catalogs, with no duplicate keys and the Others key reused",
"Non-personal bots (audience shared, agent-only or missing, such as ARC Ops, PR Reviewer and Gardening) land in Closura even when founderInboxOwner is unset",
"My Bots lists only the viewer's own personal bots (all personal bots when no viewer is set); Others lists the other founder's personal bots",
"Jeff never sees Kameron's personal bots because isHiddenFromFounder is still applied first (#213 asymmetric visibility preserved)",
"Collapsed-state storage key stays group:Shared Bots, so existing saved collapse state for Closura survives the rename"
],
"prior_findings": [],
"findings": [
{
"id": "F1",
"severity": "nit",
"outcome": "open",
"file": ".agents/skills/test-t3-app/references/feature-map.md",
"line": 40,
"summary": "sidebar.bots-group still describes 'My Bots' and 'Shared Bots' groups; the browser test title at Sidebar.founder-inbox.browser.test.tsx:74 also still says Shared Bots. Update both to My Bots, Others and Closura."
},
{
"id": "F2",
"severity": "nit",
"outcome": "open",
"file": "apps/web/src/components/bots/botPresence.ts",
"line": 114,
"summary": "The '|| isSharedBotThread(thread)' check in partitionBotGroups is now redundant: audience 'shared' is already non-personal, so '!isPersonal' covers it. Dropping it would let isSharedBotThread be deleted."
}
]
} |
Summary
Addresses Kameron's mobile UX feedback on sidebar standing-bot grouping:
Changes
apps/web/src/components/bots/botPresence.ts(partitionBotGroups):{ mine, others, shared }instead of{ mine, shared }.shared("Closura"): receives all company/non-personal standing bots (audience === "shared","agent-only", or missing) — even whenviewer(founderInboxOwner) is unset, soARC Ops,PR Reviewer, andGardeningnever leak intoMy Botson fresh mobile sessions.mine("My Bots"): receives the viewer's own personal bots (audience === viewer, or personal bots whenvieweris unset).others("Others"): receives the other founder's personal bots (CoS (Jeff),Personal Financefor Kameron), while preserving#213'sisHiddenFromFounderasymmetric visibility so Jeff still never lists Kameron's private bots.apps/web/src/components/Sidebar.tsx:OthersSidebarBotsGroup(testId="sidebar-other-bots-group").Shared Botsdisplay label toClosura(keepinggroupId="Shared Bots"andtestId="sidebar-shared-bots-group"so persisted collapse state and existing selectors remain stable).apps/web/src/components/bots/botPresence.test.tsandapps/web/src/components/Sidebar.founder-inbox.browser.test.tsx.apps/web/src/i18n/translations/*.jsonviagt generate+vp fmtsoi18n:checkstays green across all 10 locales.Verification
pnpm exec vp fmt --checkon all edited TS/TSX/JSON files: passpnpm exec effect-tsgo tsrs -p apps/web/tsconfig.json --noEmit: 0 errors in touched filesi18n:checkrun on T3 fork ARC CI (host is Node 22).Deploy: fleet