You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7d10b7c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(app-shell): the approval decision panel draws a localized notice off an approval request page (objectui#12072)
Off a sys_approval_request record page (another object's record page, or
a page with no record context) the record:approval_decision renderer now
draws a short notice that it works only on approval request pages,
instead of null. The outside test is the existing objectName comparison,
kept as one test. On a request page whose row has not loaded it still
draws nothing; with its row it draws the panel unchanged.
One new language-pack key, approvalsInbox.decisionPanelOffRequestPage,
in all ten packs. The panel stays module-internal: no registration,
index import, known-types line or zod arm.
Claude-Session: https://claude.ai/code/session_01CGZy1BGCjdN5cXqL9cnvB8
Co-authored-by: Claude <noreply@anthropic.com>
The approval decision panel draws a short notice instead of nothing when it is placed anywhere other than an approval request's record page (objectui#12072).
7
+
8
+
-**`@object-ui/app-shell`.** Off a `sys_approval_request` record page, that is on another object's record page or on a page with no record at all, the decision panel (the renderer proposed as `record:approval_decision`, still module-internal) now draws a muted notice saying it works only on approval request pages. A misplaced block is therefore visible to its author instead of silently empty. On a request page whose record has not loaded yet it still draws nothing, and on a request page with its record it draws the panel as before. This replaces the clause of objectui#12045's entry that says the panel renders nothing outside a request page.
9
+
-**`@object-ui/i18n`.** One new language-pack key for that notice, `approvalsInbox.decisionPanelOffRequestPage`, in all ten packs.
10
+
11
+
**Clause-②: yes (widening).** The published language packs gain one key, `approvalsInbox.decisionPanelOffRequestPage`, so the exported `en` pack and the `TranslationKeys` type read off it gain that one member. No export or prop is added or removed, and no existing key changes.
0 commit comments