feat: add channel browser for discovering and joining channels (#42)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Wes
2026-03-12 12:53:59 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 80356e8cb5
commit 1feab79543
19 changed files with 977 additions and 74 deletions
+2
View File
@@ -73,6 +73,7 @@ type RawChannel = {
archived_at: string | null;
participants: string[];
participant_pubkeys: string[];
is_member?: boolean;
};
type RawChannelDetail = RawChannel & {
@@ -225,6 +226,7 @@ function fromRawChannel(channel: RawChannel): Channel {
archivedAt: channel.archived_at,
participants: channel.participants,
participantPubkeys: channel.participant_pubkeys,
isMember: channel.is_member ?? true,
};
}
+1
View File
@@ -15,6 +15,7 @@ export type Channel = {
archivedAt: string | null;
participants: string[];
participantPubkeys: string[];
isMember: boolean;
};
export type ChannelDetail = Channel & {