Skip to content

Improve link confirmation modal#7333

Open
zanesq wants to merge 1 commit intomainfrom
zane/link-confirmation-modal
Open

Improve link confirmation modal#7333
zanesq wants to merge 1 commit intomainfrom
zane/link-confirmation-modal

Conversation

@zanesq
Copy link
Collaborator

@zanesq zanesq commented Feb 18, 2026

Summary

Fixed the confirm-open-link modal not scrolling when URLs are very long,
making the action buttons unreachable.

Replaced the native Electron showMessageBox dialog with the existing React
ConfirmationModal component for the external link confirmation flow. The
ConfirmationModal now supports an optional scrollable detail section with
max viewport height constraints, so long URLs wrap and scroll while the
Cancel/Open buttons always remain visible and accessible.

Also added error handling for when no application is found to open the
link protocol, and improved keyboard focus visibility on the modal buttons
using the theme accent color instead of the barely-visible default ring.

Screenshot 2026-02-18 at 2 57 53 PM Screenshot 2026-02-18 at 2 57 42 PM

Copy link
Collaborator

@lifeizhou-ap lifeizhou-ap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

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.

3 participants

Comments