Page MenuHomePhabricator

Bidirectional isolation in drag-and-drop interface
Closed, ResolvedPublicBUG REPORT

Description

What is the problem?

The drag-and-drop STV voting interface might benefit from adding <bdi> tags in the dropdown menu and lozenges.

Steps to reproduce problem
  1. Create an STV election with candidates with LTR names and view them in RTL, or
  2. Create an STV election with candidates with RTL names and view them in LTR
Environment

Wiki(s): https://vote.wikimedia.beta.wmflabs.org SecurePoll 3.0.0 (19e9dc4) 07:29, 20 May 2025.

Screenshots

In the below, the . should come after the Jr

bdi.png (195×742 px, 11 KB)

Event Timeline

Amdrel changed the task status from Open to In Progress.Jun 3 2025, 9:51 PM
Amdrel claimed this task.
Amdrel moved this task from Backlog to Actively working on the MediaWiki-extensions-SecurePoll board.

Change #1153703 had a related patch set uploaded (by Amdrel; author: Amdrel):

[mediawiki/extensions/SecurePoll@master] Made STV drag and drop options bidirectional

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

Change #1153703 merged by jenkins-bot:

[mediawiki/extensions/SecurePoll@master] Make STV drag and drop options bidirectional

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

Novem_Linguae subscribed.

Tested. Looks good. Fixes the "period after junior being in the wrong place" issue mentioned in the ticket.

image.png (741×2 px, 55 KB)