25060 Commits

Author SHA1 Message Date
Andrey Antukh
4427b83ae0 Merge remote-tracking branch 'origin/staging' into develop 2026-11-24 13:12:08 +01:00
Andrey Antukh
bc3f8dd6ef Merge remote-tracking branch 'origin/staging-2.19.x' into staging 2026-11-24 12:45:02 +01:00
Andrey Antukh
b52fcc7e6d 🎉 Add a command to create pull requests
Add `gh.py create-pr` to create pull requests with automatic base detection,
optional issue linking and support for project and draft options. Normalize
and validate detected base branches, and report the created URL if issue
linking fails. Update the skill and workflow documentation, and cover the
command and base detection with tests.

AI-assisted-by: hy4-flash-free
2026-11-24 12:33:09 +01:00
Elena Torró
407ee58ddd
🐛 Fix render-wasm panic when an auto layout has only absolute children (#13146)
* 🐛 Restore the WASM stack pointer after a failed call (#12978)

A failed render-wasm call traps without popping its shadow-stack frames.
Each failure leaked stack until it overwrote static data, and from then on
every call trapped as wasm-critical. h/call now saves the stack pointer
before the call and restores it on failure.

Closes #12977
Related to #12906

AI-assisted-by: claude-opus-5-5

* 🐛 Fix render-wasm panic when an auto layout has only absolute children

An auto flex or grid layout whose children were all absolute shrank to
zero, and a rotated shape below it got a matrix that cannot be inverted,
which panicked in `_propagate_modifiers`. Skip auto-size when there is
no content, as CLJS does. A matrix that still cannot be inverted is now
a recoverable error, which shows a toast instead of the error page.

Closes #12763

AI-assisted-by: claude-opus-5-5

* 🐛 Count hidden children in render-wasm grid auto-size

A grid takes its size from its tracks, so, like CLJS, it skips auto-size
only when every child is absolute. Flex still skips hidden children,
since its line building leaves them out.

Refs #12763

AI-assisted-by: claude-opus-5-5
2026-11-24 12:25:19 +01:00
Andrey Antukh
4b72c137f1 Merge remote-tracking branch 'origin/main' into staging-2.19.x 2026-11-24 12:24:03 +01:00
Andrey Antukh
2da9bddd05 Merge remote-tracking branch 'origin/staging' into develop 2026-11-24 12:22:16 +01:00
Alejandro Alonso
277ca546f2
⚡ Re-present the frame when the grid overlay changes (#13248)
Hovering a grid frame requested a full render. That clears the
canvas and walks every visible tile even though the overlay is
only UI. show_grid and hide_grid now re-present the last frame.
2026-11-24 12:12:39 +01:00
Andrey Antukh
719f154b49 🐛 Clarify plugin save recovery warning
Warn that recovery may discard unsaved edits instead of implying that
reopening is the only recovery path. Update the API docs and test.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
8d781fa5b0 📚 Refine guidance across backend and frontend
Correct session, upload and validation boundaries and consolidate
related testing and frontend recovery guidance by task.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
87a15a7d33 📚 Clarify plugin save failure recovery
Describe rejection while the error remains and refer to persistence
for recovery on file reopening or role changes.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
0ea9ed3297 📚 Correct grid cell cleanup guidance
Distinguish removing shape assignments from removing cells and clarify
the development overlap helper's actual empty-map check.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
2ac3c0468a ♻️ Avoid direct token library field access in tests
Build legacy migration fixtures from the datafied library to avoid
ClojureScript inference warnings without changing the test cases.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
a90e5d799e 🐛 Correct common test runner usage
Show the existing interactive test command in help and documentation,
and check that help only names package scripts that exist.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
a3df3cafae 📚 Clarify geometry comparison limits
Document tolerance boundaries and the fields compared in text position
data to prevent incomplete equality checks.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
fae327fd7f 📚 Clarify token source and activation rules
Distinguish detaching a token source from absorbing its library and
record when a direct set change clears active themes.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
71cd3c5bd5 📚 Clarify JSON schema key decoding
Distinguish the custom map key decoder from Malli's encoders and
point to the string-key roundtrip test.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
0758897e07 📚 Correct data model checklist references
Update moved frontend paths and document the separate token route in
component synchronization.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
ff49804ae9 📚 Simplify workspace persistence memory name
Keep the save lifecycle guidance together under a direct name and
update references across the client and server guidance.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
172e70df22 📚 Clarify frontend routing guidance
Use a direct routing memory and record team resolution precedence to
help preserve the team context during navigation.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
09969d622e 📚 Clarify shared text guidance
Give shared text rules a direct name and distinguish derived position
data from whether it can be persisted on a shape.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
2e736233e7 📚 Organize token and schema guidance
Unify token model and workspace behavior, update activation semantics,
and keep general schema coercion in a separate memory.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
381b784a0e 📚 Focus workspace transform guidance
Document preview cleanup on gesture end and unmount alongside commit
and cancellation boundaries in a directly named memory.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
c8083b35cf 📚 Clarify common layout guidance
Use a direct layout memory and describe the grid assignment conditions
without overstating when tracks are created.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
8a907c49a8 📚 Consolidate file change pipeline guidance
Keep construction, application, compaction, and schema validation in
one memory and update frontend and backend references.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
32fb7267cc 📚 Consolidate shape geometry guidance
Bring geometry invariants and numeric precision together while keeping
component sync comparisons in the component memory.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
5e45bdb570 📚 Consolidate component and integrity guidance
Bring component and variant behavior, referential repair, and diagnosis
together while keeping schema validation and change mechanics separate.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
c405a08334 📚 Focus component swap guidance
Keep touched and geometry boundaries and document the live shape lookup
that prevents swaps from acting on stale positions.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
7a8429cc12 📚 Separate change application and validation guidance
Split common file change and repair rules into focused memories and
link each topic directly from the common module guide.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
8506b916b5 📚 Correct frontend crash recovery guidance
Remove outdated assumptions about plugin storage and save timing while
keeping diagnostic and unsaved-data precautions.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
f26d466490 📚 Focus live frontend inspection guidance
Keep runtime selection, state lookup, and temporary instrumentation
constraints without assuming a specific MCP integration is available.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
a15a893d7b 📚 Consolidate gesture coordinate guidance
Keep viewport mapping alongside Playwright gestures and use a
self-contained browser evaluation example.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
12dd9320ff 📚 Separate dashboard import and viewer guidance
Organize frontend notes by task and correct viewer validation and
dashboard message topic details to match the current implementation.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
ef62f21bed 📚 Organize frontend UI memories by task
Separate CLJS components, styles, the shared UI package, and the text
editor so each guide has a direct entry point and current build details.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Andrey Antukh
7082d7bd61 📚 Correct translation asset guidance
Document generated locale modules and watcher behavior in the focused
translation memory instead of keeping stale UI instructions.

AI-assisted-by: gpt-6.1-terra
2026-11-24 11:43:48 +01:00
Belén Albeza
76adaf86b1 🐛 Count hidden children in render-wasm grid auto-size
A grid takes its size from its tracks, so, like CLJS, it skips auto-size
only when every child is absolute. Flex still skips hidden children,
since its line building leaves them out.

Refs #12763

AI-assisted-by: claude-opus-5-5
2026-11-24 10:41:11 +01:00
Belén Albeza
f807e749db 🐛 Fix render-wasm panic when an auto layout has only absolute children
An auto flex or grid layout whose children were all absolute shrank to
zero, and a rotated shape below it got a matrix that cannot be inverted,
which panicked in `_propagate_modifiers`. Skip auto-size when there is
no content, as CLJS does. A matrix that still cannot be inverted is now
a recoverable error, which shows a toast instead of the error page.

Closes #12763

AI-assisted-by: claude-opus-5-5
2026-11-24 10:41:11 +01:00
Belén Albeza
35278f3917 🐛 Restore the WASM stack pointer after a failed call (#12978)
A failed render-wasm call traps without popping its shadow-stack frames.
Each failure leaked stack until it overwrote static data, and from then on
every call trapped as wasm-critical. h/call now saves the stack pointer
before the call and restores it on failure.

Closes #12977
Related to #12906

AI-assisted-by: claude-opus-5-5
2026-11-24 10:39:52 +01:00
Florian Schrödl
8490d2a18a
🔧 Tighten the token helper tests after review (#13242)
Follow-up to #13210, from its review. The warning and error message
tests now echo the translation arguments, so they fail when the value
goes missing from the message. The generic shape attributes also check
sizing, opacity and rotation, and the group renaming cases talk about
group membership rather than the group's name in the path.

The token tests now share one `tr` stub instead of three copies.

Signed-off-by: Florian Schroedl <flo.schroedl@gmail.com>
Co-authored-by: Eva Marco <eva.marco@kaleidos.net>
2026-11-24 10:24:56 +01:00
Andrey Antukh
eaac3f58c4 📎 Update changelog 2.19.5 2026-11-24 09:55:26 +01:00
Andrey Antukh
04b2e0d819 Revert "🐛 Upload large imports from the kept File on the main thread (#13183)"
This reverts commit 8239bd36522774d68b1d26447de8c01b92c7ca2e.
2026-11-24 09:53:46 +01:00
andrés gonzález
deffc02098
✨ Print the cause of an error in the frontend error report (#13274)
WASM errors are thrown as an ex-info whose cause is the original failure
(the trap, `RuntimeError: unreachable`, `memory access out of bounds`,
`Aborted(OOM)`). The CLJS `format-throwable` printed only the ex-data and
the stack, so the report said where a WASM call failed but never why.

Add a "Caused by:" block with the cause message, printed on its own since
only V8 starts `.stack` with it, followed by its formatted data and stack.

Relates to #12910

AI-assisted-by: claude-opus-5-5
2026-11-24 09:47:50 +01:00
Luke Lau
a7726b279d
♻️ Return mask_id by value and only for masked groups (#13273)
Splitting off some refactoring from other renderer work that I thought would be
useful.  Callers of mask_id should check is_masked_group first, so this rolls
the two into one.  Whilst we're here, it also removes the reference from the
Uuid type (`Option<Uuid?> -> Option<Uuid>`). It's cheap to copy and a few call
sites will need to copy it to satisfy the borrow checker anyway.
2026-11-24 07:31:14 +01:00
Andrey Antukh
df3445cfb3 📚 Focus common testing guidance
Keep runtime coverage, runner registration, and fixture constraints
while removing duplicated command examples.

AI-assisted-by: gpt-6.1-terra
2026-11-23 23:40:36 +01:00
Andrey Antukh
842c017c10 📚 Focus cross-module testing guidance
Keep testing discipline and verification requirements while leaving
module-specific commands and fixtures to their own memories.

AI-assisted-by: gpt-6.1-terra
2026-11-23 23:40:36 +01:00
Andrey Antukh
e202ed1878 📚 Correct backend testing guidance
Require permission before database reinitialization and distinguish the
full CI checks from test-only runs while retaining backend test traps.

AI-assisted-by: gpt-6.1-terra
2026-11-23 23:40:36 +01:00
Andrey Antukh
3336aa1bdf 📚 Focus Node update guidance
Keep pin and image verification rules while replacing conflicting
historical merge advice with version selection by project policy.

AI-assisted-by: gpt-6.1-terra
2026-11-23 23:40:36 +01:00
Andrey Antukh
d654d32845 📚 Focus pnpm update guidance
Keep pin, lockfile, and verification constraints while removing stale
build-output and historical merge details.

AI-assisted-by: gpt-6.1-terra
2026-11-23 23:40:36 +01:00
Andrey Antukh
3b98eed73d 📚 Focus authentication event guidance
Keep session origin and invitation navigation constraints while removing
historical flow details and external analytics notes.

AI-assisted-by: gpt-6.1-terra
2026-11-23 23:40:36 +01:00
Andrey Antukh
b24ef3cbc5 📚 Separate plugin save and rollback guidance
Move shared save queue and rollback event contracts into a focused
memory and link the MCP guidance to it.

AI-assisted-by: gpt-6.1-terra
2026-11-23 23:40:36 +01:00
Andrey Antukh
ea458b85ca 📚 Consolidate changelog workflow guidance
Move helper constraints into the release workflow and remove the
separate overlapping memory.

AI-assisted-by: gpt-6.1-terra
2026-11-23 23:40:36 +01:00