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:
@@ -58,6 +58,7 @@ Baseline: commit `b20b138` of `git.os-dev.tech/oleg.m/waggle-os`.
|
||||
| UF-027 | Self-learning loops run on data nothing collects | Open | Agent, self-learning |
|
||||
| UF-028 | The Settings prompt-shape choice has no effect on chat | Open | Web UI, chat |
|
||||
| UF-029 | The Settings "Import Data" button does nothing | Open | Web UI |
|
||||
| UF-030 | WhatsApp setup hint suggests pairing from the "Message yourself" chat, which is never read | Fixed | Web UI, channels |
|
||||
|
||||
## Entries
|
||||
|
||||
@@ -295,3 +296,11 @@ Entries UF-010 to UF-019 come from the UI audit `anti-slop/audit-001-2026-10-14.
|
||||
- What we did: import history is hidden in the community edition v1 (decision Q2), so the button is hidden behind the memory feature map rather than wired.
|
||||
- Recommendation: connect it to the existing import flow (the Memory → Imports screen) or remove it.
|
||||
|
||||
### UF-030. WhatsApp setup hint suggests pairing from the "Message yourself" chat, which is never read
|
||||
- Status: Fixed
|
||||
- Found: 2026-10-24
|
||||
- Where: at commit `b20b138`, `apps/web/src/components/os/settings/ChannelsSettings.tsx:48` (`setupHint`) and `packages/server/src/local/channels/whatsapp-adapter.ts:417` (`if (!jid || raw.key.fromMe) return null`)
|
||||
- Symptom: Settings → Channels tells the user to "Message yourself or the linked number /pair <code>". A `/pair` sent in the "Message yourself" chat of the linked account gets no reply and pairs nothing.
|
||||
- Cause: messages the linked account sends, including those to itself, arrive with `fromMe` set, and the adapter drops every `fromMe` message (correctly, so the bot never reads its own replies).
|
||||
- What we did: the hint now says to send `/pair <code>` to the linked number from another WhatsApp account and that messages to yourself are not read. The `whatsapp-web.js` adapter drops own messages the same way.
|
||||
- Recommendation: change the hint in the main project the same way, or support the self-chat explicitly (accept `fromMe` messages in the account's own chat and skip the bot's replies there).
|
||||
|
||||
Reference in New Issue
Block a user