android: a name of your own for anyone on the network
The desktop's local contact metadata on the phone: a peer's sheet ends in Name and notes — a petname, a group, a private note and the Favorite and Trusted marks, kept in the app's own config and published nowhere. The petname stands in for the username on the buddy list, in the chat list, on a thread's bar, in the peer sheet, in a room's roster and on a room line, and the real username stays with it — on the line beneath, or beside the name in a room — so a stranger is never quietly turned into someone you know. Favourites sit at the top of the buddy list, and clearing a person's details drops the entry rather than storing an empty one — the backend's own rule.
This commit is contained in:
1 parent
f792d7955d
commit
7eae0ee945
10 files changed
+211
-16
No files matched your search
+14
@@ -19,6 +19,7 @@ implements is `research/mobile-mockup/` (gitignored; see its README).
|
||||
| `src/mobile/catalog.svelte.js` | the catalog lookups, cached per session: an artist by name (the desktop's most-followed-exact-match rule), a catalog record by id |
|
||||
| `src/mobile/media.svelte.js` | the lock-screen card's wiring: mirrors the bar into the media session plugin on every transport change (plus a top-up every 30 s), carries out the card's, the headset's and audio focus's actions |
|
||||
| `src/mobile/slsk.svelte.js` | the Soulseek hub: the connection, the rooms, the chats, the buddies — the desktop's `slsk` store and events |
|
||||
| `src/mobile/contacts.svelte.js` | the local view of a person on the network: a petname, a group, a note and the two marks (`contacts_meta_list` / `contact_meta_set`) — this phone only, published nowhere |
|
||||
| `crates/tauri-plugin-media-session/` | a Tauri plugin with a Kotlin foreground service (`MediaService`) that owns the `MediaSession`, the MediaStyle notification, audio focus and the becoming-noisy pause. The audio never passes through it; it is what keeps the process alive in the background and what the lock screen shows |
|
||||
| `src/mobile/Sheet.svelte`, `HalfSheet.svelte`, `Lane.svelte`, `Cover.svelte`, `Release.svelte` | the player (art / lyrics / queue faces, container transform from the mini bar, drags), the bottom sheets (track, record, sort, the page overflow, the sleep timer), the waveform lane, the two card pieces (a long press on a card is its sheet) |
|
||||
| `src/mobile/screens/` | Home, Search (the library half: records and artists here, tracks through `library_track_search`), Library (albums / artists / tracks / playlists), Album, Artist (the library's shell at once, the catalog dissolving in: portrait, Popular, discography with what is here marked), CatalogAlbum (a catalog record, rows the library has play), Playlist, Community (sign in; rooms, chat, buddies — the Soulseek side; the private layer waits), Room, Thread, You (Appearance switches, real) |
|
||||
@@ -193,6 +194,19 @@ filter and renders 80 at a time with a "more" button; rendering all of
|
||||
them at once cost an audio dropout. The phone walk browses the first peer
|
||||
of its network search.
|
||||
|
||||
Every name in Community can wear one you gave it. The peer's sheet ends in
|
||||
**Name and notes** (`src/mobile/contacts.svelte.js`, `contacts_meta_list` /
|
||||
`contact_meta_set`): a petname, a group, a private note and the two marks,
|
||||
Favorite and Trusted. All of it sits in the app's own config on this phone
|
||||
and is published nowhere — Soulseek never learns it, and neither does the
|
||||
person it describes. The petname stands in for the username on the buddy
|
||||
list, in the chat list, on a thread's bar, in the peer sheet, in a room's
|
||||
roster and on a room line, and the real username stays with it — on the
|
||||
line beneath, or beside the name in a room — so a stranger is never quietly
|
||||
turned into someone you know. Favourites sit at the top of the buddy list,
|
||||
a star and a shield mark the two, and clearing a person's details drops the
|
||||
entry rather than storing an empty one — the backend's own rule.
|
||||
|
||||
More long presses: a catalog song in the search results opens the catalog
|
||||
track's sheet (play, save, add to a playlist, the record, the artist); a
|
||||
row of the queue face opens the track's sheet with Play now, Move to next,
|
||||
|
||||
Reference in new issue
Block a user