Repository navigation
电脑端点铃铛进整页收件箱:左边列表、右边直接处理,取代右侧面板(#36107 子卡) #36741
Copy link
Copy link
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpriority:p2Medium: important, M3
Description
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Child of epic #36107. Maintainer's ruling 2026-11-23 15:22Z, decision card 「整页收件箱取代右侧面板」.
维护者原话 / 裁定
- 2026-11-23 14:30Z「左侧栏的通知点击之后目前是右侧打开,是否建议全屏打开,并优化效果」
- 14:31Z「画一个设计图给我看。」→ 效果图 https://claude.ai/artifact/EewYeVx9CahdoZtFJoRgeG(两张:审批页签、通知页签)
- 15:22Z 选择卡选项 0「整页收件箱取代右侧面板」:点铃铛进整页,左边列表、右边内容,三个页签;电脑端不再有右侧面板,手机不动。
现状(主干 e343ab7,读代码,没在浏览器实测)
- 铃铛(外壳(二)去掉顶栏:侧栏常驻可收起;应用名、搜索、头像进侧栏;应用菜单只做换应用;提示条移到内容区顶部 #36112 之后在侧栏搜索框右边)打开的是
ui/packages/app-shell/src/layout/InboxPopover.tsx:Sheet 从右侧展开,宽 440,有通知、审批、动态三个页签,每个页签最多 20 条。待审批置顶,可以直接处理(通知:铃铛面板改成从右侧整高展开,待审批置顶并可直接处理 #34589,维护者 11-17 的要求)。 - 底部的「查看全部通知」「查看全部动态」跳到 sys_inbox_message、sys_activity 两个对象的普通列表;审批有自己的整页
/apps/<app>/system/approvals。 - 通知按 (topic, title) 合并(
inboxGrouping.ts);角标 = 未读话题数 + 待审批数。
要做的(照效果图)
- 电脑端(768 px 起)点铃铛进整页收件箱,地址是固定的(席位定),可以收藏,也能用浏览器后退。页面放在当前应用的外壳里,侧栏不变。
- 顶部:标题「收件箱」,通知 / 审批 / 动态三个页签带数字,右边是「只看未读」(审批页签里是「只看待我处理」)和「全部标为已读」。
- 左栏是列表:每条标出来自哪个应用、类型、时间、标题、摘要;未读有圆点;重复的通知照现在的规则合并。通知页签最上面一条「需要你处理:N 条待审批」,点了切到审批页签。
- 右栏是选中那一条的内容:
- 审批:关键字段、审批进度、申请人说明、意见框、通过 / 驳回(沿用现有的审批动作和禁用规则),还有「打开记录」。处理完自动选下一条。
- 通知:对应记录的摘要和触发这条通知的内容(比如评论里提到你,就能直接回复),还有「打开完整记录」「标为未读」。看过自动标已读。
- 动态:对应记录的摘要。
- J / K 上下切换。
- 电脑端去掉右侧面板。「查看全部」不再需要;sys_inbox_message、sys_activity 的后台列表不再是普通用户的入口。
- 正在编辑、有未保存内容时点铃铛,沿用现有的未保存提醒。
不做
- 手机端:底部的通知、审批不动。
- 通知和审批本身的数据与规则(合并规则、角标算法、审批动作)不改。
和别的卡的关系
- 电脑端登录直接进上次用的应用,平台首页下线(#36107 第二阶段) #36732(平台首页下线):铃铛是唯一的待办入口;两张卡都会改到铃铛,先后顺序由席位排。
- 专题:评论重做——从「动态」页签里拿出来做成独立的评论栏,记录页、抽屉、列表共用;补「已解决」、回复通知、列表里的评论入口(分三个阶段) #36062(评论专题):通知右栏里的「回复」用评论专题的组件,没有就先只放「打开完整记录」。
验收
- 1280 宽点铃铛进整页,三个页签和数字都对;后退能回到原来的页面。
- 审批页签:选一条,右边有通过 / 驳回,处理后自动跳到下一条,角标减一。
- 通知页签:选一条,右边显示对应记录;看过的变成已读;「只看未读」能过滤。
- 一次触发很多次的定时通知合并成一条。
- 电脑端不再出现右侧面板;手机宽度和改动前一样。
Order
After #36732 (PR #36738) merges. Both touch the bell's entry, so they run serially.
Grading (proposed): area:ux · Feature · epic child at the epic's grade ⇒ p2. Evidence: read (InboxPopover.tsx, inboxGrouping.ts on main e343ab7; the mock).
Dedupe: #34589 (the right panel with in-place approval) is what this replaces; no open card asks for a full-page inbox.
Metadata
Metadata
Assignees
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 23, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: lands in
area:ux·domain:ui·priority:p2· Feature ·pm:queue(child of #36107) · size M; type set to Feature (was none).Rationale: a full-page inbox replacing the side sheet is new interface, ruled by the maintainer at 15:22Z (「整页收件箱取代右侧面板」); maintainer-sourced UX Feature ⇒ p2. Order against #36732 (both touch the bell) is the claiming seat's call, as the card says.
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim: PM loop round 10 · 2026-11-23T21:21Z
Session:
session_01JQwxbZeHNsF3RWcWpj7rGjThread session: opened by the coordinator; the thread names itself in its first report
Account:
os-warrenBranch: the card thread's own branch, named at its first push; the seat records it then
Worktree:
objectstack-issue-36741Domain:
domain:uiSeat:
repo:objectstack#1Area: card thread
#36741(w9-36741)Dispatch: p2 area:ux, child of epic #36107 (dispatched first as an epic child); its 'after #36732' dependency is met (PR #36738 merged). The maintainer resumed area:ux cards at 2026-11-23T21:18:46Z (「area 的ux任务继续处理」), lifting the 2026-11-23T15:36Z freeze for area:ux; p1+p2, epic children first, under the 15-thread cap.
File surface: the console inbox:
ui/packages/app-shell/src/layout/InboxBell.tsx,InboxPopover.tsx,inboxGrouping.ts,hooks/useInboxBell.ts, a new full-page inbox view and its console route, i18n keys, tests, a changeset (stop on breach; the thread's first report states the real surface and the seat amends this line)Container & model:
S,mode:thread,model: opus — default tier; the thread's first report states the served tier,effort: highClause-②: no. A new route, contract, spec key or export is amended to yes before its code
Metadata-protocol: none
Responsibility: as the card body states
Thread-read: 7105938998
Premise: read from the card; the thread re-reads it on its base before code
Serial constraints cleared: PR #36738 (#36732) merged. Dispatched beside #36739 (same epic): both may touch
ui/packages/app-shell/src/layout/UnifiedSidebar.tsxand the console route table; each thread keeps its edit there to the mount it needs and runsscripts/pm/overlap-check.mjsbefore each push, the second to open rebasing on the firstobjectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim: branch record · 2026-11-23T21:44Z · same session as claim 7114362730, which it completes
Session:
session_01JQwxbZeHNsF3RWcWpj7rGjThread session:
session_01JQwxbYK1ERnCgLqmnVn91yAccount:
os-warrenBranch:
claude/project-thread-brh9saWorktree:
objectstack-issue-36741Domain:
domain:uiSeat:
repo:objectstack#1Area: card thread
#36741(w9-36741)File surface: under
ui/packages/app-shell/src:layout/InboxPopover.tsx, a newviews/inbox/, one route inconsole/AppContent.tsx,hooks/sharedUserFeeds.ts,urlParams.ts,index.tsif needed; i18n keys; a changeset.UnifiedSidebar.tsxis not on itContainer & model:
S,mode:thread, servedopus,effort: highClause-②: no
Metadata-protocol: none
Responsibility: as the card body states
Thread-read: none
Premise: holds on origin/main e0f0e9f (mark-unread has no server endpoint and is left out, noted)
Serial constraints cleared: no open PR names the card
test(console): pin the full-page inbox and its bell entry (#36741)
fix(console): title the inbox 收件箱 and put the approvals hint under th…
test(console): count the inbox page among AppContent's lazy views (#3…
fix(console): inbox page review follow-ups (#36741)
test(console): warm @objectstack/lint at import in the edited Home pin (
test(console): inherit the real modules in the inbox approvals hook p…
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Cleared · 2026-11-24T00:36Z: closed by the merge of #36788.