feat(web): warn about the unofficial WhatsApp client and show browser setup (P1.7)

The WhatsApp card in Settings > Channels now says the client is
unofficial, that WhatsApp may block the account, and that a browser is
downloaded (about 170 MB) when none is installed. While the adapter
looks for or downloads the browser, its status detail is shown above
the QR.

The setup hint told users to send /pair from the "Message yourself"
chat, which the adapter never reads because own messages are dropped.
It now says to send it from another WhatsApp account (UF-030).
This commit is contained in:
shumeiko.it
2026-10-24 11:51:32 +02:00
parent 625545aa0f
commit 6e66028a66
4 changed files with 37 additions and 7 deletions

View File

@@ -111,6 +111,8 @@ export interface ChannelStatus {
lastActivityAt?: number;
qr?: string;
paired?: boolean;
/** WhatsApp: the step before the QR appears (browser lookup or download). */
detail?: string;
config: { enabled: boolean; defaultWorkspace: string };
secrets: Record<string, string | null>;
}