docs: the three minors of the Opus gate of phase5/ui-vm-2

docs/ui.md: the app.rs row of the step-3 table points the toolbar and
tree refreshes at servers/bind.rs, where they live; app.rs only calls them.
voelin-ui-vm host.rs: the doc of Update::rest matches the events module
(the Studio's stream, a changed setting, the offline-message answers; the
watched and shared streams are state and go through the stream effects).
CHANGELOG: the two visible fixes of the branch are named instead of
"nothing changes on screen".

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Fable 5.1 committed 2026-10-25 10:45:33 +03:00
1 parent 6c8d4bbb61
commit 785bbd050b
3 files changed
+12 -7

No files matched your search

+4 -2
View File
@@ -76,8 +76,10 @@ User-visible changes of the apps and the `tsgw` gateway. The format follows
depends on no UI toolkit (a second front end can use it); `voelin-ui` depends on no UI toolkit (a second front end can use it); `voelin-ui`
converts its plain rows into Slint's and keeps the window, the Bridge writes converts its plain rows into Slint's and keeps the window, the Bridge writes
and the engine's tasks. The chat formatting reader and the and the engine's tasks. The chat formatting reader and the
Twemoji archive moved with them. Nothing changes on screen. See Twemoji archive moved with them. Two things change on screen: the chat of
docs/ui.md, "Two crates". a server that is gone takes the colour of its title instead of opaque
black, and a cached avatar file cut after a valid header shows the
initials instead of a broken picture. See docs/ui.md, "Two crates".
- The identity store keeps identities of more than one kind (TeamSpeak, a Voelin - The identity store keeps identities of more than one kind (TeamSpeak, a Voelin
key, the signed-in account) with the account each belongs to, as a key, the signed-in account) with the account each belongs to, as a
`voelin-identity` key store, in two database migrations. Existing `voelin-identity` key store, in two database migrations. Existing
+7 -4
View File
@@ -201,10 +201,13 @@ pub struct Update {
/// The session on screen got its state or its presence: the development /// The session on screen got its state or its presence: the development
/// switch that opens the volume dialog of the first client may act. /// switch that opens the volume dialog of the first client may act.
pub first_client: bool, pub first_client: bool,
/// The event, when it is not (only) a matter of this state: a stream we /// The event, when its state is not in the [`AppState`]: the Stream
/// watch or share, the settings service. The front end handles those /// Studio's stream (`Host::studio_streams_to`), a setting that changed (the
/// itself ([`crate::events`] lists them), before it draws what `refresh` /// settings service) and the answers to the offline message requests, which
/// names, as what it keeps may be on screen. /// the messages page keeps. The watched and shared streams are not among
/// them: they are state here and go through the stream effects. The front
/// end handles these itself ([`crate::events`] lists them), before it draws
/// what `refresh` names, as what it keeps may be on screen.
pub rest: Option<Event>, pub rest: Option<Event>,
} }
+1 -1
View File
@@ -247,7 +247,7 @@ stand):
| File | `.set_` calls | What it mixes | | File | `.set_` calls | What it mixes |
|---|---|---| |---|---|---|
| `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` | | `app.rs` | 31 (4 in tests) | setup and the model hand-off, the status line, `setting_changed` (which setting touches what); the event dispatch itself is `vm::events::handle` and `events::apply`; the toolbar and tree refreshes are `servers/bind.rs` (`refresh_toolbar`, `refresh_tree`), which `app.rs` only calls |
| `images.rs` | 13 | the decoded-picture cache | | `images.rs` | 13 | the decoded-picture cache |
| `messages.rs` | 11 | direct messages | | `messages.rs` | 11 | direct messages |
| `appearance.rs` | 11 | theme, font scale and breakpoints | | `appearance.rs` | 11 | theme, font scale and breakpoints |