Skip to content

Commit 8e759ce

Browse files
committed
Document new Customizer UI learnings
Fixes #76
1 parent f4040d0 commit 8e759ce

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,15 @@ This applies to both this repo (`pixelgrade/style-manager`) and the theme repo (
185185
- In this Local setup, WP-CLI may fail DB connection because `DB_HOST=localhost` resolves to socket while CLI PHP default socket is not Local's socket.
186186
- If WP-CLI fails with `Error establishing a database connection`, verify via browser/admin or use explicit Local socket tooling.
187187
188+
## Customizer UI Learnings
189+
190+
- Perceived lag in Typography controls is often post-click Customizer work, not the shared `.sm-radio-group` shell or delayed click dispatch.
191+
- For bulk Typography setting changes, reduce duplicate downstream updates before tuning control cosmetics.
192+
- Voice Tuner controls feel more responsive when the selected radio paints first and the palette resort runs on the next animation frame.
193+
- Prefer deferring heavy sidebar-only DOM work by one frame instead of doing it in the same click turn.
194+
- Customizer sections can reshuffle injected controls after the first render.
195+
- When adding synthetic rows that must stay adjacent to native controls, anchor them to a stable sibling, rerun placement on the next frame, and keep a `MutationObserver` on the section container to restore the intended order.
196+
188197
## Similar Plugin Build Notes (Nova Blocks)
189198
- Same build pattern as Style Manager
190199
- `gulp zip` needs WP CLI environment

0 commit comments

Comments
 (0)