nextcloud / nextcloud/cookbook

Replace confirmation-requiring popups with undo actions

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

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

Is your feature request related to a problem? Please describe.
When a user tries to, e.g., delete a recipe, a popup asking for confirmation appears. Most of the time the user doesn't click this button accidentally, so it forces an unnecessary step - clicking okay to confirm.

Describe the solution you'd like
The action (example: delete the recipe) should be executed immediately. A small message could appear at the top to undo the last action (example: restore the recipe). Or formulated in a different way: Offer undo actions instead of asking for confirmation.

This can apply also for any other actions like #310.

Describe alternatives you've considered
Keeping the popups / adding popups where there are non atm.

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 inventorying the recipe deletion flow and other confirmation popups, including the related behavior referenced in issue #310. Define the affected actions and verify that each executes immediately, presents an undo option, and restores the prior state when undo is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
design, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.