Keep existing Platforms entrypoint accessible in web UI#3
Conversation
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/6b76c7c4-32a9-4608-9343-1576c96fec7b Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a persistent UI entrypoint to the existing “Platforms” modal so users can always open the pairing/reconnect dialog (WhatsApp/Signal/etc.) even when the reconnect banner is hidden during normal connected runtime.
Changes:
- Added an always-visible “Platforms” button to the sidebar action cluster.
- Wired the new button to open the existing platforms/WhatsApp overlay flow.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread Something else to note, lets double check that we need the new button. There is already an existing way to open the platform dialog, it just doesn't seem to show or have a way to show it when the server is running. we might want to look at the related code and think hard about this one. We don't want to make the wrong UI change when something else is staring us in the face. |
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/566bed26-96d9-4931-8e74-35fb9c720d7f Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Updated in commit I removed the newly-added sidebar Platforms button and switched to the existing entry path by updating the existing top connection banner logic: when Google Messages is connected but neither WhatsApp nor Signal is paired/connected, the banner now stays visible with a Platforms action ( Screenshot: Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
When OpenMessage is connected, the reconnect banner was fully hidden, which could remove the visible path to the Platforms dialog during runtime. This made WhatsApp/Signal pairing harder to reach in some states.
UI access path
Platformsbutton.Connection-banner behavior update
setConnectionState()ininternal/web/static/index.htmlso that when Google Messages is connected and neither WhatsApp nor Signal is paired/connected, the banner remains visible with a Platforms action (open-platforms).Scope