Page MenuHomePhabricator

Input position of the "Remember selection for futures searches" button
Closed, DeclinedPublic

Description

Feature summary :
In the "Search in" part of the Special:Search page, there is an option that is not well positionned.
This is a lack of affordance, and depending on the language you are using, this is even worse (see the linked image in French).
There is a quick thing you could change in the CSS to make it better to understand, especially for the user's first use.

Benefits (why should this be implemented?):
Better understanding, easier to use.

Base :

Base.jpg (387×1 px, 57 KB)

.mw-advancedSearch-namespace-selection-header > .oo-ui-labelElement {
   float: right;
   margin: 0 0.5em 0.4em 0;
}

Proposition :

Modified.jpg (375×1 px, 58 KB)

.mw-advancedSearch-namespace-selection-header > .oo-ui-labelElement {
-    float: right;
-    margin: 0 0.5em 0.4em 0;
+    margin: 0 0.5em 0.1em 0.5rem;
+    border-bottom: 1px solid #a2a9b1;
}

Event Timeline

Ypermat renamed this task from Input position to Input position of the "Remember selection for futures searches" button.Jul 7 2022, 12:27 PM
Ypermat updated the task description. (Show Details)

While I'm happy to see people using Phabricator, I'm afraid I don't really get this one. What you propose is just … different.

  • The extra line makes it more cluttered. Note there are already 8 horizontal lines. I think we should aim to reduce this, not add to it.
  • Aligning the checkboxes on the left makes them look like they belong to one group. As if the first is another way to select namespaces. But that's not what it does. I think we should make it stick out more, not blend in.

Originally we discussed some kind of bookmark icon instead of a checkbox. See T203569: Adding bookmarking features to the namespace filter for details. This was never finished.

One think you can try is to suggest a shorter translation at https://translatewiki.net/wiki/MediaWiki:Advancedsearch-namespaces-remember/fr or modify the message locally at https://fr.wikipedia.org/wiki/MediaWiki:Advancedsearch-namespaces-remember.

I can indeed do that, or use CSS or other ways. This ticket was for everyone's good ;)

Most of text elements are aligned to the left, except this checkbox that seems like it bugged out of its place. Plus, you need to hit "Search" if you want this to work.

Indeed this is another line, and its purpose is to separate this checkbox to the group. This solution's purpose was to be implemented easily.
The bookmark seems like a way better idea, but longer to create I suppose.

Nevermind.