M5 (part 2): Slint desktop UI (tsc-desktop)
- tsc-model: tree_rows/order_siblings (flattened channel tree in TeamSpeak's sibling order, collapsible). - tsc-ui: Slint (fluent-dark) window with server list and bookmark editor, channel tree (talking, muted, away, streaming, password markers; click opens channel chat, double-click joins), chat tabs with unread counts, connect/observe/mute/push-to-talk toolbar, narrow single-pane layout for small screens, About page with the Slint attribution. Engine events are marshalled to the UI thread; secrets go to the OS keyring (memory fallback). - Dev switches TSC_DATA_DIR, TSC_AUTOCONNECT and TSC_SCREENSHOT; the README screenshots were taken under Xvfb against the dev servers. - Workspace lint unsafe_code: deny (Slint's generated code needs a local allow). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
e4a9860727
commit
fe219dbf7b
13 files changed
+5148
-68
No files matched your search
@@ -0,0 +1,34 @@
|
||||
[package]
|
||||
name = "tsc-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
|
||||
|
||||
[[bin]]
|
||||
name = "tsc-desktop"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.104"
|
||||
chrono = { version = "0.4.45", default-features = false, features = ["clock"] }
|
||||
dirs = "6"
|
||||
png = "0.18"
|
||||
slint = { version = "1.18", features = ["renderer-software"] }
|
||||
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"] }
|
||||
tsc-core = { path = "../tsc-core" }
|
||||
tsc-model = { path = "../tsc-model" }
|
||||
tsc-query = { path = "../tsc-query" }
|
||||
tsc-store = { path = "../tsc-store", features = ["keyring"] }
|
||||
tsclientlib = { path = "../proto/tsclientlib" }
|
||||
|
||||
[build-dependencies]
|
||||
slint-build = "1.18"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
Reference in new issue
Block a user