docs: a part's notify draws the whole window, not just the part

The records said the shell's parts draw only when what they show changed.
In gpui-pre 0.3.10 a child view embedded with .child(entity) is rendered
on every frame (only Entity::cached and AnyView::cached reuse a subtree),
so a part that is told tells the window, and the window draws every part.
Correct the shell section of docs/ui.md, the status paragraph of the
spikes report and the module comments of the shell and the root state,
and add to "For the next slices" the gate's notes: heavy panes cached and
Update.refresh turned into per-area signals, Update.reloaded ignored and
img() caching by path, SettingChanged for audio and playback not reloaded.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-27 19:12:52 +03:00
1 parent 0d32ac25f0
commit 7c0f385f2f
8 files changed
+53 -14

No files matched your search

+3 -2
View File
@@ -37,8 +37,9 @@ the slices that meet them are in docs/ui.md, "For the next slices". Item 5, the
desktop shell, is slice 1 of the step's list and landed on `phase5/gpui-shell`
(2026-10-27): the store at start (the client's database, the settings with the
UI's keys, the secrets, the default identity), the server rail, the sidebar,
the top bar and the main area as entities that draw when what they show
changed, the eleven callbacks of `bind/servers.rs` as actions through
the top bar and the main area as entities that tell the window when what they
show changed (the window then draws every part: gpui-pre 0.3.10 renders every
uncached child view on every frame), the eleven callbacks of `bind/servers.rs` as actions through
`voelin-ui-vm`'s logic and the engine's commands, the window's size and
position kept in `ui.window`, the engine-event task in steps and a tick that
draws nothing. What it shows, what it costs idle and what it leaves to the