Page MenuHomePhabricator

[S] MediaSearch:"Categories and Pages" filter UI discrepancies
Closed, ResolvedPublic

Description

This task is a follow-up for T271565

  • for "Categories and Pages" the Sort by: Relevance filter is placed as the first one. This is inconsistent with other tab filters
  • the hover state for Namespace filter is blue
typical "Sort by" filter placement and hover stateCategories and Pages
Screen Shot 2021-03-30 at 8.48.15 AM.png (335×768 px, 42 KB)
Screen Shot 2021-03-30 at 8.48.30 AM.png (342×791 px, 42 KB)

Acceptance Criteria:

  • Using the same hover state
  • Sort by should be last on all tabs

Event Timeline

@mwilliams I'm curious to hear what you think about the hover behavior for the namespace filter. Should it match the hover behavior of the select lists, or should it be different? The namespace filter button is an actual button, so we could consider using button hover styles, which I think is what the select lists use too.

@AnneT Having the namespace filter use the same hover state (gray background) makes sense to me!

CBogen renamed this task from MediaSearch:"Categories and Pages" filter UI discrepancies to [S] MediaSearch:"Categories and Pages" filter UI discrepancies.Apr 7 2021, 4:27 PM
CBogen updated the task description. (Show Details)

Change 685499 had a related patch set uploaded (by Seddon; author: Seddon):

[mediawiki/extensions/MediaSearch@master] Page filter UI discrepancy and page result tweak

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

Change 685499 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@master] Page filter UI discrepancy and page result tweak

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

Checked in betalabs.
The first spec is Done. All filters tabs consistently have the same light-grey hover up state, as per this @mwilliams comment.

  • Using the same hover state

Screen Shot 2021-07-01 at 11.17.18 AM.png (1×1 px, 155 KB)

The second spec seems not to be in place. @Seddon - is it in the patch or another patch is needed?

  • Sort by should be last on all tabs
IncorrectCorrect
Screen Shot 2021-07-01 at 11.17.18 AM.png (1×1 px, 158 KB)
vs
Screen Shot 2021-07-01 at 11.21.09 AM.png (1×1 px, 155 KB)

Change 704156 had a related patch set uploaded (by Seddon; author: Seddon):

[mediawiki/extensions/MediaSearch@master] MediaSearch:"Categories and Pages" filter UI discrepancies

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

Change 704156 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@master] MediaSearch:"Categories and Pages" filter UI discrepancies

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

Checked on commons wmf.15 -

Screen Shot 2021-07-21 at 2.09.54 PM.png (1×1 px, 283 KB)