Page MenuHomePhabricator

message boxes visually change when full Codex styles module is loaded
Closed, ResolvedPublic0 Estimated Story PointsBUG REPORT

Description

NOTE: This existing bug has recurred a few times now (e.g. T348069). On the long term it will be fixed by T353844 and then later T356677

Steps to replicate the issue (include links if applicable):

What happens?:
A visual improvement occurs - the icon in the warning box suddenly appears after a few seconds causing the page to reflow.

Screenshot 2024-03-13 at 8.52.13 AM.png (121×976 px, 34 KB)

What should have happened instead?:
The icon should be visible at the start

Explanation

Vector 2022 loads codex-search-styles. This doesn't contain styles for the message box component.
When codex-styles is loaded, this does contain styles for the message box component so the visual change occurs.

QA Results - Prod

ACStatusDetails
1T350069#9686054

Related Objects

StatusSubtypeAssignedTask
ResolvedBUG REPORTovasileva
ResolvedCatrope
Resolvedmatmarex
DeclinedNone
Resolvedegardner
DuplicateNone
ResolvedAnneT
ResolvedAnneT
Resolvedtyhopp
ResolvedAnneT
Resolvedtyhopp
ResolvedCatrope
ResolvedCatrope
DeclinedNone
Resolvedlwatson
Resolvedlwatson
ResolvedAnneT
Resolvedtyhopp

Event Timeline

CCiufo-WMF subscribed.

Moving to the backlog until we re-evaluate once code splitting is shipped and in use.

Jdlrobson changed the task status from Open to Stalled.Feb 26 2024, 4:51 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson added subscribers: whym, Jdforrester-WMF.

This is stalled (and will be fixed by) T356677

Jdlrobson changed the task status from Stalled to Open.Mar 13 2024, 5:09 PM
Jdlrobson set the point value for this task to 0.

This should now be fixed with the merging of https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/1010258 and the change will ride next week's train (21st March) so I'm moving this into QA to confirm.

ovasileva lowered the priority of this task from Medium to Low.
ovasileva subscribed.

@Edtadros - prod QA only for this one.

Edtadros subscribed.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

Enable the typography beta feature
Visit https://en.wikipedia.org/w/index.php?title=Lussery-Villars&oldid=1191178701&safemode=1
✅ AC1: The icon in the warning box should be visible at the start

screenshot 14.mov.gif (608×1 px, 2 MB)

This needed to be fixed via removing the icon point-blank from that message, not via just always loading the icon. The entire box there is misaligned and the icon just contributes to a worse-looking design:

image.png (332×1 px, 37 KB)

I am glad the issue with CSS loading was fixed, but who asked for a misaligned icon that makes the entire message box look crooked to be in that notice in the first place?