Refactor round 2: fold duplicated command and inspector code
- applyCommands sit on ObjectEditCommand with a revert hook instead of five copies of the same preamble and undo - actionIf replaces six identical Reset/Apply menu blocks, addNameField the three name rows, assetLink the two asset links - requireStructuralObject replaces ten two-line preambles and drops the duplicate holder lookup - __gm.objectsOf had no caller; the SMB remnant in e2e.sh is gone Proven: check.sh 797 tests, full e2e 633 checks, smokes 24/19/20 against the same bundle. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
6471671f7d
commit
ce42d16657
13 files changed
+139
-223
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ export { type DropSpot, ListView, type ListItem, type PickModifiers } from './wi
|
||||
export { Popup, type PopupOptions } from './widgets/Popup';
|
||||
export { Menu, type MenuItem, type MenuOptions } from './widgets/Menu';
|
||||
export { Dialog, type DialogButton } from './widgets/Dialog';
|
||||
export { TextField } from './widgets/TextField';
|
||||
export { TextField, type TextFieldOptions } from './widgets/TextField';
|
||||
export { NumberField } from './widgets/NumberField';
|
||||
export { ColorField } from './widgets/ColorField';
|
||||
export { ColorPicker } from './widgets/ColorPicker';
|
||||
|
||||
Reference in new issue
Block a user