accessibility-alt-text-bot icon indicating copy to clipboard operation
accessibility-alt-text-bot copied to clipboard

Feature request: erase previous comments when alt-text is filled

Open scarf005 opened this issue 1 year ago • 0 comments

hi, i stumbled across this bot while opening an issue reqeust on https://github.com/typescript-eslint/typescript-eslint/issues/9699.

Status quo

  • the bot will run on every issue body creation/modification, and will add a new comment on alt-text violation.
  • even after all the alt-text violation is fixed, the comments are still there unmodified.

The issue

an issue with two bot warning comment remaining despite the error being fixed after

  • it feels awkward and crowded to keep having the comments even after all the alt-text issues are fixed.
  • in this screenshot, the second comment is automatically hidden (due to duplicate entry?), but the first isn't.
  • this may be confusing considering the alt-text is now fixed.

The suggestion

it'd be great to have an option to erase/hide previous accessibility-alt-text-bot comments when there's no alt-text issue found.

scarf005 avatar Aug 02 '24 00:08 scarf005