Skip to content

Recognise Ardia as a browser so its web notifications show the message - #20933

Open
nagarete wants to merge 1 commit into
omacom:quattrofrom
nagarete:notifications-ardia-browser
Open

nagarete wants to merge 1 commit into
omacom:quattrofrom
nagarete:notifications-ardia-browser

Conversation

@nagarete

@nagarete nagarete commented Nov 30, 2026 •

Copy link
Copy Markdown

Chromium-based browsers start a web notification's body with a link to the site's origin, followed by a blank line and then the message. The notification shell lifts that link into the source line only for apps in BROWSERS (shell/plugins/notifications/Markup.js). Ardia (https://ardia.dev), a Chromium-based browser, isn't in that list. So its notifications (WhatsApp Web, for example) show only "web.whatsapp.com" and a blank line in the collapsed toast, and the message itself is cut off.

This adds ardia to BROWSERS. The existing browser cases in test/shell.d/notifications/logic.cjs already cover lifting the anchor, so the one-word list entry gets no test of its own (per AGENTS.md).

Tested: ./test/all, and a live notify-send -a Ardia with an origin-anchor body now gets source web.whatsapp.com and the bare message as the body.

🤖 Generated with Claude Code

@greptile-apps

greptile-apps Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

Adds ardia to BROWSERS so its web notifications use the existing code to move the origin link into the source line.

  • Ardia notifications now show the site as the source and leave the message in the body.

Reviews (2) · Last reviewed commit: "Recognise Ardia as a browser so its web ..." · Reviewed by Greptile

Comment thread test/shell.d/notifications/logic.cjs Resolved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chessing234

Copy link
Copy Markdown
Contributor

your commit is in #21025. Ardia is recognised as a browser so its web notification shows the message. that is the same markup path as the other notification changes. @dhh @omarchybot if 21025 lands, this can close as superseded.

@nagarete

nagarete commented Dec 1, 2026

Copy link
Copy Markdown
Author

Thanks for carrying it over. I'm fine with #21025 superseding this. Happy to close it once that lands.

@chessing234

Copy link
Copy Markdown
Contributor

@dhh @omarchybot Ardia is recognized as a browser in #21030, so a web notification shows the page message.

Delivery.expiryUrgency did not list Ardia (or Opera or LibreWolf), even though Markup.js already treats them as browsers. A critical from those apps now expires like Chromium and Firefox instead of waiting for dismissal. The logic test covers Ardia.

Please consider closing this as superseded only after #21030 is accepted. Leaving the close to you.

@omarchybot omarchybot added bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review labels Dec 2, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

GPT-6.2 Sol High in Codex captured a real Ardia web notification over D-Bus, then replayed that payload format with a site hostname on an Omarchy ISO worker. The collapsed toast hid the message on quattro and with the patch reverted. It showed the message at 97247a1. Opus 5.5 High identified the need to check Ardia’s actual sender name and found no code changes needed after reviewing the capture. DeepSeek V4.1 Flash (default effort) also classified this as a bug.

The focused notification checks and CLI suite passed. Four failures in the full shell suite also reproduced on the PR’s parent commit. GitHub Actions is waiting for maintainer approval to run Tests and Check translation structure.

#21025 and #21030 carry the same Markup.js patch alongside their other changes.

Before on quattro showing the origin link and a blank second line

After at 97247a1 showing the message in the collapsed toast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants