diff --git a/CHANGELOG.md b/CHANGELOG.md index a0735c5..fb388f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` 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 - Twemoji archive moved with them. Nothing changes on screen. See - docs/ui.md, "Two crates". + Twemoji archive moved with them. Two things change on screen: the chat of + 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 key, the signed-in account) with the account each belongs to, as a `voelin-identity` key store, in two database migrations. Existing diff --git a/crates/voelin-ui-vm/src/host.rs b/crates/voelin-ui-vm/src/host.rs index b0294f2..b111915 100644 --- a/crates/voelin-ui-vm/src/host.rs +++ b/crates/voelin-ui-vm/src/host.rs @@ -201,10 +201,13 @@ pub struct Update { /// The session on screen got its state or its presence: the development /// switch that opens the volume dialog of the first client may act. pub first_client: bool, - /// The event, when it is not (only) a matter of this state: a stream we - /// watch or share, the settings service. The front end handles those - /// itself ([`crate::events`] lists them), before it draws what `refresh` - /// names, as what it keeps may be on screen. + /// The event, when its state is not in the [`AppState`]: the Stream + /// Studio's stream (`Host::studio_streams_to`), a setting that changed (the + /// settings service) and the answers to the offline message requests, which + /// 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, } diff --git a/docs/ui.md b/docs/ui.md index 09a92fb..6d6d041 100644 --- a/docs/ui.md +++ b/docs/ui.md @@ -247,7 +247,7 @@ stand): | 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 | | `messages.rs` | 11 | direct messages | | `appearance.rs` | 11 | theme, font scale and breakpoints |