Skip to content

fix(chat): show the external link warning as an info dialog - #954

Merged
bmc08gt merged 1 commit into
mainfrom
fix/external-link-dialog
Oct 5, 2026
Merged

bmc08gt merged 1 commit into
mainfrom
fix/external-link-dialog

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

The warning before a non-Flipcash link from chat opens is now an info dialog instead of a red alert.

  • Title: "You're Leaving Flipcash"
  • Body: "This will open . Never share your Access Key with a website"
  • Buttons: .standard("Open Website") then .cancel(), the same pattern as the "No Balance Yet" dialog.

The dialog fires on every external link tap, and the app has no idea whether a given link is malicious. A red alert every time would teach people to tap past it, so the Access Key reminder is shown as information.

ExternalLinkCheckTests.warningNamesTheHost now checks the new copy and button order, and also checks that the style is .standard, so the dialog can't go back to red without the test failing.

Android counterpart: code-payments/code-android-app#1673

Retitle it "You're Leaving Flipcash" and change the body to "This will
open <host>. Never share your Access Key with a website". The dialog moves
from the red alert style to info, with Open Website as the primary button
and Cancel as the secondary.
@bmc08gt bmc08gt self-assigned this Oct 5, 2026
@bmc08gt
bmc08gt merged commit 997f990 into main Oct 5, 2026
2 of 3 checks passed
bmc08gt added a commit that referenced this pull request Oct 5, 2026
* origin/main:
  chore(currency-info): title the explainer row with the token's price (#951)
  fix(chat): keep the reply anchor when editing a reply
  chore(skills): drive the simulator through loupe in /verify (#953)
  fix(chat): show the external link warning as an info dialog (#954)
@bmc08gt
bmc08gt deleted the fix/external-link-dialog branch October 5, 2026 15:13
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.

1 participant