admin and Claude Opus 5.5
c33d6d98e5
Keep a song item's left edge from snapping on to its own end
...
Dragging the left edge of a song item to the right snapped to the grid
and to the points where the item's content starts again. One of those
points lies exactly on the item's end. When the edge caught it, the
item shrank to a single tick and showed as a thin white line. The
right edge already refused to snap back on to its own start, the left
edge had no such rule.
- trimDelta: a snapped start on or past the item's end now takes the
last grid line before the end instead.
- If that grid line lies before the current start, the start stays
where it is.
- Free trimming with Alt or Shift is unchanged and may still shrink
the item to one tick.
- Dragging the left edge far past the end now leaves one grid step,
as the right edge already did, instead of one tick.
Tests:
- song-edit unit tests: 14 green (2 new expectations, 1 changed)
- Counter-check with the rule removed: 2 red (1399 instead of 960,
1919 instead of 1800)
- Prettier, ESLint, tsc clean
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-07 14:00:58 +02:00
..
2026-09-16 17:38:54 +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-15 10:21:20 +02:00
2026-09-23 10:20:05 +02:00
2026-09-29 22:36:30 +02:00
2026-09-13 15:31:08 +02:00
2026-09-27 16:45:53 +02:00
Tabs are open documents: Scene, Game and Plugins stay as fixed tabs, every other asset opens in its own tab (double click or Enter in the asset panel, on creation, from the list button), several assets of one kind can be open at once, a tab is labelled with its kind dimmed before the name, cut at 160 px and renamed with its asset, closes with its x or a middle click and goes away when its asset is deleted; a tab always shows its own document instead of following the selection, the picker in the tab head is gone, zoom and scroll are kept per document for the session and dropped on close, a double click on a call node stays in the same tab with breadcrumbs per tab; one editor per kind is switched between documents, the placement rules live in the pure module documents.ts, and the test hook showTab stays as a compatibility path; new e2e module 44 documents ( #171 )
2026-09-19 15:49:54 +02:00
2026-10-01 20:51:15 +02:00
2026-10-06 21:52:24 +02:00
2026-09-16 17:38:54 +02:00
2026-09-30 11:18:39 +02:00
2026-10-02 10:18:20 +02:00
2026-09-16 14:23:56 +02:00
2026-09-25 10:30:41 +02:00
2026-09-11 15:07:07 +02:00
2026-10-02 10:18:20 +02:00
2026-09-27 11:19:12 +02:00
2026-09-27 10:53:57 +02:00
2026-09-18 10:15:51 +02:00
2026-10-03 17:38:39 +02:00
2026-09-27 21:56:21 +02:00
2026-09-14 18:05:36 +02:00
2026-09-27 21:56:21 +02:00
2026-09-09 14:29:30 +02:00
2026-09-30 06:31:41 +02:00
2026-09-14 18:05:36 +02:00
2026-09-13 12:10:21 +02:00
2026-09-18 12:31:19 +02:00
2026-09-15 10:21:20 +02:00
2026-10-02 23:24:21 +02:00
2026-09-09 18:16:28 +02:00
2026-10-06 19:14:28 +02:00
2026-09-22 11:58:31 +02:00
2026-10-03 19:09:53 +02:00
2026-09-29 11:53:04 +02:00
Plugins belong to the project, and they load before it: the project file gained the field plugins: ["demo-plugin.js"] (default empty, no formatVersion bump), the Plugins tab's switch writes into it as an ordinary undo step (SetPluginActiveCommand) instead of into a server-wide plugins.json, and the start order is turned around - startPlugins only fetches the list of files, then editor.boot() runs and ProjectStore.load(id, prepare) hands the raw JSON through before it is deserialized, where pluginsOf(raw) reads the list and PluginManager.syncTo() activates exactly those; that is the point of the issue, because what a plugin registers has to stand there before normalizeGraph would throw it away as unknown ( #126 , #127 ), a project switch first stops what the new project does not name and then starts what it does, a file the server does not have is passed over silently, and after signing out the manager is dead so a late event cannot start anything in a torn-down session; on the server plugins.json, PluginStore::setActive, isActive, the route PUT ?r=plugins/{file} and the 403 for inactive modules are gone and GET ?r=plugins only answers {file,bytes,updatedAt}, which makes every plugin file fetchable - the consequence accepted in #117 , written down in the wiki for #115 and #116 ; publishPlugins(root) only copies files now, the seeder switches the demo plugin on in the fixture project, and the Plugins tab carries a puzzle piece as its icon while only a plugin's own tab still goes without one (the knob and the socket are cubic curves, not arcs, which Pixi's parser draws as a spike after an L); 3 new e2e checks in module 38 and 5 new unit tests cover the project as the owner of the switch, its undo, the order, pluginsOf against crude input and an unknown file name ( #119 )
2026-09-20 14:24:27 +02:00
2026-10-01 23:13:43 +02:00
2026-10-03 18:33:06 +02:00
2026-10-04 14:27:35 +02:00
2026-10-03 15:32:52 +02:00
2026-09-23 16:44:19 +02:00
2026-09-21 06:51:35 +02:00
2026-09-22 10:23:57 +02:00
2026-10-03 16:03:09 +02:00
2026-10-04 14:27:35 +02:00
User management: signing in is required before anything is loaded, the sign-in screen is drawn in the same canvas (user name, password as bullets, Enter moves on and submits) and the editor is built only after it; the API gained auth/session, auth/login and auth/logout while every other route answers 401 without a session, projects carry an owner and a foreign one comes back as 404, accounts live in data/users.json with a password hash and sessions as files in data/sessions with a sliding 30 days, so a build under the open tab does not sign anybody out; Logout sits at the far right of the toolbar and, as asked in the issue, does not reload the page: Editor.dispose() takes the editor down while the canvas stays, which is why the autosave, the focus handlers, the window listeners of the tilemap panel, the shortcuts and the plugins all got a way back; the tools sign in as e2e (tools/lib/auth.mjs, password from GAME_MAKER_E2E_PASSWORD or the git-ignored data/e2e-password.txt) and the browser gets the same session by cookie, new e2e module 45 covers the screen, the wrong pair, the bullets, logout without a reload and signing in again, new unit tests for HttpAuthStore and for what a session leaves behind ( #177 )
2026-09-20 12:50:52 +02:00
2026-10-01 20:51:15 +02:00
2026-10-02 11:20:55 +02:00
2026-10-02 13:03:37 +02:00
2026-09-16 12:04:09 +02:00
2026-09-27 12:12:40 +02:00
2026-09-23 06:57:43 +02:00
2026-09-25 18:21:52 +02:00
2026-10-07 14:00:58 +02:00
2026-09-26 22:33:20 +02:00
2026-09-13 22:06:46 +02:00
2026-09-29 18:12:55 +02:00
2026-10-03 21:45:04 +02:00
2026-09-18 13:58:03 +02:00
2026-09-16 20:38:34 +02:00
2026-09-16 20:38:34 +02:00
2026-09-14 14:05:18 +02:00
2026-09-14 18:05:36 +02:00
2026-10-03 21:45:04 +02:00
2026-09-27 21:56:21 +02:00
2026-10-02 13:03:37 +02:00
2026-10-03 21:01:10 +02:00
2026-10-06 21:42:21 +02:00