Skip to content

Add link confirmation/safety modal for external links #305

@shloimy-wiesel

Description

@shloimy-wiesel

Problem Statement

To improve security and user trust, please add a confirmation modal before navigating to external links. This provides users with clearer control over external navigation, similar to the experience in ChatGPT.

Proposed Solution

Integrate an optional, configurable modal component that intercepts clicks on external URLs. This modal should display the full destination URL and provide explicit actions: "Open link" (confirmed navigation) or "Copy link". We require a prop that accepts a callback function (onLinkCheck) to integrate custom security/safelisting logic prior to user confirmation.

Image

Alternatives Considered

No response

Use Case

Priority

None

Contribution

  • I am willing to help implement this feature

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions