Files
VoelinClient/crates/voelin-ui/Cargo.toml
T
selikhovandClaude Opus 5.5 c081476de9 Home, friends, direct messages, the bell, search, events and settings pages
The screens of design mockups 01, 02, 03 (server sidebar links) and 11
on the existing pattern (Bridge models synced row by row, view models
in vm/, callbacks in bind/), mapped onto what TeamSpeak has:

- Home: a banner with Voelin and each server, friends online from the
  sessions' presence, live streams of our servers (our channel, the
  gateways' directories, clients flagged streaming), the servers with
  Join, the latest chats across servers (history store), friend
  activity, quick actions (add, join by address, find friends) and
  what is happening (gateway events, scheduled streams, server news).
  The Library lists the Stream Studio's recordings and clips.
- Friends: contacts with where they are, message, poke, join, watch,
  relation, note, volume and mute.
- Direct messages: private chats of every server and of the store,
  pokes among the messages, a clear state when the peer cannot be
  reached, TS3/TS6 offline messages (list, read, send, delete).
- The bell (mentions, pokes, messages, event reminders, friends coming
  online; a setting per kind, desktop notifications), the Ctrl+K
  search (servers, channels, people, settings pages; keyboard).
- A server's events page (RSVP, attendees, create/edit/delete,
  scheduled streams) and the Events/Members entries above the tree.
- Inline pictures in chat (downloaded into memory up to
  ui.image_preview_kb, decoded once into the image cache).
- Settings: My Account, Profiles (identities: default, rename, delete,
  export, import from the official clients, security level on every
  core, identity per bookmark), Appearance, Voice & Video (camera
  preview with blur, video and stream quality, streaming permissions),
  Streaming (defaults, simulcast layers, audio sources), Devices,
  Notifications, Privacy & Safety, Keybinds, Integrations (gateways,
  gateway administration, encoders) and Advanced (SRTP order, history,
  cache, every setting as JSON).

The top bar's field now opens the search instead of filtering the
channel tree; the search finds channels of every server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 11:56:06 +03:00

67 lines
2.6 KiB
TOML

[package]
name = "voelin-ui"
version = "0.1.0"
description = "Slint user interface and the desktop binary."
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
publish.workspace = true
[lib]
name = "voelin_ui"
path = "src/lib.rs"
[[bin]]
name = "voelin"
path = "src/main.rs"
[dependencies]
anyhow = "1.0.104"
chrono = { version = "0.4.45", default-features = false, features = ["clock"] }
dirs = "6"
# Twemoji archive blocks (raw deflate); already used by png.
miniz_oxide = "0.8"
png = "0.18"
serde = { version = "1", features = ["derive"] }
# Settings and gateway values as JSON (the advanced and integrations pages).
serde_json = "1"
tokio = { version = "1.53.1", features = ["rt-multi-thread", "macros", "time", "sync"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
# Grapheme clusters for emoji in chat text.
unicode-segmentation = "1.13"
voelin-audio = { path = "../voelin-audio" }
voelin-core = { path = "../voelin-core", default-features = false, features = ["audio-device"] }
# Gateway data types (topics, pins, reactions, capability names).
voelin-gateway-proto = { path = "../voelin-gateway-proto" }
voelin-model = { path = "../voelin-model" }
# Crash reports and notices everywhere; hotkey backends on desktop (below).
voelin-platform = { path = "../voelin-platform", default-features = false }
voelin-query = { path = "../voelin-query" }
voelin-store = { path = "../voelin-store" }
tsclientlib = { path = "../proto/tsclientlib" }
# Desktop: the keyring for passwords, stream media with libvpx, OpenH264, X11
# and PipeWire, global hotkeys through the portal and X11.
[target.'cfg(not(target_os = "android"))'.dependencies]
slint = { version = "1.18", features = ["renderer-software"] }
voelin-core = { path = "../voelin-core", default-features = false, features = ["media-desktop"] }
voelin-platform = { path = "../voelin-platform" }
voelin-store = { path = "../voelin-store", features = ["keyring"] }
# Android (voelin-android): no keyring backend (the app passes Keystore-backed
# secrets), no winit/femtovg, stream media through MediaCodec and the app's
# capture source. Slint's Android backend (the one the app runs) also brings
# the SVG and image decoders the icons and emoji need, so this crate builds
# alone for Android too.
[target.'cfg(target_os = "android")'.dependencies]
slint = { version = "1.18", default-features = false, features = ["std", "compat-1-2", "renderer-software", "backend-android-activity-06"] }
voelin-core = { path = "../voelin-core", default-features = false, features = ["media"] }
[build-dependencies]
slint-build = "1.18"
[lints]
workspace = true