24519 Commits

Author SHA1 Message Date
Miguel de Benito Delgado
98393a13c4 🚧 WIP 24 Relocate all code, delete old benchmarks 2026-10-30 20:08:28 +01:00
Miguel de Benito Delgado
88059fff86 🚧 WIP 23 Results and reporting. Cleanup 2026-10-30 20:08:28 +01:00
Miguel de Benito Delgado
339629f078 📎 Improve clj-kondo hooks, including if-let 2026-10-30 20:08:28 +01:00
Miguel de Benito Delgado
f867dd2a32 🚧 WIP Step 22 nicer macros 2026-10-30 20:08:28 +01:00
Miguel de Benito Delgado
4ff8f12f82 📎 clj-kondo hooks for benchmark macros 2026-10-30 20:08:28 +01:00
Miguel de Benito Delgado
da497fc116 🚧 WIP Step 21.2 Cosmetic simplifications 2026-10-30 20:08:28 +01:00
Miguel de Benito Delgado
576ccb07a2 🚧 WIP Step 21.2 Docstrings 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
29ba336647 🚧 WIP Step 21.2 Docstrings 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
2704a5e2cd 🚧 WIP Step 21.1 Remove unnecessary kondo rule 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
df3530fa02 🚧 WIP Step 21 Refactor namespaces 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
3c3ffdbfd5 🚧 WIP Step 20 test last round of features 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
96578aa2f3 🚧 WIP Step 19.2 Missing browser utils 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
5f44589ecd 🚧 WIP Step 19.1 Allow selecting cases in pilot 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
ce6170fd0e 🚧 WIP Step 19 New scenes, use camera 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
a3891519d1 🚧 WIP Step 18 Camera ops 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
96784bbcb1 🚧 WIP Step 17 Support path construction 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
f6e68c4cdc 🚧 WIP Step 16.4 Refactor failures, remove legacy validation, cleanup 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
9c1ae4913c 🚧 WIP Step 16.3 Cleanup pilot 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
330fa67e20 🚧 WIP Step 16.2 Renames and fixes 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
2fea893494 🚧 WIP Step 16.1 Relax scene macro constraints 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
4d9723e00e 🚧 WIP Step 16 Introduce hooks for the browser and load-scene 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
484c7922a9 🚧 WIP Step 15.1, cosmetic 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
34aca494cc 🚧 WIP Step 15, Use transit to simplify validation 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
86f89cf5d5 🚧 WIP Step 14, Grab correct w/h attrs from context 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
6896dc311f 🚧 WIP Step 13, Track failure causes
AI-assisted-by: muse-spark, GLM-5.3
2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
7b71aba0d7 🚧 WIP Step 12.4, Comments
AI-assisted-by: gpt6-astra
2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
4b3e592971 🚧 WIP Step 12.3, Test cleanup + missing coverage
AI-assisted-by: muse-spark, deepseek-flash
2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
b5a369ec8c 🚧 WIP Step 12.2, Fix browser bridge, lifecycle
AI-assisted-by: muse-spark, glm-5.3
2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
6b5d50428b 🚧 WIP Step 12.1, Improve case validation
AI-assisted-by: muse-spark, glm-5.3
2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
7adeb379fc 🚧 WIP Step 12, temporary pilot
- pilot runner for testing
- will be entirely removed later

AI-assisted-by: muse-spark-1.3, deepseek-flash, glm-5.3
2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
fdaaa3f32d 🚧 WIP Step 11, browser bridge
- New schema:viewport
- Browser bridge (with some temp code)
- Move prepare-scene out measured regions
-
AI-assisted-by: muse-spark-1.3, deepseek-flash, glm-5.3
2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
0d77b38d5c 🚧 WIP Step 10, scene upload 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
a1839607f9 🚧 WIP Step 10, defcase body validation, docs 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
49f4d8661a 🚧 WIP Step 9, fix naming conventions 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
3246cd0873 🚧 WIP Step 8, simplify and clean up tests 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
5ddf1bf4fd 🚧 WIP Step 7, scene and case declarations 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
7edec67bbe 🚧 WIP Step 6, ellipses 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
da66471a6b 🚧 WIP Step 5, bools 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
ff51b82ca5 🚧 WIP Step 4, frames and groups 2026-10-30 20:08:27 +01:00
Miguel de Benito Delgado
3fff7a5679 🚧 WIP Step 3, fixture macros, prng, defaults, placeholder scene 2026-10-30 20:07:34 +01:00
Miguel de Benito Delgado
3541b95e82 🚧 WIP Step 2, common scene code, validation 2026-10-30 20:07:34 +01:00
Miguel de Benito Delgado
ee614ea309 🚧 WIP Step 1, scaffold cljs benchmark runner 2026-10-30 20:07:34 +01:00
Miguel de Benito Delgado
723267cfdd
🐳 Expose GPU in devenv (#12726)
* ✨ Add GPU support to the devenv

AI-assisted-by: gpt-6.1-sol

* 📚 Fix broken link in dev docs
2026-10-30 15:13:29 +01:00
Alejandro Alonso
94836cb8c8 Merge remote-tracking branch 'origin/staging' into develop 2026-10-30 13:22:09 +01:00
Alejandro Alonso
759a2b301c
⚡ Speed up restore of deleted files via storage unmark (#12731)
Rewrite sql:restore-storage-objects so referenced storage ids are
collected as UUIDs first and then joined by primary key. The previous
form cast storage_object.id to text and OR-ed that with id IN, which
forced a scan of deleted storage rows and made restore-deleted-team-
files time out in production.

Closes #12727
2.19.0-RC5
2026-10-30 09:41:59 +01:00
Elena Torró
b48d163f5f
⚡ Fix slow drop shadow spread in CPU exports (#12718)
* ⚡ Fix slow drop shadow spread in CPU exports

* 🐛 Fix text opacity in board drop shadows on CPU exports
2026-10-29 18:27:19 +01:00
Eva Marco
0fa1077b9a
🐛 Render no type attribute on DS buttons used as links (#12709)
* 🐛 Render no type attribute on DS buttons used as links

With `to`, button* renders an <a href> but still passed type="button". On
an anchor, type is a MIME type hint, so "button" is invalid HTML. The
type now applies only when the element is a <button> (still "button" by
default).

New "As Link" story with two tests: the link has its href and no type,
and a plain button keeps type="button".

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

* 📚 Document the DS button as a link

The Semantics section only said that button* accepts `to`. It now says
when to use it (the control goes to another URL), what it renders (an
<a href> with the button style and no type), how to keep the in-app
navigation on a plain click, and shows the "As Link" story.

AI-assisted-by: claude-opus-5-5
2026-10-29 18:10:16 +01:00
Eva Marco
12dd4d19d0
♻️ Use a DS icon button for Share in the workspace header (#12681)
* ♻️ Use a DS icon button for Share in the workspace header

The Share link of the right header becomes an icon-button* with the DS
share icon, like its neighbours (comments, history, viewer). It gets
keyboard focus, a name and the DS tooltip and hover.

It also makes Share visible again on develop: since the share icon
moved to currentColor, the legacy icon drew with the transparent color
of its svg.

The button is 32px wide instead of 28px, so the zoom, comments and
history controls move 4px to the left.

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

* 🔥 Remove the share link styles from the workspace header

Delete .share-btn and its svg rule, which no markup uses since Share is
a DS icon button. refactor/ stays only for the menu placeholders.

No visual change (0 px).

AI-assisted-by: claude-opus-5-5
2026-10-29 18:10:02 +01:00
Eva Marco
755369276d
🐛 Fix stack overflow when applying a library update (#12661)
* 🐛 Fix stack overflow when applying a library update

Each shape updated by a component sync added its reg-objects undo change
with (update :undo-changes concat [...]). That wrapped the whole undo list
in one more lazy concat per shape, with the old list at the head. After a
few thousand shapes, walking the list overflowed the stack, which matches
the nested LazySeq frames reported when a library update is applied.

add-update-attr-changes now conjs the reg-objects before the mod-obj, so
undo restores each shape and then recalculates its parents, as redo does.

The trailing reg-objects also recalculated groups after undoing shapes
that the sync added or removed. To keep that, add-shape-to-instance,
add-shape-to-main and remove-shape now add their own undo reg-objects,
conjed before their other undo changes so it runs after them.

Tests cover many calls to add-update-attr-changes, a sync and undo of
many shapes, and undoing a sync that moves, adds or removes a child of a
group in the copy.

Closes #12576

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

* 🐛 Test undo of an inverse sync that adds a shape

The previous commit added an undo :reg-objects to add-shape-to-main, so
undoing an "update main component" recalculates the main's groups after
removing the added shapes. No test covered it.

The new test adds a shape at the start of a group in the copy and changes
a sibling's fill, runs the inverse sync and undoes it. Without the undo
reg, the main group keeps the bounds of the removed shape.

AI-assisted-by: claude-opus-5-5
2026-10-29 18:09:46 +01:00
Eva Marco
66f1f689f8
♻️ Use the DS select for the gradient type in the colorpicker (#12653)
* ♻️ Use the DS select for the gradient type in the colorpicker

The Linear / Radial select of the gradient options used the legacy
select. It now uses select* with string ids, converted back to the
gradient type keyword in the handler.

Visible changes: the DS select look (label 1px higher, DS list with
taller rows and the DS check mark, opening 2px lower). The list still
opens inside the colorpicker, so it needs no portal.

The "Create a RADIAL gradient" e2e test picks the type by role instead of
a DOM position that only matched the legacy markup. New ds visual test
"Gradient type select": closed, hover, open and changed.

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

* ♻️ Move colorpicker gradient styles off the deprecated styles

gradients.scss now uses DS spacing, sizes, borders, typography and
logical properties, and resolves the --menu-shadow-color alias. The
deprecated import stays only for %input-element: the stop offset input
moves to the DS with the numeric inputs group.

The offset input uses body-small (line-height 1.3 instead of 1.4); the
input keeps its height, so nothing moves. 0px difference against the
previous commit, including a new shot of the whole gradient panel.

gradients.cljs uses an icon-text class that has no rule in this file.

AI-assisted-by: claude-opus-5-5
2026-10-29 18:09:35 +01:00