android: a peer in full — their card, their interests, and what they have that you don't
The peer sheet's new "About this user" row opens a screen of its own: the card their client serves (their own words, their picture, the upload slot and the queue), the likes and hates they declared, and the comparison this phone makes of their share against the library. The comparison is the point of opening a stranger — every record they have by an artist in your library that you don't, each row opening the search that finds it, and a way to forget the whole comparison again. Nothing is uploaded to work it out. Their picture opens in the artwork viewer, which now takes a data: key beside a library path and an https URL.
This commit is contained in:
1 parent
694a29eb0d
commit
f792d7955d
8 files changed
+292
No files matched your search
@@ -25,6 +25,7 @@
|
||||
import Playlist from "./screens/Playlist.svelte";
|
||||
import Import from "./screens/Import.svelte";
|
||||
import Browse from "./screens/Browse.svelte";
|
||||
import Peer from "./screens/Peer.svelte";
|
||||
import Community from "./screens/Community.svelte";
|
||||
import Room from "./screens/Room.svelte";
|
||||
import Thread from "./screens/Thread.svelte";
|
||||
@@ -72,6 +73,7 @@
|
||||
case "transfers": return { title: "Transfers", kicker: "Downloads" };
|
||||
case "import": return { title: "Import", kicker: importer.draft?.source_name || "Playlist" };
|
||||
case "browse": return { title: e.c.username, kicker: "Their files" };
|
||||
case "peer": return { title: e.c.username, kicker: "On Soulseek" };
|
||||
case "album": {
|
||||
const a = albumById(e.c.id);
|
||||
return { title: a?.title ?? "", kicker: a?.artist ?? "", amb: a?.art_path ?? null, flush: true };
|
||||
@@ -234,6 +236,8 @@
|
||||
<Import />
|
||||
{:else if entry.n === "browse"}
|
||||
<Browse username={entry.c.username} />
|
||||
{:else if entry.n === "peer"}
|
||||
<Peer username={entry.c.username} {screenEl} />
|
||||
{:else if entry.n === "community"}
|
||||
<Community {entry} {screenEl} />
|
||||
{:else if entry.n === "room"}
|
||||
|
||||
Reference in new issue
Block a user