Repository navigation
feat(console): org basics in one form, optional rows, 「Get started」 sidebar pill - #36791
Conversation
…t-started pill Claude-Session: https://claude.ai/code/session_01JQwxbY2FR4RafB2fexxeuA Co-authored-by: Claude <noreply@anthropic.com>
…idebar pill (#36739) The first-run checklist folds the organization's name, language and country, timezone and currency into one required form that saves once; mail, invitations and both AI rows become optional. An admin-only 「Get started n/m」 pill opens the list from every app's sidebar (after the app menu on a phone's app home); Setup's first page keeps the full list. Claude-Session: https://claude.ai/code/session_01JQwxbY2FR4RafB2fexxeuA Co-authored-by: Claude <noreply@anthropic.com>
…t export (#36739) Claude-Session: https://claude.ai/code/session_01JQwxbY2FR4RafB2fexxeuA Co-authored-by: Claude <noreply@anthropic.com>
…app home (#36739) Claude-Session: https://claude.ai/code/session_01JQwxbY2FR4RafB2fexxeuA Co-authored-by: Claude <noreply@anthropic.com>
…-3ypdpe # Conflicts: # ui/packages/i18n/src/__tests__/de-quote-pairing-3876.test.ts
|
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, card #36739 and the maintainer's 15:21Z ruling it quotes were read for context. The head matches the PR's ① Derived judgmentsThe widening declaration is right, and complete once the removed keys are counted in.
The slot API works for consumers.
② Semver level
③ Boundary flags
④ Design judgmentThis PR's surfaces are the Findings:
Implemented-by: VERDICT: PASS |
…ery unset setting (#36739) L1 review on #36791: - In the pill's popover the X closes it; 「Hide on this device」 is its own labelled action under the list (new `hideHere` key in all packs). - Save in the basics form requires a setting the server holds no value for and the browser offered none for, like the name, so it never reports 「saved」 while the row stays undone. - UnifiedSidebar's two slot lines are pinned by a test each. - The popover closes on navigation without an effect; the changeset names the removed pack keys and the icon-rail behaviour as it is. Claude-Session: https://claude.ai/code/session_01JQwxbY2FR4RafB2fexxeuA Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj Contract reviewServed-tier: Everything below comes from reading the delta and the tree at the head. Nothing was run. The head matches the PR's ① Derived judgmentsThe one new published key is well formed.
The changeset now lists the pack movement exactly. Added under ② Semver level
③ Boundary flags
④ Design judgmentNot required: the delta adds one pack key and doc text, and includes no published schema, governed rule text or narrowing. Previous findings
Findings:
Implemented-by: VERDICT: PASS |
L2 delta read on #36791: R2, the pill kept the page it was opened on, so Back to that page reopened the popover with no press. The record is now cleared while rendering any other page; a test follows a row's link and goes Back. R3: `hideHere` takes each pack's quote style. Claude-Session: https://claude.ai/code/session_01JQwxbY2FR4RafB2fexxeuA Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj Contract reviewServed-tier: Everything below comes from reading the delta and the tree at the head. Nothing was run. The head matches the PR's ① Derived judgmentsThe contract face is unchanged apart from quote style.
② Semver level
③ Boundary flags
④ Design judgmentNot required. The delta adds no published schema, governed rule text or narrowing. Previous findings
Findings:
Implemented-by: VERDICT: PASS |
…-3ypdpe # Conflicts: # ui/packages/i18n/src/__tests__/de-quote-pairing-3876.test.ts
Claude-Session: https://claude.ai/code/session_01JQwxbY2FR4RafB2fexxeuA Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj 维护者速读管理员的初始设置清单只剩一项必填:「组织基本信息」,一张表单一次保存。其余几项改为可选。每个应用的侧栏底部有「开始使用」小胶囊,只有管理员看得到;手机上它放在应用首页菜单的最后。你 19:39Z 同意的三条方案都按原样保留。 席位核对 — ACCEPT (L1, delta) · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj Contract reviewServed-tier: The head matches the PR's ① Net diff unchanged in substance
② The merge resolution
③ Interaction with main
④ Declarations
⑤ CI and landing
Previous findings
Findings:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj 维护者速读管理员的初始设置清单只剩一项必填:「组织基本信息」,一张表单一次保存。其余几项改为可选。每个应用的侧栏底部有「开始使用」小胶囊,只有管理员看得到;手机上它放在应用首页菜单的最后。你 19:39Z 同意的三条方案都按原样保留。 Hand-off: same-head L2 PASS (this thread's latest Contract review) · ACCEPT 7143364122 · head |
Requested by Warren · project thread
Fixes #36739
Clause-②: yes (widening)
Metadata-protocol: none
维护者速读
What changes
Following the maintainer's ruling on #36739 (one form, other rows optional, sidebar pill, no wizard):
organization_basicsrow. Its form holds the organization's name and the fourlocalizationsettings; values the server does not hold are suggested from the browser; a setting with neither a value nor a suggestion is required like the name; nothing is written before Save. Save renames the organization only when the name changed (updateOrganization), then writes the changed settings in onesaveSettingsNamespace('localization', …)call. A refused rename or a refused/locked setting shows on its field, as before. The row is done when the organization has a real name (not the seededDefault Organization) and all four settings are set — read from the server, never from the click.mail,invite,ai_providerandconnect_assistantcarry an 「Optional」 badge and still tick themselves. On the hosted profilefirst_appstays required andfirst_recordstays optional.checklistCompletionnow counts every drawn row indone/total, butcompleteis judged on required rows only; rows are ordered required first.FirstRunChecklistProvider(firstRunChecklistState.tsx), mounted once in the console's permissions scope, so Home's card, the Setup first page and the pill read one answer. Answers are keyed by org, user and permissions.FirstRunChecklistPillrenders for the administrator only (the provider answersnullfor anyone else), in every app: from 768 px up in the sidebar footer above the account button (on the folded icon rail only the icon stays; the count is in its accessible name and tooltip); on a phone after the app's menu on the app home. A press opens the checklist in place in a popover; a row's link closes it as its page loads, and going Back to the page it was opened on does not reopen it. The popover's X only closes it; 「Hide on this device」 under the list is the separate action that hides the pill and Home's card. It disappears once the required rows are done, or when the administrator hides it on this device.@object-ui/app-shellexports a product-neutralSidebarFooterSlotProvider('sidebar' | 'phoneAppHome');UnifiedSidebardraws the host's element in those two places (2 lines). The shell names no checklist (ADR-0060). This is theClause-②: yes (widening).placement="setupPage") always shows the full list with done rows, has no dismiss, and folds to one line with 「Show list」 once complete.console.firstRunChecklist.organizationBasics.*,pill.*andshowList; zh-Hant regenerated from zh-Hans.Tests
firstRunChecklistLogic.test.ts:organizationBasics(fields included only when declared, offers only for unset keys, done = named + all set); completion — optional rows never hold the list open, progress counts all rows, exactly four rows are optional.firstRunChecklistProfile.test.ts: hosted profile withorganization_basics+first_apprequired.FirstRunChecklist.test.tsx(84 tests): admin-only reads; one required row on a fresh org (0 of 3 done); the basics form — prefill, one Save writes the name and the four keys, name required, a setting with no value and no browser suggestion required too (anes-419browser: no write, no 「saved」, the form stays open), only changed values sent, Cancel, refused settings write, refused rename, zh/en; Setup page full list; the pill — admin sees0/3and opens the popover, a member sees nothing, it disappears once basics are done, save from the popover, the popover's X only closes it (no hidden record), a row's link closes it and Back does not reopen it, 「Hide on this device」 hides it, zh label.UnifiedSidebar.footerSlot-36739.test.tsx: the slot draws in the sidebar footer at 1440 px ('sidebar') and after the app menu on the phone app home at 375 px ('phoneAppHome'); dropping either line inUnifiedSidebarfails its test; no provider draws nothing.de-quote-pairing-3876count 134 → 132 after the merge of main (the removedorganizationName.todoandtimezone.todolines are the only two de spans that go),untranslated-identity-4376allowspill.count({{done}}/{{total}}, a pure format string).Acceptance notes
PhoneAppHome), the page that lists what the sidebar lists. On the phone app home the page's own end padding does not scroll out from under the bottom bar (theh-fullroute slot is overflowed by the page), so the pill's phone slot keeps the bar's height free below itself. The same defect hides ~33 px of the last menu row on a long phone app home without the pill; that pre-existing layout issue is reported to the seat, not fixed here.localizationgoes on to read the namespaces, members and invitations. A session with no permissions spends nothing.overlap-check— merges cleanly withorigin/main. The branch has merged main twice;de-quote-pairing-3876now reads main's 134 minus this PR's two spans = 132.Verification
tsc --noEmitfor the console: clean.packages/i18n+ app-shellUnifiedSidebar*/ConsoleLayout*/console/__tests__+ consolepages,componentsandApp.*boot tests — about 6,600 tests, all green.dispatch-gates.mjs --commandsgates: all 41 named commands exit 0 (includingpnpm --dir ui exec vitest run scripts/; 16 of them are checker--self-tests, which judge the checker, not this diff).objectstack dev --seed-admin --fresh) + console dev server, zh-CN, frames attached in the project thread (/mnt/project-files/issue-36739/):🤖 Generated with Claude Code
https://claude.ai/code/session_01JQwxbY2FR4RafB2fexxeuA