diff --git a/docs/ui.md b/docs/ui.md index 2c146d9..337f4aa 100644 --- a/docs/ui.md +++ b/docs/ui.md @@ -197,11 +197,13 @@ engine, and the status line's `self.set_status(…)`, which writes the Bridge's status text too. In the seven largest files before this round's splits (230 calls: `streams.rs`, `chat.rs`, `app.rs`, `servers.rs`, `settings_page.rs`, `social.rs` and `dev.rs`) 150 are direct writes to the Bridge (140 written as -`bridge.set_…`, ten as `ui.global::().set_…` or a chained setter) and -37 go through the status line, so Bridge writes are about four fifths of those -files and direct ones about two thirds; the rest are `Nav`, window and engine -setters (in `dev.rs` mostly those). Each controller was a slice of the same -shape as `settings_pages` and `studio`: the decisions moved into +`bridge.set_…`, ten as `ui.global::().set_…` or a chained setter; +one of the ten is `set_status_text`, the write inside `set_status`, so it is +not one of the 36) and 36 go through the status line, so Bridge writes are 186 +of the 230, about four fifths of those files, and direct ones about two +thirds; the rest are `Nav`, window and engine setters (in `dev.rs` mostly +those). Each controller was a slice of the same shape as `settings_pages` and +`studio`: the decisions moved into `voelin-ui-vm/src//logic.rs`, the writes stayed in `voelin-ui/src//bind.rs`. The `.set_` calls of each file before and after, every number counted with that command: @@ -237,7 +239,7 @@ stand): |---|---|---| | `app.rs` | 31 | setup, the status line, the toolbar and tree refreshes, `setting_changed` (which setting touches what); the event dispatch itself is `vm::events::handle` and `events::apply` | | `images.rs` | 13 | the decoded-picture cache | -| `messages.rs` | 12 | direct messages | +| `messages.rs` | 11 | direct messages | | `appearance.rs` | 11 | theme, font scale and breakpoints | | `popout.rs` | 8 | the viewer's own window | | `members.rs`, `links.rs`, `inbox.rs`, `home.rs`, `events.rs` | 6, 5, 5, 5, 4 | small; split with their neighbours |