Skip to content

security: add positive verified-host indicator to DomainWarningBanner (#447)#545

Open
davidsoniaudin2-oss wants to merge 1 commit into
MettaChain:mainfrom
davidsoniaudin2-oss:security/verified-host-indicator
Open

security: add positive verified-host indicator to DomainWarningBanner (#447)#545
davidsoniaudin2-oss wants to merge 1 commit into
MettaChain:mainfrom
davidsoniaudin2-oss:security/verified-host-indicator

Conversation

@davidsoniaudin2-oss

Copy link
Copy Markdown

Description

Adds an explicit \Verified Domain\ green badge when the user is on a canonical official domain (propchain.io, localhost), providing positive confirmation alongside the existing warnings.

Changes

  • Add 'verified' state with green shield check icon to DomainWarningBanner
  • Show 'Verified Domain' title and domain-specific message on official domains
  • Green-themed styling (green-500/600/800) with \ShieldCheck\ icon
  • Include \Got it\ dismiss button for verified state
  • Keep existing phishing alert (red) and unofficial warning (yellow) unchanged
  • Add comprehensive test suite with 9 tests covering all three states

Related Issues

Closes #447 - add positive verified-host indicator (defence in depth)

…MettaChain#447)

- Add verified badge with green shield check icon when on official domain
- Show 'Verified Domain' alert title for canonical domains (propchain.io, localhost)
- Show green-themed verified banner with dismiss option
- Keep existing phishing alert (red) and unofficial warning (yellow) intact
- Add comprehensive test suite for all three banner states
@drips-wave

drips-wave Bot commented Jun 27, 2026

Copy link
Copy Markdown

@davidsoniaudin2-oss Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

security: add positive verified-host indicator (defence in depth)

2 participants