ProfessionalWiki / ProfessionalWiki/Rules

Improve accidental deletion UX

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
PHP
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Currently it is easy to click on "Delete" instead of "Edit", after which the rule disappears immediately. More sophisticated users will realize they can revert via the version history, but most will be left without recourse.

Solution options brainstorm:

  • Add confirmation modal
  • Add "undo" link to the success notification that links to http://localhost:8484/index.php?title=MediaWiki:Rules&action=edit&undoafter=1891&undo=1892
  • ???

Contributor guide

No contributing guide indexed for this repository

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 reproducing the accidental Delete action in the MediaWiki Rules interface and inspect the edit URL given in the issue, including its undo parameters. Compare the confirmation-modal and success-notification undo options; the work is done when an accidental deletion has a clear way to confirm or recover.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.