Page MenuHomePhabricator

Edit block and save without making changes should not display "XYZUser" is already blocked."
Open, LowestPublic


When editing a block, if no changes are made to the form and you hit to "Reblock user ..." you get a message saying "XYZUser" is already blocked.
The save button says "Re-block the user with this settings" so getting a message that says that the user is already blocked (in my opinion) makes you think that there is a problem with the form.

For a better UX, no changes to the block should take you to the "Block succeed" page or it should give you a different message.

Event Timeline

dmaza created this task.Dec 20 2018, 4:01 AM
Restricted Application added subscribers: MGChecker, Aklapper. · View Herald TranscriptDec 20 2018, 4:01 AM
TBolliger triaged this task as Lowest priority.Dec 20 2018, 5:34 PM
TBolliger removed a project: Anti-Harassment.
TBolliger added a subscriber: TBolliger.

Good find, but not really in scope for our team.

I'd argue that if the form doesn't change the 'Block user' button shouldn't be active. This is a common design pattern (e.g. if you open the VisualEditor the 'publish' button is inactive until you make a change to the document.)