feat(client): redesign native UI, themes, settings and avatars

Separate conversation drafts and voice view state, add native settings and restricted CSS themes, implement validated avatar cropping, and refresh dependencies with documented desktop compatibility backports.
This commit is contained in:
Loki 2026-10-24 14:23:48 +02:00
parent 44d284a568
commit 8e5ab56611
Signed by: boba
GPG key ID: 253067914055423B
276 changed files with 53546 additions and 3399 deletions

View file

@ -193,3 +193,31 @@ cargo build --release
# Binary
./target/release/vnox-client
```
## Native client redesign (October 2026)
The current Slint shell uses neutral graphite surfaces, a server/channel sidebar,
readable variable-height messages, a collapsible member panel, and persistent
voice/profile controls below navigation. DM selection uses conversation IDs.
Drafts are isolated per conversation and are cleared when leaving a server.
Editable text, settings tabs, and keyfile forms survive UI synchronization.
Audio settings expose actual device lists, transmission mode, volume, and bitrate;
preferences are saved in the platform config directory at `vnox/audio.json`.
Push-to-talk has a hold control in the voice view. Encrypted identity vaults show
an unlock screen at startup. Message deletion asks for confirmation.
The UI has no demo members/messages. Threads, uploads, camera, screen sharing,
and global Hub features remain future work. The existing client JSON transport
still needs migration to the server's Protobuf/TLS contract. The server currently
has a single channel membership per session, so independent server-side text and
voice subscriptions are not guaranteed by the new local view state. Legacy E2EE
DM sends are blocked with a retained draft until a verified nonce/message-ID
contract is implemented; the client does not advertise unverified E2EE status.
For native headless rendering and binding regressions, run `cargo test --workspace`.
Set `VNOX_UI_SNAPSHOT_DIR=/tmp/vnox-ui` to emit test-only PPM screenshots for the
chat, settings, voice, and connection views. These screenshots use test fixtures
and do not connect to a server.
See [Themes and profile photos](themes.md) for appearance presets, restricted CSS themes, and the local avatar cropper.