Page MenuHomePhabricator

SelectFileWidget: Use 'clear' icon for clear button
Closed, ResolvedPublic

Description

As of v0.29.5, SelectFileWidget uses 'close' icon for clear input functionality.
We need to

  • use 'clear' icon similar to any other input treatment, exemplified SearchInputWidget,

image.png (138×1 px, 21 KB)

  • fix positioning of button (WikimediaUI theme)
  • fix padding of file name
  • update demos to use different indicator icon for demo

Update 2018-12-15
It makes more sense to make use of the 'clear' icon for button interactive area here.

Event Timeline

Volker_E renamed this task from SelectFileWidget: Use 'clear' indicator to SelectFileWidget: Use 'clear' icon for clear button.Dec 15 2018, 11:29 PM
Volker_E updated the task description. (Show Details)

Change 483331 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[oojs/ui@master] WikimediaUI theme: Use 'clear' icon for clearing SelectFileWidget's input

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

Change 483331 merged by jenkins-bot:
[oojs/ui@master] themes: Use 'clear' icon for clearing SelectFileWidget's input

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

Volker_E claimed this task.
Volker_E triaged this task as Medium priority.
Volker_E moved this task from Reviewing to OOUI-0.30.2 on the OOUI board.
Volker_E edited projects, added OOUI (OOUI-0.30.2); removed OOUI.
Volker_E removed a project: Patch-For-Review.
Volker_E removed a subscriber: gerritbot.

Change 486131 had a related patch set uploaded (by Jforrester; owner: VolkerE):
[mediawiki/core@master] Update OOUI to v0.30.2

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

Change 486131 merged by jenkins-bot:
[mediawiki/core@master] Update OOUI to v0.30.2

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