Page MenuHomePhabricator

Text selection feature on bullet points and quote
Closed, ResolvedPublicBUG REPORT

Description

When selecting text in the Article view, text that's part of bullet points is not selected. Nothing happens when you click on such text:

Bullet Points

T341989-screenshot-test (1×640 px, 207 KB)

Quotes
https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:StoryBuilder/Harry_Potter#article

Should quotes be included on T344364 or a separate ticket since you can select them separately unlike with the bullets, you can't choose them at all?

2023-08-17_14-55-04.png (828×736 px, 110 KB)
2023-08-17_15-30-49.png (813×725 px, 115 KB)
NOTE: consider whether sentencex would be a good replacement for our sentence split algorithm.

QA Results - Beta

Event Timeline

hueitan renamed this task from Text selection feature not working on bullet points to Text selection feature on bullet points and quote.Aug 18 2023, 8:02 AM
hueitan updated the task description. (Show Details)

Change 972377 had a related patch set uploaded (by Huei Tan; author: Huei Tan):

[mediawiki/extensions/Wikistories@master] Text selection for bullet points and quote

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

NOTE: consider whether sentencex would be a good replacement for our sentence split algorithm.

Yes, during the another task, the changes was made using the version of https://github.com/wikimedia/mediawiki-services-cxserver/blob/master/lib/segmentation/CXSegmenter.js, which becomes the sentencex later on.

Change 972377 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] Text selection for bullet points and quote

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

@hueitan You are now enabled to select bullets just like quotes as seen in the screenshots below. I will move this to Design Sign-Off. Thanks for all your work!

Status: ✅PASS
Environment: Beta: 1.42.0-alpha (141d776)
OS: macOS Sonoma 14.0
Browser: Chrome 119, Firefox 119, Safari 17.0
Skins. Minerva (Variety of Mobiles)
Device: MBA M2
Emulated Device:: n/a
Test Links:
https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:StoryBuilder/Mr._Bean#story
https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:StoryBuilder/Harry_Potter#article

✅AC1: https://phabricator.wikimedia.org/T344364

Quotes vs Bullets

Text SelectionEdit StoryView Story
Quotes
2023-11-17_10-56-59.png (896×689 px, 130 KB)
2023-11-17_11-00-49.png (1×739 px, 597 KB)
Bullets
2023-11-17_10-58-34.png (1×713 px, 172 KB)
2023-11-17_11-20-06.png (1×771 px, 572 KB)