Skip to content

Commit cb31937

Browse files
committed
test(console): the write census drops the attachments panel's create — the upload's own completion attaches it
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibvynRbCtMndW8EHNGc
1 parent ad3ea1c commit cb31937

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎ui/packages/plugin-form/src/affordanceGrantMap-12082.test.tsx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,8 +680,10 @@ const WRITE_SITES: Record<string, WriteSite> = {
680680
outOfFamily("the language switcher changes the session's language locally and persists the caller's OWN sys_user.locale best-effort, a refusal surfacing as a toast"),
681681
'packages/app-shell/src/hooks/useUserLocale.ts :: saveSignInLanguagePick :: update':
682682
outOfFamily("the sign-in page saves the language picked on it as the caller's OWN sys_user.locale, only while that column is unset; a refusal leaves the pick on this device and does not hold the sign-in (no CRUD visibility door)"),
683-
'packages/app-shell/src/views/RecordAttachmentsPanel.tsx :: RecordAttachmentsPanel > handleFiles :: create':
684-
mapped(['attachmentUpload'], 'packages/app-shell/src/views/RecordAttachmentsPanel.tsx'),
683+
// The attachments panel's upload has no data-source write site: the upload's
684+
// own completion attaches it (the upload adapter's `attachTo`), so the
685+
// `attachmentUpload` row is read where the upload is offered and no
686+
// `create` is called. Its delete is still a data-source write.
685687
'packages/app-shell/src/views/RecordAttachmentsPanel.tsx :: RecordAttachmentsPanel > handleDelete :: delete':
686688
mapped(['attachmentDelete'], 'packages/app-shell/src/views/RecordAttachmentsPanel.tsx'),
687689
'packages/app-shell/src/views/RecordDetailView.tsx :: RecordDetailView > apiHandler :: update':

0 commit comments

Comments
 (0)