Skip to content

Commit 5bdea0f

Browse files
committed
test(console): ledger Unshare's deleteView in the write-refusal census (#36371)
The census counts every view write under app-shell views; Unshare's delete surfaces its refusal through toast.error with formatMetadataError and takes the My views copy back, pinned by objectViewViewSharing.test.tsx. Claude-Session: https://claude.ai/code/session_01QsR2jTPMb2q2wRssyREqhQ Co-authored-by: Claude <noreply@anthropic.com>
1 parent a0dfe1a commit 5bdea0f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎ui/packages/app-shell/src/views/writeRefusalCensus-11583.test.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ const LEDGER: Row[] = [
107107
kind: 'surfaces', pin: 'ObjectView.viewWriteRefusal-11583.test.tsx',
108108
reason: 'Delete: the translated `objectViewActions.deleteFailed` title, with the door\'s message as the description (objectui#12398).',
109109
},
110+
{
111+
file: 'objectViewViewSharing.ts', symbol: 'unshare', callee: 'deleteView', calls: 1,
112+
kind: 'surfaces', pin: 'objectViewViewSharing.test.tsx',
113+
reason: 'Unshare (objectstack#36371): a refused delete, or one answered `deleted: false`, takes the My views copy back and toasts the translated `view.switcher.unshareFailed` title with the door\'s message.',
114+
},
110115
{
111116
file: 'objectViewViewCrud.tsx', symbol: 'handlePinView', callee: 'updateView', calls: 1,
112117
kind: 'surfaces', pin: 'ObjectView.viewWriteRefusal-11583.test.tsx',

0 commit comments

Comments
 (0)