Repository navigation
feat(console): the desktop bell opens a full-page inbox - #36788
Conversation
Claude-Session: https://claude.ai/code/session_01JQwxbYK1ERnCgLqmnVn91y Co-authored-by: Claude <noreply@anthropic.com>
- the page's pure rules: address, notification subject, selection moves; - the desktop bell navigates to the current app's inbox, keeps its badge and name, honours the unsaved-edits guard, and keeps the panel on phones; - the page: tabs and counts, auto-select and read-through-the-bell, coalesced rows, unread filter, J / K, approvals auto-next, activity; - the panel's existing pins now draw the header at phone width, where the panel still lives; a notification's full record opens at its canonical address; zh-Hant regenerated from zh-Hans. Claude-Session: https://claude.ai/code/session_01JQwxbYK1ERnCgLqmnVn91y Co-authored-by: Claude <noreply@anthropic.com>
…e title (#36741) The card names the page 「收件箱」; the zh-Hans label the bell's surface already used read 消息中心 (every other pack already said Inbox), so the label moves with the page. The "moves to the next once decided" hint squeezed the request title into three lines beside it; it is a line under the title now. Claude-Session: https://claude.ai/code/session_01JQwxbYK1ERnCgLqmnVn91y Co-authored-by: Claude <noreply@anthropic.com>
…6741) The full-page inbox is a new lazy route chunk, so the measured number of declared lazy view files is fifteen; the page is named in the list. Claude-Session: https://claude.ai/code/session_01JQwxbYK1ERnCgLqmnVn91y Co-authored-by: Claude <noreply@anthropic.com>
- «Mark all read» posts the read-all receipt itself when the only unread rows are older ones loaded on the page (the bell's write skips a window with nothing unread), so a reload agrees. - The approvals read asks the shared feed to re-read once per decision, not again on every later re-read the shared count causes. - The row shown on arrival is not marked read; a row the user opens (a click, J / K, an address naming it) is. A phone, read from the viewport rather than the hook's first guess, picks nothing by itself; the bell takes the same reading. - A linkless arrival toast and Home's notifications column open the inbox page instead of the sys_inbox_message list. - zh-Hans: the bell's accessible name says 收件箱 too. - The changeset no longer claims the pane shows comments (an embedded record leaves them to its full page) and declares Clause-② yes (widening) for the new pack keys. Claude-Session: https://claude.ai/code/session_01JQwxbYK1ERnCgLqmnVn91y Co-authored-by: Claude <noreply@anthropic.com>
#36741) The test-source alias gate judges test files a change edits: this pin reaches the lazily loaded lint package through HomePage, so its first load is paid at collection, as the sibling Home pins already do. Claude-Session: https://claude.ai/code/session_01JQwxbYK1ERnCgLqmnVn91y Co-authored-by: Claude <noreply@anthropic.com>
…in (#36741) check:vi-mock-inherit refuses a hand-listed @object-ui factory; the two mocks now spread the real module and override only the hook they stand in. Claude-Session: https://claude.ai/code/session_01JQwxbYK1ERnCgLqmnVn91y Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj Contract reviewServed-tier: Everything below comes from reading the diff and the tree at the head. Nothing was run. The PR body was read for context. The head matches the PR's ① Derived judgmentsThe widening declaration is right and complete.
The translations are reasonable. zh-Hans 只看未读 / 全部审批 / 去审批 › / 处理后自动跳到下一条 · J / K 上下切换 read naturally. zh-Hant is a faithful conversion (載入, 檢視, 開啟). en, de, fr, es, pt-BR, ja, ko, ar and ru are idiomatic or close to it. ko uses 결재 for approval, as that pack does elsewhere. The eight packs other than Chinese and English have not been reviewed by a native speaker. Read state.
Approvals. Routing from the bell and the other doors.
The text now matches the code. Both the PR body and the changeset say the right pane shows no comments and that a reply goes through «Open full record». That matches ② Semver level
③ Boundary flags
④ Design judgmentThis PR's surfaces are the
Findings:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj 维护者速读电脑上点铃铛不再弹出右侧小面板,而是打开整页「收件箱」:左边是消息列表,右边直接看对应记录和审批,可一键全部已读。手机上仍是原来的面板。右侧不显示评论,要回复请点「打开完整记录」。 席位核对 — ACCEPT (L1) · repo:objectstack#1 · head
|
Requested by Warren · project thread
Fixes #36741
Clause-②: yes (widening)
Metadata-protocol: none
维护者速读
What changes
InboxPopovergainsopensPageOnDesktop;InboxBellsets it. From 768 px up the bell is a plain button that pushes/apps/<app>/inbox(through the existing unsaved-edits leave guard), keeps the same badge and accessible name, and isaria-current="page"on the inbox. Below 768 px, and for any host that does not set the prop, the right-hand panel is unchanged.inboxandinbox/:inboxTab(approvals,activity) join the app route table as a lazy chunk; the selected row is?item=<id>, so every view is a bookmarkable address and Back works.views/inbox/). Header with the three tabs and their counts (the bell's own unread-topic count, the pending-approvals total, activity), «Unread only», «Mark all read» (which posts the read-all receipt itself when the only unread rows are older ones loaded on the page), «All approvals». Left list rows carry app, kind, time, title, summary, unread dot and the ×N of a coalesced topic. «Needs your action: N pending approvals» sits on top of Notifications and opens the Approvals tab.RecordDetailViewin itsembeddedform, so nothing re-implements a record or a decision: an approval row is the servedsys_approval_requestpage (its decision panel runs the request's own declared actions); a notification is the record its link names (or the request, for an approvals link), with every occurrence of a coalesced topic listed — an embedded record leaves its comments to its full page (右侧预览里去掉评论按钮和评论面板:评论只在记录整页里(Attio 的预览也没有评论) #36225), so a reply goes through «Open full record»; an activity row is the record it happened on. «Open full record» goes to the canonical record address.sys_approval_requestinvalidation bus; a decided request hands the selection to the next one.sys_inbox_message?view=minelist. A phone is read from the viewport, not fromuseIsMobile's first-framefalse, so it neither gets the page link nor has a row picked for it.inboxPageblock (14 keys) in all 11 packs (no plural keys), a widening of the published packs; the zh-Hanssidebar.inboxandinboxAriaLabelnow say 收件箱; zh-Hant regenerated from zh-Hans.Why
Warren's ruling on the epic #36107 phase 2 (2026-11-23): the full-page inbox replaces the right-hand panel on desktop, so an item can be handled where it is read instead of jumping out of a narrow panel.
Acceptance notes
/api/v1/notifications/readandread/allonly), and this card changes no data rules.sys_inbox_messagelist, since the card leaves the phone unchanged.Verification
pnpm --dir ui exec vitest runoverpackages/app-shell/src/views/inbox/,layout/__tests__/Inbox*,layout/__tests__/AppHeader*,layout/__tests__/ConsoleLayout*,layout/__tests__/UnifiedSidebar*,hooks/,layout/__tests__/PhoneAppNavBar*,console/__tests__/AppContent*,console/__tests__/appRoute*,console/__tests__/ConsoleShell*,console/home/andpackages/i18n/: all green. New pins:inboxPageModel-36741,InboxPage-36741,InboxPopover.fullPage-36741,useInboxPageApprovals-36741. Home's and the arrival toast's linkless pins now expect/apps/<app>/inbox;vite-declared-lazy-viewscounts the new lazy view.AppHeader.inboxVariant,AppHeader.deferredChromeReads-12980,sharedInboxFeed.twoSurfaces) now draw the header at phone width, where the panel still lives; their assertions are unchanged.pnpm --dir ui/packages/app-shell type-checkclean; eslint on the changed files: 0 errors.dispatch-gates --commandsrelevant to the diff (changeset, sdui manifest, published files, test-source alias, undeclared deps, type-check coverage, …) pass;overlap-checkclean againstmainand feat: Change Owner cascade, transferBehavior on a relationship, ticked in the dialog #36525.objectstack dev --seed-adminstack, signed in as the seeded admin, Chinese UI): the sidebar bell pushes/apps/com.example.showcase/inbox?item=…; tabs show 通知 4 / 审批 5; a twice-reassigned task is one row with ×2 and both occurrences in the pane, which embeds the task; J moves?item=; Back from the activity tab returns to the task list in one step. On the approvals tab, rejecting the selected request in the embedded decision panel (comment required by the request's own action) moved the selection to the next request, the list went 5 → 4 and the sidebar badge 8 → 7. Screenshots are on the project thread (kept out of git).sidebar.inbox,inboxAriaLabel) now says 收件箱, as the card names the page (it read 消息中心; every other pack already said Inbox); zh-Hant regenerated.Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses.main, one pull request.packages/spectouched: n/a.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01JQwxbYK1ERnCgLqmnVn91y