Files
VoelinClient/crates
faumarayandClaude Sonnet 5.5 03f4a92161 Split the settings pages: logic into voelin-ui-vm, the Bridge writes stay in bind.rs
settings_pages.rs had 52 Bridge writes interleaved with what the pages
show and change. The decisions now live in
voelin_ui_vm::settings_pages::logic and work on the settings service, the
AppState and the plain bridge rows:

- the forms read from the settings (video, streaming, notifications,
  privacy, advanced), the layer and audio-source rows and the filtered list
  of all settings;
- the settings written from the forms (apply_video, apply_streaming,
  layer, audio source, SRTP profile, notification, privacy and advanced
  edits), each returning the messages for the status line instead of
  writing them;
- the Integrations rows (gateways, configuration keys, permission rules,
  encoders and decoders with their status texts) and the Profiles rows
  (identities, bookmark pickers, what an import found, the account form);
- the pages' own state (PagesState, Improving), the layer, preset and
  codec helpers, allowed_index/of and origin_label, with the tests that
  went with them and tests for each of the above.

voelin-ui keeps settings_pages/{mod,bind}.rs: Pages (PagesState plus the
camera preview and the audio-app watcher), the Bridge and model writes, and
what a change sets going (camera, engine, identity store, threads). A
message the logic returns is logged and shown as before; the one visible
difference is that the "A layer needs a size" hint is logged with it.
serde_json becomes a regular dependency of voelin-ui-vm (the JSON typed into
the Advanced list); the lock file is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 15:31:53 +03:00
..