Add a matcher for disallowed URLs

Created on 12 September 2023, over 1 year ago
Updated 16 May 2024, 7 months ago

Problem/Motivation

Users may want to prevent certain URLs from being added as links - for example, links to sites that are in a testing environment.

Steps to reproduce

Say you want to avoid 'https://staging.example.com' - currently, nothing prevents this.

Proposed resolution

Create a 'Disallowed URLs' matcher for disallowed URLs. Allow configuring what URLs should be disallowed, and what the message should be. When adding these disallowed URLs in the LinkIt dialog box, the suggestion should show the configured message, and clicking on it should blank out the URL. If people enter a disallowed URL without clicking on the suggestion, it should prevent submission, and display the message.

Remaining tasks

A patch adding a disallowed URLs matcher is coming shortly.

User interface changes

API changes

Data model changes

✨ Feature request
Status

Needs review

Version

7.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada lily.yan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024