Page MenuHomePhabricator

Vector dark-mode should support bulleted lists
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

Steps to reproduce

Screenshot 2024-05-14 at 10.04.45 AM.png (1×718 px, 81 KB)
Screenshot 2024-05-14 at 10.04.30 AM.png (1×1 px, 109 KB)
light modedark mode

Expected results

  • A bullet should be visible beside each list item

Actual results

  • A bullet is not visible beside each list item.

Check any additional observations

QA Results - Beta

ACStatusDetails
1T364865#9823527

QA Results - PROD

ACStatusDetails
1T364865#9844167

Event Timeline

Jdrewniak created this task.
Jdlrobson set the point value for this task to 2.
Jdlrobson added subscribers: Volker_E, Jdlrobson.

Looks like we can either invert or use a different SVG when the night theme classes are on the HTML element. However we are curious if we can remove the image altogether as we don't understand fully why it is there... @Volker_E may know?

Change #1031950 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[mediawiki/skins/Vector@master] Remove list-style-image used by ul elements

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

Change #1031950 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Remove list-style-image used by ul elements

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

Removing this SVG in light mode (and likely dark mode flipped) causes

image.png (88×97 px, 1 KB)

Which is a good change in that having sublists appropriately indicated as sublists is good and has been one of my major twitch factors in Vector.

Edtadros subscribed.

Test Result - Beta

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

Test Artifact(s):

Test Steps

Visit a page with bulleted lists on beta, e.g. https://en.wikipedia.beta.wmflabs.org/wiki/Betafedf
Turn on dark mode from the appearance menu
✅ AC1: A bullet should be visible beside each list item

screenshot 347.png (1×1 px, 185 KB)

Removing this styling entirely instead of replacing it with list-style: disc will make it worse to read the bullets in sublists, e. g.:

image.png (644×532 px, 79 KB)

Please fix this patch as soon as possible so this weird list styling doesn’t make the lists worse to read.

@Izno I'm on team "Distinguishable sublists" but unfortunately this change was unintentional and goes beyond the scope of this specific task.
As @stjn points out, it has implications beyond content pages (for example, lists are widely used as discussion threads on ruwiki talk pages) so although I personally don't mind this change, I don't think it should be undertaken without broader community consultation (and should at least have it's own phab task).
For now, we'll add list-style: disc; back into the styles.

Change #1032826 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[mediawiki/skins/Vector@master] Override default sublist styles

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

Change #1032826 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Override default sublist styles

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

Test Result - Beta

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

Test Artifact(s):

Test Steps

Visit a page with bulleted lists on beta, e.g. https://en.wikipedia.beta.wmflabs.org/wiki/Betafedf
Turn on dark mode from the appearance menu
✅ AC1: A bullet should be visible beside each list item

screenshot 368.png (1×963 px, 121 KB)

Test Result - PROD

Status: ✅ PASS
Environment: PROD
OS: macOS Sonoma 14.5
Browser: Chrome 125
Device: MBA
Emulated Device:NA

Test Artifact(s):

Test Steps

Visit a page with bulleted lists on beta, e.g. https://en.wikipedia.org/wiki/Bullet_Points_(comics)
Turn on dark mode from the appearance menu
✅ AC1: A bullet should be visible beside each list item

2024-05-29_13-49-30.png (1×2 px, 422 KB)

Jdlrobson claimed this task.