feat(web): Outliner Data menu selects a collection's objects
Wire the desktop OUTLINER_OT_collection_objects_select/deselect pair into the Data menu for collection rows. The engine call site now copies the operator idname the way wm_operator_create does, so the shared exec reads the right branch and Deselect really deselects; the two operations also join the id-operation whitelist, protocol union, worker gate and feedback messages. Headed case [outliner-collection-select-web] opens Mount (Payload and KeyLight nest under their parent row like the desktop tree), checks the fixture's initial Payload selection, then deselects, re-selects and deselects Parts' objects through data-selected on the rows. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -462,7 +462,7 @@ export type EditorContextEdit = { workspaceId: string; screenId: string } & (
|
||||
| { action: 'OUTLINER_SELECT'; areaId: string; objectId: string; extend: boolean; range: boolean }
|
||||
| { action: 'OUTLINER_SELECT_ALL'; areaId: string; operation: 'SELECT' | 'DESELECT' | 'INVERT' | 'TOGGLE' }
|
||||
| { action: 'OUTLINER_SELECT_BOX'; areaId: string; firstRowId: string; lastRowId: string; mode: 'SET' | 'ADD' | 'SUB' | 'XOR' }
|
||||
| { action: 'OUTLINER_ID_OPERATION'; areaId: string; rowId: string; operation: 'UNLINK' | 'SINGLE' | 'COPY' | 'PASTE' | 'FAKE_ADD' | 'FAKE_CLEAR' | 'ASSET_MARK' | 'ASSET_CLEAR' | 'ASSET_CLEAR_FAKE' | 'LIBOVERRIDE_MAKE' | 'LIBOVERRIDE_RESET' | 'LIBOVERRIDE_CLEAR' | 'LOCAL' | 'SELECT_HIERARCHY' | 'COLLECTION_NEW' | 'PURGE' }
|
||||
| { action: 'OUTLINER_ID_OPERATION'; areaId: string; rowId: string; operation: 'UNLINK' | 'SINGLE' | 'COPY' | 'PASTE' | 'FAKE_ADD' | 'FAKE_CLEAR' | 'ASSET_MARK' | 'ASSET_CLEAR' | 'ASSET_CLEAR_FAKE' | 'LIBOVERRIDE_MAKE' | 'LIBOVERRIDE_RESET' | 'LIBOVERRIDE_CLEAR' | 'LOCAL' | 'SELECT_HIERARCHY' | 'COLLECTION_NEW' | 'COLLECTION_SELECT' | 'COLLECTION_DESELECT' | 'PURGE' }
|
||||
| { action: 'OUTLINER_MODE_TOGGLE'; areaId: string; rowId: string; extend: boolean }
|
||||
| { action: 'OUTLINER_RENAME'; areaId: string; rowId: string; name: string }
|
||||
| { action: 'OUTLINER_SET_DISPLAY_MODE'; areaId: string; displayMode: string }
|
||||
|
||||
Reference in New Issue
Block a user