Page MenuHomePhabricator

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


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

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

Jdforrester-WMF subscribed.

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 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.Apr 4 2018, 5:19 PM
TBolliger updated the task description. (Show Details)

@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.

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