Page MenuHomePhabricator

Make the checkboxes that hide/show on Special:Block enabled/disabled
Closed, DeclinedPublic

Description

Right now, some of the checkboxes on Special:Block will hide/show depending on if a username or IP address is provided (e.g. Automatically block the last IP address used by this user, [...].) We would like to change this behavior to enable/disable, meaning these options will always be visible but not interactive.

This could use the disabled version of CheckboxInputWidget.

Event Timeline

TBolliger created this task.Apr 4 2018, 2:33 PM
Restricted Application added subscribers: MGChecker, Aklapper. · View Herald TranscriptApr 4 2018, 2:33 PM
dmaza added a subscriber: dmaza.Apr 4 2018, 2:46 PM

Although this is only for Special:Block, I think this should be the default behavior when possible on most Special Pages.

dmaza awarded a token.Apr 4 2018, 2:46 PM
Jdforrester-WMF added a subscriber: Jdforrester-WMF.

The OOUI project is for issues with the library, it's not a catch-all for things that use it.

Thank you, James. I'll just ping @Nirzar and @Volker_E directly to get their thoughts on this.

TBolliger updated the task description. (Show Details)Apr 4 2018, 5:19 PM
TBolliger renamed this task from Make the preferences that hide/show on Special:Block enabled/disabled to Make the checkboxes that hide/show on Special:Block enabled/disabled.

@TBolliger Just to clarify, what's the reasoning behind always making them visible? It doesn't become obvious in the talk page.

@Volker_E — we're adding another checkbox for CheckUsers in T100070 and the interrelation is already complicated. Talking through this, we agreed that disable/enable is more modern and user friendly than hide/show.

TBolliger moved this task from Untriaged to Backlog on the Anti-Harassment board.Apr 13 2018, 6:16 PM
TBolliger closed this task as Declined.Jun 11 2018, 9:09 PM

We're making other UI changes to Special:Block in T2674 during which we will make any interaction changes.