Page MenuHomePhabricator

[S] Figure out how to show SearchVue on small screens in non-mobile skins
Closed, ResolvedPublic

Description

In T312269, it was determined that screens below 1000px simply don't have enough width available in order to display both search results + interwiki widget side by side. Interwiki widget results will simply be displayed below the search results.

This also means that we have no room on the side for the SearchVue panel.
What can we do?

After careful consideration and exploration the following acceptance criteria will be used to address the problem stated above.

  • Show two columns layout similar to desktop down to the tablet size of 768px 720px (as discussed in this thread). Which means SearchVue will work as it works on desktop.

    Link to Figma
    768px.png (1,807×1,197 px, 165 KB)

For tablet screens smaller than 768 px that do not use mobile skin:
A separate ticket is created to figure out how to show search preview on smaller devices T324137

Event Timeline

matthiasmullie renamed this task from Figure out how to to Figure out how to show SearchVue on small screens in non-mobile skins.Oct 21 2022, 9:09 AM

I would suggest waiting for T312269 to be merged, before completing this task

@Sneha just to let you know it seems like this ticket should either be split in two or will require multiple Patches to be completed:

  1. In Mediawiki core - Speacial:Search page
  2. Remove thumbnail on small screen
  3. Move interwiki down (this should already happening now with recent updates of the layout)
  1. In Search Preview
  2. Make the changes to make space and show the preview as required in tablet screens

@SimoneThisDot Based on the discussion in the estimation meeting I have removed the requirement of showing search preview as part of this ticket. It was estimated as small for two requirements 1) changing the threshold to 768px 2) Not showing thumbnails for screen smaller than 768px.

Re: showing things in single column for smaller devices, I believe it was already discussed as a requirement in some other ticket for smaller devices but I could be wrong. @matthiasmullie @vadim-kovalenko Do we need to put the single column requirement to another ticket or okay to keep here or is it done already?

Also if we are not showing search preview for these devices then we should make sure the tutorial also does not appear. @matthiasmullie @vadim-kovalenko
If removing tutorial is adding work then perhaps we should implement this ticket T324137 as well.

MarkTraceur renamed this task from Figure out how to show SearchVue on small screens in non-mobile skins to [S] Figure out how to show SearchVue on small screens in non-mobile skins.Dec 1 2022, 5:58 PM

@Sneha should this ticket be in Milestone 3, not Milestone 4?

This comment was removed by Sneha.

Sorry realized this ticket needs to be part of Milestone 2. There is another part 2 of this ticket T324137 which should be done in Milestone 3 as it touches smaller mobile devices/tablets.

The solution here was discussed and agreed in our estimation meeting. But I wasn't sure if it was understood or clear when we should do this.

Change 867699 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/core@master] Change IW breakpoint to be enabled on smaller screen

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

Change 867700 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/SearchVue@master] Make SearchVue work on smaller screen

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

Change 868090 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/skins/MinervaNeue@master] Always show search results at full width

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

Change 867699 merged by jenkins-bot:

[mediawiki/core@master] Change IW breakpoint to be enabled on smaller screen

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

Change 868090 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Always show search results at full width

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

Change 867700 merged by jenkins-bot:

[mediawiki/extensions/SearchVue@master] Make SearchVue work on smaller screen

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

Change 874889 had a related patch set uploaded (by Matthias Mullie; author: Simone Cuomo):

[mediawiki/core@wmf/1.40.0-wmf.14] Change IW breakpoint to be enabled on smaller screen

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

Change 874890 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/skins/MinervaNeue@wmf/1.40.0-wmf.14] Always show search results at full width

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

Change 874890 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@wmf/1.40.0-wmf.14] Always show search results at full width

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

Mentioned in SAL (#wikimedia-operations) [2023-01-04T08:23:50Z] <mlitn@deploy1002> Started scap: Backport for [[gerrit:874890|Always show search results at full width (T321377)]]

Mentioned in SAL (#wikimedia-operations) [2023-01-04T08:25:42Z] <mlitn@deploy1002> mlitn and mlitn: Backport for [[gerrit:874890|Always show search results at full width (T321377)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-01-04T08:32:12Z] <mlitn@deploy1002> Finished scap: Backport for [[gerrit:874890|Always show search results at full width (T321377)]] (duration: 08m 22s)

Change 874889 merged by jenkins-bot:

[mediawiki/core@wmf/1.40.0-wmf.14] Change IW breakpoint to be enabled on smaller screen

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

Mentioned in SAL (#wikimedia-operations) [2023-01-04T08:48:11Z] <mlitn@deploy1002> Started scap: Backport for [[gerrit:874889|Change IW breakpoint to be enabled on smaller screen (T321377)]]

Mentioned in SAL (#wikimedia-operations) [2023-01-04T08:50:00Z] <mlitn@deploy1002> mlitn and mlitn: Backport for [[gerrit:874889|Change IW breakpoint to be enabled on smaller screen (T321377)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-01-04T08:57:07Z] <mlitn@deploy1002> Finished scap: Backport for [[gerrit:874889|Change IW breakpoint to be enabled on smaller screen (T321377)]] (duration: 08m 56s)