Merge branch 'claude/gifted-lovelace-1crlx2' into worktree-agent-a5ecbed1e5dd55ddc

This commit is contained in:
selikhov committed 2026-10-04 09:28:11 +03:00
commit 608bd2fbf2
22 files changed
+614 -84

No files matched your search

+21 -8
View File
@@ -171,14 +171,27 @@ voelinctl identity export <id> <path> [--store <db>]
**On every start** the app does the same as `import --auto`
(`voelin_core::identity::import_new`): identities found in the default
locations that the client database does not have yet are added, the files
are only read. The identity the official client uses by default (field 5 of
its payload, below) goes in first, so when Voelin has no identity of its own
yet, that one becomes Voelin's default (the first identity) and servers see
the same unique id; otherwise Voelin's default stays. What was imported is
shown once, in the status line (the toast on desktop), by nickname. The
runtime setting `identity.import_from_teamspeak` (default on) turns it off,
e.g. `--set identity.import_from_teamspeak=false`. The sample data of
`VOELIN_DEMO_UI` never imports.
are only read. The user should appear as on the official client, so the
identity the official client uses by default (field 5 of its payload, below;
TeamSpeak 6's before TeamSpeak 3's) becomes Voelin's default when Voelin has
none, or only the one it created on its own the first time it started,
which nobody chose. That happens once: the created identity is kept, and
choosing it again in Settings → Identities makes it the user's own, which
no import replaces; identities that were imported or chosen are never
replaced. The store keeps where each identity came from and which one is the
default (`identities.origin`: `created`, `imported`, `user`;
`identities.is_default`; schema version 4, which marks the first identity
named `Default` of an older database as created). What happened is shown
once in the status line (the toast on desktop), by nickname, e.g. "You now
use your TeamSpeak identity "X"; your previous one is kept". The runtime
setting `identity.import_from_teamspeak` (default on, also in Settings →
Identities) turns it off, e.g. `--set identity.import_from_teamspeak=false`.
The sample data of `VOELIN_DEMO_UI` never imports.
**Settings → Identities** lists the stored identities with where they came
from, their security level and unique id; "Use as default" picks the one
servers see from the next connection on. `voelinctl identity list` shows
the same (origin and default).
- **Import** prints what it found as nickname, unique id and security level —
all three are public, everything else in an identity is the private key —
Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

+8 -1
View File
@@ -227,6 +227,12 @@ server is saved without one and when it connects
and one found is stored as if typed. `bookmark` and `bookmark:edit` open
it (below).
Settings → Identities (`IdentitiesSection` in `screens/settings.slint`,
`identities.rs`) lists the stored identities, marks the default and has
"Use as default" for the others, plus the switch for importing the
official clients' identities on start ([identity.md](identity.md)).
`settings:identities` opens it.
## Adding a screen
1. Write the screen in `ui/screens/<name>.slint` from the components
@@ -288,7 +294,7 @@ Environment variables (see `src/dev.rs`):
- `VOELIN_DEMO_UI=1`: sample servers, channels, members, chat with emoji and
a stream, without a server (nothing is stored).
- `VOELIN_OPEN=<what>[,<what>...]`: `home`, `server`, `settings[:voice|keybinds|streaming|privacy|appearance]`,
- `VOELIN_OPEN=<what>[,<what>...]`: `home`, `server`, `settings[:voice|keybinds|streaming|privacy|appearance|identities]`,
`about`, `share[:live]`, `bookmark[:edit]`, `emoji`, `client`, `panel`, `no-panel`,
`voice`, `pins`, `topics`, `topic:<id>`, `member`, `watch`, `popout`
(the server page, above), `tab:<home|servers|chat|activity|you>` (phone
@@ -344,6 +350,7 @@ the window's size so the pointer is not over the window, and passes
| ![emoji](screenshots/desktop-emoji-picker.png) | ![volume](screenshots/desktop-client-volume.png) |
| ![share](screenshots/desktop-share-dialog.png) | ![sharing](screenshots/desktop-share-live.png) |
| ![add server](screenshots/desktop-add-server.png) | ![about](screenshots/desktop-about.png) |
| ![identities](screenshots/desktop-settings-identities.png) | |
| Phone layout | | | | |
|---|---|---|---|---|