Description
When using Moltis over the web UI on Firefox / Ubuntu, clicking a push notification sometimes opens the linked Discord channel URL (e.g. https://discord.com/channels/...) in a new tab instead of navigating to the Moltis web UI session for that conversation.
Environment
- Browser: Firefox (Ubuntu)
- OS: Ubuntu (Linux)
- Surface: Web UI
- Repro rate: Intermittent
Expected behavior
Notification click should navigate to the Moltis web UI session (e.g. /chat/<session_id>) for the relevant conversation.
Actual behavior
Notification click opens the raw Discord channel URL, taking the user out of the web UI entirely.
Steps to reproduce
- Use Moltis web UI in Firefox on Ubuntu.
- Receive a push notification for a Discord-linked session.
- Click the notification.
- Observe: Discord channel link opens instead of Moltis web session.
Notes
- Likely related to notification
click event handler or link/url field in the push notification payload — may be passing the Discord channel URL as the click target instead of the Moltis web route.
- Service worker notification click handler (
sw.js) may need to inspect the notification data and route to the web UI path.
Description
When using Moltis over the web UI on Firefox / Ubuntu, clicking a push notification sometimes opens the linked Discord channel URL (e.g.
https://discord.com/channels/...) in a new tab instead of navigating to the Moltis web UI session for that conversation.Environment
Expected behavior
Notification click should navigate to the Moltis web UI session (e.g.
/chat/<session_id>) for the relevant conversation.Actual behavior
Notification click opens the raw Discord channel URL, taking the user out of the web UI entirely.
Steps to reproduce
Notes
clickevent handler orlink/urlfield in the push notification payload — may be passing the Discord channel URL as the click target instead of the Moltis web route.sw.js) may need to inspect the notification data and route to the web UI path.