Voice sidebar: finish what waits on the connection machine, permissions and the image cache #111

Open
opened 2026-11-11 18:32:00 +00:00 by charles · 0 comments
Owner

Deferred from Voice 16 (#77, sidebar voice participants), each because the piece it needs was not on the branch it was built on (voice + Voice 6):

  • Connected channel. voice_participants::VoiceChannelModel::connected is "the logged-in user has a voice state in this channel", so it is also true while the user is there from another device only (a click then opens the channel instead of joining). Once app.voice.connection exists (Voice 7), use this client's own connection, and give the row of this client's connection the original's .participantRowCurrentConnection highlight.
  • CONNECT permission. The original only joins when the user may connect, otherwise it opens the channel, and draws the locked voice icon (ChannelItem.tsx, voiceLocked). fluxer-core exposes can_view only; a permission selector for CONNECT is needed.
  • Collapsed categories are view state (Local::sidebar), forgotten with the window. The original keeps them in the user's guild settings.
  • Avatars in the participant rows and the collapsed-category stack are the bundled default ones: the main screen passes no Images yet (same as the message list). The models already carry the AvatarSource.
  • Collapsed stack order. With several voice channels in one category the original sorts the users of all of them together; here they are in channel order, then by name.
  • User count badge: the slanted edge between the two numbers (a CSS border triangle) is straight. The badge itself waits on #107.
  • Double-click to join (Accessibility.voiceChannelJoinRequiresDoubleClick) and the profile popout on a left click of a participant are not built.

Seen on branch voice-16-ui-voice-sidebar (64598a0).

Deferred from Voice 16 (#77, sidebar voice participants), each because the piece it needs was not on the branch it was built on (`voice` + Voice 6): - [ ] **Connected channel.** `voice_participants::VoiceChannelModel::connected` is "the logged-in user has a voice state in this channel", so it is also true while the user is there from another device only (a click then opens the channel instead of joining). Once `app.voice.connection` exists (Voice 7), use this client's own connection, and give the row of this client's connection the original's `.participantRowCurrentConnection` highlight. - [ ] **CONNECT permission.** The original only joins when the user may connect, otherwise it opens the channel, and draws the locked voice icon (`ChannelItem.tsx`, `voiceLocked`). `fluxer-core` exposes `can_view` only; a permission selector for `CONNECT` is needed. - [ ] **Collapsed categories** are view state (`Local::sidebar`), forgotten with the window. The original keeps them in the user's guild settings. - [ ] **Avatars** in the participant rows and the collapsed-category stack are the bundled default ones: the main screen passes no `Images` yet (same as the message list). The models already carry the `AvatarSource`. - [ ] **Collapsed stack order.** With several voice channels in one category the original sorts the users of all of them together; here they are in channel order, then by name. - [ ] **User count badge**: the slanted edge between the two numbers (a CSS border triangle) is straight. The badge itself waits on #107. - [ ] **Double-click to join** (`Accessibility.voiceChannelJoinRequiresDoubleClick`) and the profile popout on a left click of a participant are not built. Seen on branch `voice-16-ui-voice-sidebar` (64598a0).
charles added this to the Voice milestone 2026-11-11 18:32:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#111
No description provided.