Skip to content

Commit 237660a

Browse files
committed
chore(changeset): console first load drops the Studio and metadata form strings
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5ousB2MKFUbJFc3Hwp
1 parent dba2847 commit 237660a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@object-ui/console': patch
3+
---
4+
5+
perf(console): the first load no longer downloads the Studio designer strings and the metadata form strings
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
Every Console route, a dashboard included, used to download the Studio designer's English strings (64 KB gzipped) and the metadata form strings before the app asked for any data, though only Studio and Setup screens draw them. They were held there by five components the Console registers or mounts at load: the Studio canvas's default object grid, the Setup datasources page, the position list's holder and permission-set cells, a list's "Create view" dialog and the preview bar's "Pending changes" sheet. Each now loads the first time it is drawn, and the Studio strings' loader gets its own chunk. English stays the strings' synchronous fallback once a Studio or Setup screen has loaded. The Console's eager closure (`dist/eager-closure.json`) goes from 2,165,707 to 2,058,468 bytes gzipped (−107,239), measured on two builds of the same tree. What each screen draws is unchanged; the datasources page shows a one-line loading notice while its code arrives.

0 commit comments

Comments
 (0)