Commit Graph
57 Commits
Author SHA1 Message Date
faumarayandClaude Sonnet 5.5 668c1a8038 Give the bridge struct counts as they are in docs/ui.md
The text said 49 (the plan's figure); bridge.rs has 51 and studio_bridge.rs
10, and MytsBadge and MytsForm stay in Slint.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 20:37:49 +03:00
faumarayandClaude Sonnet 5.5 767a9dad46 Document the two UI crates, the adapter boundary and the controllers still to split
docs/ui.md: the structure of voelin-ui-vm and voelin-ui, a "Two crates"
section (values, lists, conversion, state, logic/bind) and the written list
of the controllers that still interleave logic with Bridge writes, with
their .set_ counts, for the next round; the pointers to the moved files
(Twemoji archive, BBCode reader, settings pages, studio) are corrected.
docs/architecture.md: the crate table has voelin-ui-vm. README.md and
CHANGELOG.md name the new crate. Module comments that pointed at studio.rs
and vm/ point at studio/ and the crate.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 16:06:29 +03:00
faumarayandClaude Sonnet 5.5 1bee9c94e8 client: myTeamSpeak support leaves the client
CI / Linux checks (push) Failing after 1s
The public client repository must not carry third_party/schema-api:
TeamSpeak's non-public myTeamSpeak API protocol definitions, which came
without a licence. The account sign-in built on them (crates/voelin-myts)
goes with it, since nothing else in the client used that snapshot.

Removed: third_party/schema-api, crates/voelin-myts, the account module of
voelin-ui (sign-in, saved session, profile, avatar, badges, User Tag), the
login page at start and the live account test of voelin-core. The workspace
members, default-members and exclude lists, both manifests and Cargo.lock
no longer name them (tonic, prost-build and their dependencies drop out of
the lock file and THIRD_PARTY_NOTICES.md; about.hbs has no schema-api
section).

Settings -> My Account keeps the identity in use and shows a note that
account sign-in is not available in this build. The Slint account screens
stay, fed neutral values (Bridge.myts keeps its default: signed out, not
available, no prompt), so the account can return without redoing them. The
TeamSpeak protocol parts in tsproto/tsclientlib (myTS ID, other users'
badges and avatars) are untouched.

The account returns later through the gateway library (VoelinGateWay); the
research notes in docs/research/myteamspeak.md stay and say so. CHANGELOG,
docs/ui.md, docs/identity.md and SECURITY.md no longer describe the account
as present. A session an earlier build saved stays in the system keyring
(item myts/session) until the user deletes it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 00:17:05 +03:00
Claude d0cd3f6cfd ui: the Servers tab is titled Servers, and the voice card names only the channel
On the phone's Servers tab the top bar showed the server's name and counts,
which the server card right below it shows too, and the voice card named
the server again ("Chill Zone / Nightfall Guild"). The top bar now says
Servers, as the Activity and You tabs say their names; the server card
stays the one place for the name, the counts, the banner and its Edit
server / Add a server menu. The voice card shows only the channel, on
desktop too; while connecting, before there is a channel, it shows
Connecting… alone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-08 18:53:08 +00:00
Claude 034ee44e60 ui: the phone's voice screen gets one header, room for chat and Hold to talk
The shell's top bar is the only header on the voice screen: Back, the
channel on its banner, the server below it. ChannelBar and ChatHeader are
gone, Pinned Messages and Topics are entries of the More menu, and Leave is
only in the bottom bar. The people strip and the scroll cap leave the chat
about 320 px at 390 x 844 (it had about 190).

With push-to-talk, Hold to talk is the bottom bar's middle control and the
composer's microphone button is gone; Go Live and Share are one Share
control that opens the share menu, as on desktop; the microphone button
reads Mic on or Mic off.

The audio form was only filled when the settings opened, so every start
showed push-to-talk controls whatever the stored mode; the transmit mode is
now set at start and when the setting changes.

VOELIN_OPEN=more opens the More menu for screenshots. The menu is not in a
layout, so Slint centred it in the bar and it opened 30 px low; it now sits
at the bar's corner.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-08 17:34:15 +00:00
Claude a6caffa579 ui: streams pop out into a window of their own
Pop out now opens ViewerWindow: the player alone, titled with the
stream, which a pin keeps on top of other windows (always-on-top). The
main window goes on; the stream's card on the voice page says it plays
in its own window, with Bring back; closing the window brings it back
too, on the stream's server, and Leave closes it. Pictures go only to
the window that shows the player, so none is scaled twice; full screen
and the cursor follow that window.

The stream callbacks take a Bridge, the models attach to any Bridge,
the theme is copied to every window of its own, and one main-window
close handler, installed at start, closes the studio's and the stream's
windows (the studio installed its own before). Desktop only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-08 14:20:36 +00:00
Claude d404cb06a7 ui: a theatre mode for the stream viewer
What "pop out" did, filling the window without the shell, is now theatre
mode (Nav.theatre) with a button of its own in the player. The chat stays
under the picture, the members button goes, and it ends with the viewer;
a narrow window keeps the phone layout. Escape leaves full screen, then
theatre mode: the window's keys take the focus when the viewer moves to
the whole window, into full screen or from it back to theatre mode, since
what had it is gone.

Until the viewer gets a window of its own, Pop out toggles theatre mode
too, and VOELIN_OPEN=popout is watch,theatre.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-08 11:45:04 +00:00
Claude 0aee710c19 ui: the stream viewer's controls hide while you watch
The controls fade 2.5 s after the pointer last moved over the picture and
come back when it moves; in full screen the cursor hides with them, and
on a touch screen a tap on the picture shows or hides them. A status or
the stream's end keeps them, and so does a pointer that was never over
the picture, so screenshots still show them.

In the shell the streamer, title, viewers, LIVE and the quality move from
the picture into the header, so nothing covers the picture at rest; in
full screen (and on the phone) they stay over it under a taller, darker
shade and hide with the controls. The streamer's avatar now comes from
the engine's cache for any streamer, also one outside our channel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-08 09:39:26 +00:00
Claude e1b4a207c5 ui: stream cards show the streamer's avatar on a painted scene
TeamSpeak streams carry no thumbnail, and a peek would be a join request
the streamer sees, so a stream card not being watched now shows the
streamer: their avatar, ringed, with what they share, on the art scene
tinted with their colour (Art moves from home.slint to components). The
compact rows and the phone's Activity cards show the avatar too, and our
own stream from the Stream Studio shows the studio's picture while live.
StreamItem gets avatar, initials, tint and studio; the kind label is the
pure vm::streams::kind_label, used by Home as well.

In the demo, the studio going live announces our stream, and studio:live
starts the studio itself, so studio:live,server,voice shows the card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-08 07:21:20 +00:00
Claude 26c7d9c97c ui: a call bar on the voice page, and a smaller stage for the chat
The desktop voice view gets mute, deafen, share, the voice settings and
Leave under the people and streams (VoiceButtons gains round and filled);
Voice Settings and Leave leave the header, which gets a Smaller stage /
Larger stage button. The smaller stage, one row of compact people and the
streams as rows, gives the chat about 200 px back and is stored as
ui.voice_compact. Windows under 800 px tall always use it: the larger
stage and the bar left no room for the chat or the composer there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-08 04:57:53 +00:00
Claude 923f119ff6 ui: one Participant and StreamCard for desktop and phone voice
Participant and StreamCard move into screens/voice-parts.slint with a
`compact` look that replaces the phone's VoiceMember and StreamPrompt, so
the compact stage and the phone's voice screen can share them. The phone's
VoiceControl goes: IconButton and ActionButton get `alarm`, the filled red
Leave, and `edge`; ActionButton also gets `icon-size` and `checkable`.

The screenshots are unchanged. The phone's voice-bar buttons now behave
like the You page's: hover, keyboard focus, surface-4 while pressed, and
an accent caption while Sharing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-08 03:38:52 +00:00
Claude 7ab43bbf60 Merge PR #11: myTeamSpeak avatar, badges and User Tag; banners; gateway speed and logs
Conflicts and how they were resolved:
- CHANGELOG.md: both sides' lines kept under [Unreleased], each in its
  section; the badges line says TeamSpeak 6's verified badges come first.
- crates/proto/UPSTREAM.md: #11's myTeamSpeak presentation stays patch 15;
  this branch's privilege key (default_token) patch becomes 16.
- voelin-core web.rs: #11's downloader (retry hints, revalidation, proxies,
  per-host limits) as it is. The chat pictures' size limit sits on top as
  web::fetch_chat_picture, which narrows #11's Limits; fetch_within takes
  them by value. The badge pictures go through #11's fetch like banners.
- voelin-core session.rs: both sides' fields kept (chat_pictures and
  unfetchable). Chat pictures ([img]) are an ImageRequest of their own
  (ChatPicture) instead of sharing Picture with banners, so #11's banner
  policy (retried every 15 minutes while shown, logged by address) does
  not apply to them: they keep the 1, 4, 16 s retries and are checked
  against the size they were asked for; their failures are logged by host
  at debug level. Badge pictures stay Pictures next to #11's banner loop
  (with its unfetchable-scheme log).
- voelin-ui servers.rs: #11's imports (Instant, debug) with this branch's
  (no SharedString).

Where the two badge features meet: the presence's badges are now
voelin_model::shown_badges, TeamSpeak 6's client_signed_badges (what #11
sends for our account, and other TS6 users' verified badges) first, then
client_badges, each once; so the badges chosen in Settings → My Account
show in the tree and on the member card like other people's.

Also: docs/ui.md describes My Account's badge choice and User Tag, the
new ui.image_cache_mb default (256), and the picture downloads as #11 left
them (16 at once, 6 per host, 128 MiB, the new timeouts, banner and badge
retries, proxies, BMP and ICO, scaling down past 4096 pixels) with the
chat pictures' own retries; the demo's login:account switch fills in a
badge choice and a User Tag for screenshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-08 02:14:08 +00:00
Claude 48bc99a594 ui: private chats on the Direct Messages page, not in the chat tabs
The server's chat strip shows the server chat and the channel chats.
Private chats stay tabs of their session, so history, the composer and
previews keep working, but the strip leaves them out (vm::chat::strip)
and a private chat is current only while the Direct Messages page shows
it; leaving the page goes back to the strip's last chat. The rail and the
Chats tab count only the server's and channels' unread messages; private
ones count on Direct Messages and, on the phone, on the Home tab.

Closing a tab left of the selected one no longer selects the next chat.
Voice connecting while a private chat is open keeps that conversation
(it became the voice channel's chat, and the composer sent there).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-08 00:57:26 +00:00
Claude 2e3ddc11ec ui: pins and topics as icon buttons with a count in the chat header
The labelled Pinned Messages and Topics buttons took about 300 px of the
header, so the channel's topic was cut first. They are icon buttons now,
named in their tooltip, with how many pins and topics the chat has
(Bridge.pins-count and topics-count, -1 until the gateway answered).

The counts are asked for when a chat comes on screen (a tab, a server, a
gateway that connects, another server after a delete), not only when a
drawer opens, so they show before. An answer for a chat that was closed
meanwhile is dropped, instead of reopening it as a tab named Server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-07 22:03:43 +00:00
Claude 14ea206521 ui: a colour per server, one letter in small avatars, one channel icon
Servers took their colour from a palette of people's colours by a hash
of the name, so two of the three sample servers were the same blue.
vm::servers::tints gives each server, in the rail's order, a colour
from ten hues around the wheel: its name's, or the next free one when
an earlier server has it. The rail, Home, search, live rooms and the
server chats in the chat lists use it. A server icon at most half as
wide as its avatar (TeamSpeak's 16 px ones) is drawn at twice its size,
sharp, on that colour instead of stretched.

Avatars under 28 px show one letter (Images.first-letter, as Slint
cannot cut a string). Channels show the speaker (Icons.channel)
everywhere the hash or the volume icon stood for one, and tab titles,
notifications and subtitles name them without a '#' (vm::chat::tab_title;
private chats keep '@').

Member rows showed everyone's talk power as a bare number. They now show
a muted hand, "Needs talk power to speak", only on those whose channel
needs more than they have and who are no talker (vm::tree::cannot_talk);
the member card keeps the number. The sample's Raid Night needs 50.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-07 20:06:16 +00:00
Claude 65ff5f6693 ui: TeamSpeak links open the server dialog, or move you in voice
Links to ts3server://, teamspeak:// and tmspk.gg in chat were only
copied. voelin_model::Link reads them, and invite_link now writes
through ServerLink::to_url, so a copied invite reads back the same (a
'/' in a channel's name stays %2F in the link, \/ in the path).
App::open_link (links.rs) finds the saved server with that address
(vm::servers::same_address; of several, the one in voice, else the one
shown: link_server). In voice on it, it moves into the link's
channel (channel_by_path) through join_channel, so a locked channel
asks for its password when the link's is missing or wrong. Otherwise
the server dialog opens filled in by link_form, over the saved
server's form when there is one: its nickname stays. Nothing connects
before Connect. Invite codes need a TeamSpeak service; a toast says
so. VOELIN_OPEN=link:<url> goes through inbox::Request::OpenLink,
where the platform's links will come in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-07 17:50:04 +00:00
Claude 7965187d2c ui: home continues where you left off, with unread mentions
The banner carousel repeated the servers below it, and the quick actions,
the friends and the sidebar art appeared twice. Home now shows the banner
only before the first server; after it a card with the last voice channel
(`ui.last_voice`, Join or Open) and up to three unread mentions. Friends
show once, and the sidebar lists the five newest private chats.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-07 15:40:34 +00:00
Claude a3b61bca70 ui: a slimmer top bar, and the bell's panel under the bell
The top bar repeated what the rail and the pages show: the logo and the
app name, the page's name, a members button that only worked on the
server page, and About. It now holds the search, starting over the main
panel, and the bell, in 44 px (taller only when large text makes its
controls taller). The members button moved into the voice channel's
header, as the chat's header has one; About stays in Settings and on the
phone. The Stream Studio already names itself in its preview's header.

The bell's panel opens under the bell instead of 100 px to its left, and
is as tall as its notices up to 560 px: a ScrollView of all the rows (at
most 100) replaces the ListView that stretched to the full height. A
notice is never shorter than its text, so a long list scrolls instead of
squeezing the rows.

The user card loses its settings gear, which the rail has too
(VoiceButtons gets `gear` for the call bar to come); its avatar and name
are a button to Settings > My Account.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-07 13:27:41 +00:00
Claude 95d86af627 ui: one dialog to add a server, with Save and Connect
Join a Server and Add a Server were the same dialog with other buttons,
and Join saved the server in Slint and then connected the one shown: when
saving failed, that was the server shown before. The dialog now has
Cancel, Save and Connect (also Enter in the address or password field).
Connect goes through Bridge.save-and-connect, which connects only the
server it saved (vm::servers::connect_to); it is hidden while the server
has voice, and Save is the main button then. On a phone Delete shows only
its icon, so the four buttons fit.

BookmarkForm carries a channel, its password and a privilege key for the
links to come: the dialog shows "Joins <channel>" and "This link grants a
server group", Connect connects into that channel, and connect_voice_to
passes the key on. Nav.join-server is gone; the dev switch join opens the
same dialog as bookmark. "Add server" reads "Add a server" everywhere.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-07 11:12:37 +00:00
Claude 4940966538 ui: a New line above the first unread message, and read markers kept on disk
Messages count as read only while their chat is on screen (Nav.chat-shown)
in the focused window: winit's focus events, through slint's
unstable-winit-030 on the desktop; Android counts a chat on screen as
read. A tab keeps the newest message read and counts what came after it,
not our own. Entering a tab with new messages puts a red New line above
the first one until the tab is left (so does a stored or gateway page
that brings them while the tab is on screen), and while that line is
above the view a bar over the list counts them, with Jump and Mark as
read.

voelin-store migration 5 adds chat_reads (Store::chat_read, set_chat_read,
chat_reads). Markers are loaded once a session's server is known and
written when a tab is left, marked read, its session ends and on exit,
never per message; a restart counts what came while away again, gateway
pages included. Dev switch VOELIN_OPEN=unread[:end].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-07 09:01:15 +00:00
Claude 2f3c2433b4 ui: older messages load when scrolling up, the rows on screen staying put
Scrolling to within a screen of the top asks for the page before; the
list keeps the rows from the top of the view to the end and goes back to
them once the page is in (rows, as the list places them by an average
height, then up to two corrections by their real heights). After a page
that brought nothing it waits until the list was a screen away. The
Older messages button moves to the top of the list, above the oldest
message (a spinner while loading), for a chat too short to scroll. A
short chat after a longer one no longer starts with its first rows above
the view, and another server's chat at the same tab starts at its end
too (it kept the last chat's place, and now its loading state). Demo
mode answers with two sample pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-07 06:27:38 +00:00
Claude 1435d9c909 ui: links open, and Copy text and Quote on every message
Links in chat did nothing. classify_link (vm/bbcode.rs) sorts an address
into a web page, a TeamSpeak server, a channel file or no link, and only
those reach TextRun.link. A click on a web link opens it through
App::open_url, the one place a platform without xdg-open can hook; one
whose text is not its address first shows where it goes (LinkDialog).
TeamSpeak links are copied until Voelin opens them. A right-click on a
link opens or copies it.

The hover bar was there only for messages a gateway knows. Every message
now has it, with Quote ("> Author: …" lines at the start of the
composer; TeamSpeak clients show [quote] as it is) and Copy text, and a
right-click menu. After Quote the composer has the focus, its cursor
below the quote, and grows to show the quote's lines: its field is one
line high, so an answer typed after clicking into it went into the
quote's last line. The bar keeps itself shown while the pointer is on
it or on the message's links and reactions: it reaches above its row,
where the row's hover ended, so its buttons could not be clicked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-07 03:47:03 +00:00
Claude 531334d826 ui: BBCode in chat, and the welcome message as the server chat's first line
Other clients format chat with BBCode, and it showed as raw tags; only
file links were taken out. One parser, vm/bbcode.rs, now reads every
message into a Doc of blocks (lines, quotes, code, list items, rules) of
styled spans, which the chat draws with one MessageText (also in the
pins drawer and the studio's chat), and which previews, notifications
and the home's news show on one line. Only known tags are read, so
relay prefixes such as [Nova] stay. Emoji are split per span, so a
message with emoji keeps its line breaks. [img] pictures on the web
come through the engine's picture cache (Command::FetchPicture), within
ui.image_preview_kb and only with cache.fetch_images; otherwise they
stay links. Built lines are kept per message and revision.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-07 00:56:14 +00:00
Claude 9e0f0e05ad ui: other people's badges, named on the member card and drawn after their name
Clients only send badge GUIDs. voelin-model names them from tsclientlib's
table plus the newer entries of TeamSpeak's own list, and the engine fetches
the first three pictures of each client from TeamSpeak's badge server
(<guid>/<filename>.svg, checked to answer) with the banners, under
cache.fetch_images.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-06 20:16:37 +00:00
Claude 42639fd206 ui: a password dialog for locked channels, and pokes with a message
Joining a locked channel sent no password, so the server refused it and
nothing said so; pokes always went out empty. Every join (a double-click
in the tree, joining a friend) now goes through App::join_channel: a
locked channel asks for its password first (join_password), which is
kept for the session until voice disconnects, and it is used when
connecting into the channel too. Event::JoinFailed asks again under
"Wrong password", or says the channel is full or why the server refused.
Without voice, a double-click connects into the channel, as joining a
friend did.

Connecting into a channel names it by id (`/<cid>`): by name the server
finds only a top-level channel, so a subchannel's name connected into
the default channel. A wrong password when connecting also puts us into
the default channel without a word, so the channel is joined again once
it shows in the presence (after_connect), and that move asks again.
Both seen on the dev TS3 and TS6 servers.

Poking opens a dialog with an optional message, its length counted up
to 100 characters; the UI trims and cuts it (poke_message), and the
engine cuts it on characters too. Both dev servers take 100 characters
of any width (400 bytes of emoji) and refuse 101 (seen through
ServerQuery). Dev switches channel-password[:wrong] and poke.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-06 17:46:43 +00:00
Claude 7e43178e04 ui: every kind of spacer channel, and its text wherever a channel is named
Only [cspacerN] was recognized, so [spacer], [rspacer] and [*spacer]---
rows showed their raw names, and so did chat tabs, search results,
notifications and the other screens that name a channel. parse_spacer
(in voelin-model, so the Android voice notification uses it too) reads
them all, with any suffix (it only keeps names unique); a line repeats
its text across the row and is cut at its end. The tree search, Ctrl+K
and the event form leave out lines and empty spacers. Names that go to
the server (the invite link, joining a friend's channel) stay raw; the
toast after copying an invite shows the text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-06 13:27:12 +00:00
Claude 61636b23c8 ui: one clipboard path, and Copy invite link in the voice header
Copying went through a hidden text field on the phone's voice screen
only. It moves into MainWindow: any screen calls Nav.copy(text), and
Bridge.copied() confirms it in one toast, shown again when its text is
the same as the last copy's. The invite leaves its own message for that
toast (the channel and the link) instead of a status of its own, so a
copy never shows two. The desktop voice channel view gets the same
Invite as a Copy invite link button next to Chat only.

Icons.channel is the speaker, for the channel spots that use it later.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-06 08:44:29 +00:00
Claude 3c47bc682f ui: a clearer edge on pop-ups, and a light scrim behind them
Pop-ups, menus and tooltips had the border-strong edge, which barely
shows against the panels under them. They get a new border-popup token;
the Select and Stream Studio drop-downs too, being the same kind of menu.
The member card, the emoji picker and the bell's panel now dim the
window behind them with a new scrim-light, lighter than the modals'
scrim; a click on it still closes them. The toast moves above them, so
that scrim does not dim it (a poke from the member card is confirmed
there).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-06 07:34:00 +00:00
Claude cdedb86b9c ui: tooltips on icon buttons, and a count
IconButton names itself in a tooltip after a moment of hover, also while
it is disabled (mute or deafen when not connected), and can show a
neutral count at its top right (for pins and topics later). Tooltips are
desktop only: the new Bridge.desktop is false in the Android app.

Tooltip showed once (its Timer turned off its own binding) and stayed
open after the pointer left. Both now use Slint's Tooltip element with
our TooltipBubble: it opens at the pointer, closes when the pointer
leaves, and lets clicks and hover through, which a PopupWindow of our own
does not while it is open. A press closes it until the pointer leaves.
The bubble sets its own preferred width, up to 400px, so long text wraps:
the tooltip's popup takes that width, and a max-width would not narrow it.

IconButton's look moves onto an inner rectangle: with an opacity and an
animation on its root, Slint inlined it at each of its 100-odd uses, and
the tooltip and count alone added 3.3 MB of generated code to a crate
whose compile already peaks near 14 GB. Now the generated code is 1.1 MB
smaller than before (70.7 MB).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
2026-10-06 04:57:51 +00:00
Claude 7433b5a568 account: new login page, kept away while signed in; profile and avatar
The login page no longer opens when a session is saved: the session is
checked in the background and only an expired one brings the page back.
Continue without an account is remembered (ui.skip_account_prompt) until
the next sign-in.

The page is redesigned: the night artwork with what an account gives
beside the form on wide windows, the form alone on narrow ones; email,
password with a show button, the one-time code when asked, notices as
banners. Settings -> My Account shows the profile instead of a list of
notes.

voelin-myts asks the user service (/user, the route of the official
client) for getAccountData (description, registration, previous sign-in,
badges, devices, avatar file names) and requestAvatarSignedUrl, then
fetches the avatar (HTTPS only, at most 4 MiB). The UI keeps the profile
in the session's keyring bundle and the picture in <data>/account/avatar,
fetches it again only when its name changes, and uses it as the sidebar's
profile picture where a server has none for us.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 22:12:07 +00:00
Claude 60b8e95661 ui: servers observe on selection; no gateway or query fields
Selecting a server (or saving one) observes it invisibly through its
gateway, else a query login an older version stored; without a gateway it
is looked up from the address (SRV, then /.well-known/tsgw) and observing
starts once found. The Observe button and the menu entry are gone.

The add/edit server dialog no longer asks for a gateway URL or ServerQuery
login: Advanced keeps the name and nickname. A new address drops the
gateway and query login of the old server, so they are looked up again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 21:10:59 +00:00
Claude 9db6937489 Merge branch 'codex/myteamspeak-account': myTeamSpeak account sign-in
Conflicts with the channel banners on main, both kept:
- crates/proto/UPSTREAM.md: myTeamSpeak's local patch is number 14, after
  the channel banners' 13.
- voelin-core/src/voice.rs: both test modules.
- ui/app.slint: the mobile shell hides behind the account prompt and keeps
  the channel chat's banner.
- ui/shells/common.slint: the user card counts a signed-in account as named
  and shows our avatar, the person icon only without one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 17:55:31 +00:00
Claude 86c30b6f8f Banners: download those in the server's files, larger and slower ones
Not every banner arrived:

- Banners kept in the server's own files are linked as ts3image://
  (TeamSpeak 5 and 6: ts3image://<host>?port=…&channel=…&path=…&filename=…,
  the file browser's ts3file:// link with its scheme changed; TeamSpeak 3:
  ts3image://<name>?channel=…&path=…). Only http(s) was fetched, so these
  never were. They now come through the voice connection's file transfer
  (files::server_image), cached under the server and the address.
- A web download had 16 MiB at most and 30 seconds in all, while up to
  eight run at once: a large animated banner, or several on a slow link,
  failed and failed again on every retry. Pictures may now be 64 MiB and
  go to disk as they arrive instead of into memory; a download fails when
  nothing arrives for 20 s or when, after its first 30 s, it averages less
  than 32 KiB/s. Accept names the formats the UI decodes.
- Pictures over file transfer had 30 seconds too; now 30 s plus their
  size at 32 KiB/s, and at most 64 MiB.

The voice protocol's MAX_DECOMPRESSED_SIZE goes back to 2 MiB: it bounds
compressed commands (the channel list), not pictures, and QuickLZ reserves
the size a packet declares, so 1 GiB let any server make the client
allocate a gigabyte with one small packet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 16:37:02 +00:00
faumaray 3f177a77aa banners
Signed-off-by: Faumaray <faumaray@gmail.com>
2026-10-04 19:15:42 +03:00
faumaray 24acc1910a account
Signed-off-by: Faumaray <faumaray@gmail.com>
2026-10-04 19:11:37 +03:00
selikhov b2549f867e Fix image download recovery and banner layout
Retry failed avatars, icons and banners automatically with bounded backoff,
expire stalled image transfers, and preserve explicit avatar requests.
Bound concurrent HTTP downloads, allow larger banners, and decode BOM SVGs.

Separate artwork from channel titles and controls across desktop and mobile,
using bounded aspect-aware areas and realistic demo fixtures.

Validation: 176 library tests, explicit-fetch policy regression, independent
TS6 avatar download and transient503/banner reload scenarios, strict Clippy,
formatting, license notices, and eight reviewed headless captures.
2026-10-04 18:04:10 +03:00
selikhov 02693a0f7f Complete channel banners across desktop and mobile
Finish banner rendering, image cache invalidation, avatar/icon wiring and image-format support. Bound raster decoding, retain readable text contrast, and recover failed downloads while stopping obsolete reload timers.

Validated with 168 library tests, a private TS6 banner lifecycle test including the real 60-second reload, desktop builds, strict scoped Clippy, formatting, license notices, independent source review and six headless desktop/mobile renders.
2026-10-04 17:05:25 +03:00
selikhovandClaude Opus 5.5 a7d7234451 voelin-ui: 60 Mbit/s, 8K and 320 fps in the new settings pages
Wave 4B's settings pages arrived with their own stream controls, written
for the old limits: the Video page's bitrate slider stopped at 20 Mbit/s,
its frame rates at 120 and its quality presets at 1440p, and with the
automatic bitrate (0, now the default) any change on that page stored a
bitrate of 1 kbit/s (`form.bitrate.round().max(1.0)`), while the
Streaming page could not set the automatic bitrate back.

Kept 4B's layout and put the controls into it: frame rates up to 320,
quality presets 4K and 8K (`PRESETS`), the slider up to 60 Mbit/s with
the field empty (and a note) for the automatic bitrate, which a preset
turns into the automatic bitrate of its size and the frame rate
(`preset_layers`, tested); the Streaming page takes empty, 0 or "auto" as
automatic and says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 10:19:54 +03:00
selikhov 96819366f9 Merge branch 'claude/gifted-lovelace-1crlx2' into worktree-agent-a5ecbed1e5dd55ddc
# Conflicts:
#	crates/voelin-ui/src/settings.rs
2026-10-04 10:06:33 +03:00
selikhovandClaude Opus 5.5 301f472ecf Merge the identity defaults: one default, one identities page
The development branch's identity work and this wave's Profiles page
were two models of the same thing: the store's default identity (schema
4: where each identity came from and which one is the default, which the
import on start relies on to replace Voelin's own identity once) next to
this wave's identity.default setting, and a separate Identities section
next to Profiles. They are one now.

- The store's default is the only default: the identity.default setting
  is gone (never released, so nothing to migrate). Choosing an identity
  calls Store::set_default_identity as the user's choice, which no
  import replaces, and says it applies from the next connection.
- One place picks the identity of a connection: the bookmark's own if it
  names one that exists, else the store's default. Connecting, My
  Account and each identity's "Used by" all go through it.
- Profiles has what Identities had: each identity's origin ("Made in
  Voelin", "Imported", "Chosen by you") with its level, the Default
  badge or "Use as default", and the switch for importing the official
  clients' identities on start, next to this wave's rename, export,
  delete, security level, import by hand and identity per server. The
  Identities section, its sidebar entry and the phone's sixth tab are
  gone; VOELIN_OPEN=settings:identities opens Profiles.
- docs/identity.md and docs/ui.md say so; the Identities screenshot gives
  way to the Profiles one, taken from a store with the created identity
  and a synthetic TeamSpeak one.

Checked headless with a fake home and synthetic identities only: the
first start creates Default; the second, with a synthetic TeamSpeak 6
database, makes its identity the default once and says so; the third
changes nothing, and My Account shows the store's default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 09:56:25 +03:00
selikhov 608bd2fbf2 Merge branch 'claude/gifted-lovelace-1crlx2' into worktree-agent-a5ecbed1e5dd55ddc 2026-10-04 09:28:11 +03:00
selikhovandClaude Opus 5.5 63ed9e3576 docs/ui.md: home, friends, messages and the settings pages, with pictures
The screens of this wave had no line in docs/ui.md, against the recipe
for adding a screen: what each shows, how it opens headless and which
engine data it reads. They now have a section with a table of the parts
(home, Library, friends, direct messages, the bell, search, events,
pictures in chat, join by address) and one of the settings sections, the
UI's new keys (ui.image_preview_kb, notify.*, video.*, identity.default),
the new VOELIN_OPEN switches, the new files in the structure, and the
limits of mapping the design onto TeamSpeak.

The screenshots of the home, the server page, the light theme and the
settings showed the screens before this wave; they are taken again, and
the new screens (friends, messages, the bell, search, events, Library,
Integrations, Profiles, and on the phone friends, messages, events, the
bell and the streaming settings) are added, all headless with sample
data and reduced to 256 colours.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 09:10:11 +03:00
selikhovandClaude Opus 5.5 a8b0609618 Settings → Identities: see and choose the identity servers see
With the official client's identity taking the place of the one Voelin
made, the user needs to see which identity is in use and switch either
way. Settings has an Identities section now (a sixth tab, ID, on the
phone): every stored identity with where it came from, its security
level and unique id, "Default" on the one servers see and "Use as
default" on the others. A choice applies from the next connection,
says so in the status, and is the user's: no import replaces it (the
store marks a created identity chosen this way as the user's). The
section also has the switch for importing the official clients'
identities on start (identity.import_from_teamspeak).

The rows are a pure function with a test; screenshots, headless, of a
store with the created identity and two synthetic TeamSpeak ones.
docs/identity.md describes the one-time replacement and the section;
VOELIN_OPEN=settings:identities opens it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 04:43:02 +03:00
selikhov a2333c8223 Merge branch 'claude/gifted-lovelace-1crlx2' into worktree-agent-a5ecbed1e5dd55ddc 2026-10-04 03:58:05 +03:00
selikhovandClaude Opus 5.5 8917f7dab2 Streams: an automatic bitrate up to 60 Mbit/s, and presets to match
The bitrate was a fixed 8 Mbit/s by default whatever was shared, and the
share dialog offered at most 10 Mbit/s and 60 fps. Asked for: Voelin
streams that can target 60 Mbit/s at up to 8K and 320 fps, with an
automatic bitrate that scales with the stream's resolution and frame rate
and follows it live, beyond 60 Mbit/s only when typed.

- `media::auto_bitrate(width, height, fps)`: 0.12 bits per pixel and
  frame (7.5 Mbit/s at 1080p30, 15 at 1080p60, 27 at 1440p60) between
  300 kbit/s and 60 Mbit/s, reached at 4K60 and 1080p240.
- `stream.bitrate_kbps` 0 is automatic and now the default. A streamer
  layer with bitrate 0 works it out per picture from the size encoded and
  the layer's frame rate, so a new resolution or frame rate moves it at
  once, and tells its sink (`MediaSink::auto_bitrate`). The engine's
  `StreamSink` puts it into the live stream's layer, so connections start
  their bandwidth estimate at it and probe for it; without that the
  stream would have kept the bitrate announced at the start.
  `Streamer::bitrate_kbps()` is what to announce.
- The quick share offers 15-320 fps and Auto, 2.5 to 60 Mbit/s (typed
  values still have no maximum; the `ui` blob keeps indices of the old
  lists for older versions). The studio offers 4K and 8K and 30-240 fps,
  takes an empty bitrate as automatic and derives its first simulcast
  layer from the automatic bitrate.
- The studio now tells the engine its layers when it goes live and when
  they change (`SetStreamLayers`), and a quick share resets them: the
  session sends only layers it knows of, so a studio's simulcast layers
  never reached a viewer, and its layer kept the bitrate announced.
- `voelinctl stream start` and `stream bench` default to the automatic
  bitrate too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 03:37:08 +03:00
selikhovandClaude Opus 5.5 392c295297 Never save a server with an empty nickname
With the address alone enough, a server added where there is neither an
imported identity's nickname nor a user name (Android has no USER) got an
empty nickname, which servers refuse; the form used to demand one. It
falls back to "Voelin user" now, editable under Advanced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 03:33:50 +03:00
selikhovandClaude Opus 5.5 2ab6c0899e Add a server with its address alone
The add-server dialog asked for a name, the address with a port, a
nickname, a gateway URL and ServerQuery settings before anything could
be saved. Now it asks for the address (host, host:port, IP or server
nickname; the resolver finds the port) and an optional server password;
the rest is under an Advanced disclosure, open when editing. Empty
fields are filled in: the name is the address until the first
connection, then the server's own name; the nickname is the default
identity's (one imported from TeamSpeak keeps its nickname), else the
system user's; the default identity, no default channel; the gateway is
looked up in DNS (voelin_core::discover) when the server is saved
without one and when it connects, and one found is stored as if typed.
Editing keeps what the form does not show (identity, default channel,
client version, the query's server port), which saving dropped before.

The form-to-bookmark conversion is a pure function with tests. New
development switch bookmark:edit opens the current server's dialog;
docs/ui.md describes the dialog, with the desktop screenshot redone and
a phone one added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 03:14:41 +03:00
selikhovandClaude Opus 5.5 d715444abd Merge Wave 5B: the phone, Android, and the quick share's sound
The phone's voice channel screen (mockup 02), Home and bottom navigation;
Android cameras through Camera2, the screen shared into MediaCodec's input
surface without a copy, notifications with working actions, "Share to
Voelin"; the multi-select audio picker with app icons; and, asked by the
user, the quick share's sound: the share dialog shows the studio's mixer
rows (meter, gain, mute) for `stream.audio_sources` and its picker, and a
running share follows changes live. docs/android.md rewritten.

Conflicts: both waves gave studio cameras a new backend (Windows Media
Foundation from Wave 6A, Android Camera2 here); both are kept, in the
docs and code. The Windows build caught what the merge could not: each
side's `Capture` initializers lacked the other's field, and Media
Foundation cameras lacked `Camera::mirrored` (webcams face the user, so
true). Checked: fmt, clippy (host, x86_64-pc-windows-gnu for voelin-media,
both Android runs), and the tests of stream, media, core, ui, android and
voelinctl.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 23:20:29 +03:00
selikhovandClaude Opus 5.5 a61d0af370 voelin-ui: pick and mix the quick share's sound as the studio does
The "Share screen" dialog had one switch for sound, "Share system audio",
which shared whatever stream.audio_sources held: changing what the
stream carries (an application, the microphone, desktop audio without
Voelin) or how loud meant the Stream Studio or the settings, and a
running share never followed.

The dialog now shows the studio's audio mixer while the switch is on
(off still means no audio at all): the studio's MixerRow for each source
(meter, gain, mute, the menu) and Add, which opens the studio's
PickDialog over the dialog to switch several sources on and off. They
read the main window's StudioBridge, filled without starting the studio
(App::mixer_show). Starting a share hands the sources with their gain
and mute to the capture (CaptureRequest::audio_sources); the stream
announces sound only when there is some. While it runs, the dialog
shows the same rows with the share mixer's meters, about 15 times a
second (the share keeps the timer), and every change of
stream.audio_sources, from the dialog or anywhere else (the settings
change event), goes to the running capture at once through
Capture::follow_audio, which reconfigures the streamer. A share started
without sound has no audio track, so the dialog says so instead.

The studio's rows and meters follow whichever streamer goes out: a quick
share's while one runs, else the studio's encoder. The picker's
application list is let go once neither the dialog nor the studio needs
it. With sample data, VOELIN_OPEN=share:live shares the test pattern
with the sample studio's sources, live at once with sample viewers, and
Stop ends it, as the studio's demo does. On a phone the frame-rate and
bitrate fields of the dialog no longer run past its edge.

Tests: capture_request carries the picked sources with gain and mute,
and nothing with the switch off or no sources; a running capture on the
test pattern follows changed sources, keeps a silent track when all are
removed, and one started without sound stays so. Headless screenshots
of the dialog before and during a share, 1440x900 and 390x844.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 22:45:17 +03:00
selikhovandClaude Opus 5.5 203921b647 voelin-ui: the phone's Go Live reads Live while the studio streams
The voice screen's Go Live button said "Go Live" while the Stream Studio
was live, as it only followed a quick share: it now reads "Live" for
either.

The phone screenshots in docs/screenshots are taken again for this
wave's screens: the voice channel with the stream on top (mockup 02),
the Activity tab, and Home, Servers, Chats, You and Settings with the
header's voice button and the bottom bar as they are now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 22:14:58 +03:00