admin and Claude Opus 5.5
5e21d473a4
Fix references into nested placements and on asset delete ( #285 , #286 )
...
Two findings from #269 . A reference from a container into a placement
nested in it was dead from the start, and deleting an asset left
references to the objects it took along showing "(missing)".
- A reference is stored the way its holder shows the object. In a
container tab that is q~x for content of a nested placement q.
- referenceCandidates translates it when the container is placed: in
placement r, q~x becomes r~q/x. pathOfId and idOfPath in instance.ts
do the mapping, objectChoices offers the same spelling the other way.
The rule holds at any depth.
- Storing q/x as proposed in #285 was dropped. The container tab would
then have had to translate its own ids.
- No migration. All projects and snapshots hold three references, none
of them with ~ or /.
- Create container lets a reference to content of a member placement
follow it. It was left dead before.
- Paste lets such a reference point into the copy. It kept pointing at
the original before. Both go through the new renamedReference.
- Delete asset records what every holder shows before the cascade and
clears every reference to an object that is gone afterwards, with
dropReferencesToGone from #269 . The row shows None, undo restores
the references (#286 ).
Tests:
- Gate: 198 files, 2882 tests (2873 + 9), exit 0
- Unit object-references: 26 passed (17 + 9)
- e2e 1-17,57: 566 checks passed, 57 has +57i and +57j
- Six unit counter-probes fail between 1 and 3 tests each
- The browser counter-probe fails 57i and 57j as described in the
issues
- e2e total 1609 is computed, not measured in a full run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-01 07:28:49 +02:00
..
2026-10-01 07:28:49 +02:00
Open asset greyed out and real tab cards: Open asset in the scene object menu is only pickable for kinds with an editor of their own, the table of which asset opens which tab moved from Editor.ts into the new module assetTabs.ts with hasAssetEditor so the menu and the editor read the same list, Select asset stays as it was; tabs are drawn as index cards (new module TabButton.ts): the one showing is a light grey card instead of the aggressive blue, rounded above and square below, its name in plain weight and measured bold so it never clips itself, and a mouse down on the tab already showing keeps its colour; the padding left and right grew to 6 px in one place for both kinds of tab, Scene and Game carry an icon too (the scene one from the asset panel, a new game.svg play sign), Plugins and a plugin's own tab have none; new test hook menuEnabled next to menuRows and menuIcons, e2e 01 checks the greyed out entry on a sprite row, 14a-ii the card and the icons of the fixed tabs, 44a the icon at the wider padding ( #176 )
2026-09-20 11:40:01 +02:00
2026-09-26 15:30:33 +02:00
2026-09-29 14:14:54 +02:00
2026-09-29 22:07:53 +02:00
2026-09-29 22:07:53 +02:00
2026-09-29 09:21:31 +02:00
2026-09-16 08:08:10 +02:00
2026-09-23 18:29:34 +02:00
2026-09-23 18:29:34 +02:00
2026-09-16 08:08:10 +02:00
2026-09-16 08:08:10 +02:00
2026-09-29 18:12:55 +02:00
2026-09-23 06:57:43 +02:00
2026-09-29 22:07:53 +02:00
2026-09-23 08:13:22 +02:00
2026-09-23 20:07:47 +02:00
2026-09-16 08:08:10 +02:00
2026-09-23 16:44:15 +02:00
2026-09-28 13:54:57 +02:00
2026-09-29 06:01:26 +02:00
2026-09-27 21:56:21 +02:00
2026-09-27 21:56:21 +02:00
2026-09-26 21:12:44 +02:00
2026-09-16 08:08:10 +02:00
2026-09-27 15:58:05 +02:00
2026-09-21 06:25:56 +02:00
2026-09-22 18:29:10 +02:00
2026-09-25 16:34:10 +02:00
2026-09-27 12:12:40 +02:00
2026-09-29 06:01:28 +02:00
2026-09-23 20:07:47 +02:00
2026-09-27 21:56:21 +02:00
Asset panel grouped by kind with icons: assets are listed under a header per kind (Sprites, Behaviors, ...) with the count on the right, empty groups are not shown, every group starts folded when a project is opened, a click on the header folds and unfolds it, selecting an asset elsewhere unfolds its group and folding the group of the selected asset clears the selection; every asset kind has an SVG icon in src/editor/panels/icons/ drawn before the name, the pure rule for grouping and sorting lives in assetGroups.ts; the same icons replace the kind word in document tabs and the overflow menu (a list icon for the List tab, which also fixes the close x lying over the end of the active tab's text), stand before every entry of the + menu (Button got an icon option) and on the right of scene object rows instead of the type name; the colour swatch next to sprite names is gone from both panels; the SVG loader moved to src/ui/svg.ts for both icon sets; test hook assetRow unfolds the group and scrolls to the row, assetRowShown only reads, new hook menuIcons; e2e 4g and 4h, 14 and 44a check the icons ( #176 )
2026-09-19 18:36:20 +02:00
2026-09-16 08:08:10 +02:00
2026-09-24 11:38:18 +02:00
2026-09-23 10:20:05 +02:00
2026-09-24 19:34:37 +02:00
2026-09-23 13:59:04 +02:00
2026-09-27 12:12:01 +02:00
2026-09-29 19:00:22 +02:00
2026-09-29 22:48:23 +02:00
2026-09-24 13:22:45 +02:00
2026-09-23 08:13:22 +02:00
2026-09-29 22:07:53 +02:00
Changing the password: the Logout button at the far right of the toolbar became an Account menu that names the signed-in account in an entry of its own that cannot be picked, with Change password... above Logout, and the new dialog (src/editor/auth/PasswordDialog.ts) asks for the current password, the new one and its repetition, all three as bullets, and stays standing when the server refuses so that it can say why, unlike the other form dialogs; the rules for empty, too short, new equal to old and a differing repetition sit as the pure function passwordProblem() next to loginProblem(), the API gained POST ?r=auth/password which answers 204, insists on the current password although a session is there, enforces a minimum length of 8 in UserStore::MIN_PASSWORD_LENGTH and again in the client so the mask can answer without asking the server, and the new SessionStore::destroyAllFor($user, $keep) ends every other session of the account while the tab that changed the password keeps its own; the placeholders admin/admin and user/user stay as they are, which the length check does not touch because it only runs when a password is set through the API; e2e 45 grew by 8 checks for the menu, the dialog, both refusals and signing in with the old and the new password, and it sets the e2e account back at the end - a run dying in between leaves it on <password>-tmp, which a make-user.php call repairs ( #182 )
2026-09-20 13:46:40 +02:00
2026-09-29 13:30:38 +02:00
2026-09-29 18:12:55 +02:00
2026-09-23 06:57:43 +02:00
2026-09-30 21:13:20 +02:00
2026-09-29 18:12:55 +02:00
2026-09-29 22:36:30 +02:00
2026-09-27 12:12:40 +02:00
2026-09-27 16:45:53 +02:00
2026-09-28 11:33:38 +02:00
2026-09-30 22:08:22 +02:00
2026-09-28 13:54:57 +02:00
2026-10-01 07:28:49 +02:00
2026-09-30 07:57:18 +02:00
2026-09-30 11:18:39 +02:00
2026-09-29 14:44:14 +02:00
2026-09-29 14:44:14 +02:00
2026-09-29 14:44:14 +02:00