Page MenuHomePhabricator

Show success message after removing a block
Closed, ResolvedPublic

Description

Add a "Block successfully removed" success message at the top of the form after a block has been removed.

Design: https://www.figma.com/design/3PthdmimQ8FiuhGIsLhmZi/Multiblock?node-id=2523-36452&t=DXVfULLBU6ZNLJ6U-4

image.png (328×1 px, 35 KB)

Derived Requirement

Ensure that a "Block successfully removed" success message is displayed at the top of the form after a block has been successfully removed.

Test Steps

Test Case 1: Ensure Success Message is Displayed After Removing a Block

  1. Open the Special:Block page.
  2. Remove a block for a user.
  3. After the block is removed, check if the "Block successfully removed" success message is displayed at the top of the form.
  4. ✅❓❌⬜ AC1: Confirm that the success message "Block successfully removed" appears at the top of the form after the block removal.

QA Results - Test Wiki

ACStatusDetails
1T383754#10485565

Details

Event Timeline

Change #1111579 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/core@master] SpecialBlock: Success message on removing a block

https://gerrit.wikimedia.org/r/1111579

Change #1111579 merged by jenkins-bot:

[mediawiki/core@master] SpecialBlock: Success message on removing a block

https://gerrit.wikimedia.org/r/1111579

@Samwilson It is confirmed that the success message "Block successfully removed" appears at the top of the form after the block removal as seen in the gif/screenshots. I will move this to Done. Thanks for all your wok!

Test Result - test.wikipedia.beta.wmflabs.org

Status: ✅ PASS
Environment: test.wikipedia.beta.wmflabs.org
OS: macOS Sequoia 15.2
Browser: Chrome 132 , Firefox 134, Safari 18.2
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure Success Message is Displayed After Removing a Block

  1. Open the Special:Block page.
  2. Remove a block for a user.
  3. After the block is removed, check if the "Block successfully removed" success message is displayed at the top of the form.
  4. AC1: Confirm that the success message "Block successfully removed" appears at the top of the form after the block removal.

*Vector only gif

Vector-ChromeMinerva-FirefoxMonobook-SafariTimeless-Chrome
2025-01-22_09-13-21.mp4.gif (552×1 px, 643 KB)
2025-01-22_09-14-50.png (424×786 px, 57 KB)
2025-01-22_09-15-51.png (465×913 px, 106 KB)
2025-01-22_09-16-22.png (558×945 px, 95 KB)
GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF moved this task from QA to Done on the Community-Tech (Jackal (not a fox) Fox) board.