nextcloud-libraries / nextcloud-libraries/nextcloud-dialogs

Add a way to dismiss all error pop-up notificaions

Open
#364 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
19
Forks
8
Avg merge
2d 5h
Merged PRs (30d)
37

Description

Is your feature request related to a problem? Please describe.
I copied a folder with several hundred pictures to a different folder that already contained most but not all of those pictures. Thus, I got several hundred "Could not copy ..., target exists" pop-ups:
image
So far, those need to be dismissed one by one as they do not seem to disappear after a while. As a workaround I found that they are cleared when I reload the site, though that's not very user friendly.

Describe the solution you'd like
It would be nice to have way to dismiss all of these pop-ups, potentially with a "Dismiss all" appearing above when more than one pop-up is displayed.

Describe alternatives you've considered
Another possibility would be to let these pop-ups vanish after a short amount of time. However if they are actually displaying important information, it can be frustrating when the error message disappears before you got the chance to copy it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the notification or error pop-up implementation in the nextcloud-dialogs repository and reproduce the multi-error case described in the issue. Trace how individual pop-ups are dismissed, then add a way to dismiss all displayed errors while preserving the existing individual-dismiss behavior. Done means several persistent error notifications can be cleared together without reloading the site.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.