Page MenuHomePhabricator

Fix border radiuses for responsive TypeaheadSearch in Vector
Closed, ResolvedPublic

Description

Vector contains CSS that, when the screen gets narrower than a certain breakpoint, changes the TypeaheadSearch menu to take the width of the input+button instead of just the width of the input. When this happens, we should change the border-radius on the input and the button so that the bottom right border of the button is not rounded.

Event Timeline

Change 805255 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/skins/Vector@master] search: Use sharp corner when responsively expanding the menu

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

It might be helpful for web team to collaborate with DST on this one. We're planning to put some visual regression tests in T306846 so understanding this issue would help identify where we are missing tests.

@Catrope when do you need a review by? What is the priority of this ticket?

ovasileva triaged this task as Medium priority.Jun 15 2022, 11:37 AM

@Catrope, I'm also noticing multiple patches and wondering whether the plan is to merge a single patch or multiple ones (it seems T303558 should be the one in our sprint board not this one as this seems blocked on that). What's the rollback strategy here? It seems one commit would be useful if the plan is for this to ride the train.

Jdlrobson added a subscriber: AnneT.

@AnneT since Roan is out, do you have any ideas on the planned approach here for merging/deployment?

@Jdlrobson squashing everything into the big patch before merging it seems like the best plan to me—all of them except for this one, which needs to wait for the next Codex release, are ready for your final review. When you're ready to approve them, if you +1 them, I will squash them into the big patch and abandon the old patches (unless you have a better workflow in mind).

FYI, I'm hoping to complete the next Codex release before the next train so we can wrap up that last small patch.

It will be easier for me reviewing if they were squashed into one patch, since I'm using Pixel to do most of our testing. The changes as proposed all look fine to me.

Got it, I'll update the main patch ASAP

Change 758961 had a related patch set uploaded (by Anne Tomasevich; author: Catrope):

[mediawiki/skins/Vector@master] Use Codex and Vue 3 instead of WVUI and Vue 2.

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

Change 805255 abandoned by Anne Tomasevich:

[mediawiki/skins/Vector@master] search: Use sharp corner when responsively expanding the menu

Reason:

Squashed into base patch as part of patchset 28 https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/758961/27..28

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

Cool! Hoping to have bandwidth for this tomorrow (or Friday at latest)

AnneT changed the task status from Open to Stalled.Jun 27 2022, 6:13 PM

As noted above, the separate patch that implemented this fix has been approved by both Jon and me, and I have squashed it into the main Vector patch to implement CdxTypeaheadSearch. Once that patch has been merged, this can be moved into Design Sign-off.

Moving this out of web sprint board as I'm tracking the web team's work on T303558

Change 758961 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Search: Use Codex and Vue 3 instead of WVUI and Vue 2.

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

• DAbad changed the task status from Stalled to In Progress.Aug 8 2022, 4:15 PM
• DAbad subscribed.

Product sign-off complete