admin and Claude Opus 5.5
597367c804
Keep a transition's pace through new steps and pans ( #309 )
...
A wheel step in the middle of a transition restarted the ease-out
curve at full speed, so a run of quick steps kicked at each one.
A pan called finish() first and made the zoom jump to its target.
Both made the zoom and the gliding lists feel jerky.
- A new step starts from the speed the view already has and then
eases out. Quick steps in one direction move in one stroke. A step
the other way still starts from rest.
- A pan takes the transition along. The zoom goes on while dragging
and lands where it was heading, moved by the pan. This covers all
eight pan places: scene and container, graph, plugin board,
texture and pixel art, timeline, pattern, song and sound.
- finish() is gone, it has no callers left. Dragging the scrollbar,
a jump to a row, another document or a new view size still end
the transition as before.
Found: on a second step the old curve jumped to 2.47 times the
speed the view had just before.
Tests:
- npm run check on stein2: 299 files, 4598 tests (5 new)
- e2e 46 on stein2: ALL PASSED, 24 checks (1 new). A pan by 40/30
px during a 1000 ms zoom step leaves it moving (2.33 on the way
from 2 to 3), it lands on 3 with the world point moved by the pan.
- Counter-checks: with the pace reset to 3 the new unit test fails
with 2.47 instead of at most 1.1. Without carry the pan test fails.
- melektaus-atx went offline mid-run, so both ran on stein2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-11 23:08:43 +02:00
..
2026-10-11 23:08:43 +02:00
2026-09-23 13:59:04 +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-02 23:52:49 +02:00
2026-10-03 17:38:39 +02:00
2026-10-11 21:52:29 +02:00
2026-10-07 08:25:13 +02:00
2026-10-11 23:08:43 +02:00
2026-10-11 14:23:07 +02:00
2026-10-10 17:37:13 +02:00
2026-10-04 00:11:41 +02:00
2026-10-09 20:27:32 +02:00
2026-10-11 22:14:54 +02:00
2026-10-10 17:37:13 +02:00
2026-10-11 23:08:43 +02:00
2026-10-03 21:01:10 +02:00
2026-10-03 21:01:10 +02:00
2026-10-10 17:37:13 +02:00
2026-10-11 14:23:07 +02:00
2026-10-11 23:08:43 +02:00
2026-10-11 23:08:43 +02:00
2026-10-10 23:32:49 +02:00
2026-10-10 17:37:13 +02:00
2026-10-11 23:08:43 +02:00
2026-10-03 21:45:04 +02:00
2026-10-02 23:24:21 +02:00
2026-10-03 17:38:39 +02:00
2026-10-03 19:53:51 +02:00
2026-10-11 21:52:29 +02:00
2026-10-11 23:08:43 +02:00
2026-10-11 12:12:39 +02:00
2026-10-11 12:12:39 +02:00
2026-10-11 21:11:05 +02:00
2026-10-08 17:57:18 +02:00
2026-10-11 12:12:39 +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-09 09:18:46 +02:00
2026-10-11 12:12:39 +02:00
2026-10-09 14:27:12 +02:00
2026-10-09 14:27:12 +02:00
2026-10-11 21:11:05 +02:00
2026-10-06 21:52:24 +02:00
2026-10-11 12:12:39 +02:00
2026-10-09 15:31:33 +02:00
2026-10-10 11:41:28 +02:00
2026-10-10 11:41:28 +02:00
2026-09-29 16:16:37 +02:00
2026-10-07 08:25:13 +02:00
2026-10-03 17:38:39 +02:00
2026-10-10 19:45:59 +02:00
2026-09-25 10:30:41 +02:00
2026-10-09 06:51:59 +02:00
2026-10-09 06:51:59 +02:00
2026-09-29 16:16:37 +02:00
2026-10-02 21:43:12 +02:00
2026-09-30 06:31:41 +02:00
Refactoring round 5 covers the code since round 4 without changing behaviour: four identical copies of dot() and three of "nearest point on a segment" stood in the collision math, in the hit area of the collider outlines and in the polygon handles, so they moved into the new module src/core/util/vec.ts; the warning line, the busy state, info() and the caret reset were written out line by line in both the sign-in screen and the password dialog and are now FormStatus; the closing row "Cancel plus a confirming button, optionally one on the left" was built by hand in FormDialog, FilePicker, OpenProjectDialog and PasswordDialog and is now dialogButtons(); the header bar was drawn by the toolbar, the TabHeader and the Breadcrumb each on its own and is now drawHeaderBar(); AddColliderCommand and AddRigidbodyCommand share a base, each subclass only builds its own asset; Editor.ts derives the panes from assetEditors instead of repeating eight entries and clamps its splitters with clamp(); jscpd over src falls from 0.19 % to 0.14 %; dead code is gone - listScenes() has been orphaned since the Scene picker fell away ( #183 ), DEFAULT_FILTER ( #152 ) was never used, the two test hooks projectPickerRowAt/rowPosition and particleCompiles are read by no tool, and four functions lost an export they did not need; seven comments that told history ("used to", "no longer", "since #...") describe the state of things now, and that this changed nothing was proved by a rebuild - the bundle is md5 identical, b4ad0dfe... before and after; the README said Logout sits at the far right of the toolbar, which has been the Account menu since #182 , and wiki/Architecture.md was missing src/core/util/ altogether; 4 new unit tests cover vec.ts, and switching the clamp on the segment off makes exactly one of them fail while none of the 76 neighbouring tests notice, so that clamping was covered nowhere before ( #85 )
2026-09-20 17:24:42 +02:00
2026-10-02 23:24:21 +02:00
2026-10-11 21:11:05 +02:00
2026-09-29 11:53:04 +02:00
2026-10-01 19:36:13 +02:00
2026-09-29 16:16:37 +02:00
2026-10-01 19:36:13 +02:00
2026-10-01 19:36:13 +02:00
2026-10-01 19:36:13 +02:00
2026-10-02 23:24:21 +02:00
2026-10-09 09:18:46 +02:00
2026-10-07 19:13:32 +02:00
2026-10-11 21:11:05 +02:00
2026-09-29 13:30:38 +02:00
2026-09-29 13:30:38 +02:00
2026-09-29 13:30:38 +02:00
2026-10-01 22:08:28 +02:00
2026-10-01 23:13:43 +02:00
2026-09-27 12:12:40 +02:00
2026-09-29 13:30:38 +02:00
2026-09-25 18:21:52 +02:00
2026-09-29 16:16:37 +02:00
2026-10-11 12:12:39 +02:00
2026-09-29 16:16:37 +02:00
2026-09-27 12:57:49 +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-09 14:27:12 +02:00
2026-10-07 17:59:08 +02:00
2026-09-29 16:16:37 +02:00
2026-10-11 21:11:05 +02:00
2026-10-11 23:08:43 +02:00