let authors dismiss these alerts if SiteImprove is wrong

Created on 27 May 2025, 4 months ago

Background

This is a suggestion that @itmaybejj provided in https://www.drupal.org/project/editoria11y/issues/3253133#comment-16124556 ✨ Check links added for validity Postponed . @nmillin started going down this path, but backed away due to running out of time.

Problem/Motivation

Sometimes SiteImprove can be wrong (stale data since SiteImprove updates once/month) or the link isn't something the editor can update (ex: data comes in from an api). It would be nice if this error could be dismissed.

Steps to reproduce

Hard to document this.

Proposed resolution

Copy/Paste from related issue:
One thing you may want to consider is letting authors dismiss these alerts if SiteImprove is wrong -- if you wanted to do that, you would add a dismissal key when you push the result. Instead of:
dismissalKey: false,
you would use:
dismissalKey: Ed11y.dismissalKey(el?.getAttribute('href')),

Remaining tasks

Code it

User interface changes

Add a dismiss button

API changes

none

Data model changes

none

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nmillin

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

Comments & Activities

Production build 0.71.5 2024