Page MenuHomePhabricator

[MEX] M4.1.4 - globe coordinates - show correct precision label when it is automatic
Closed, ResolvedPublic

Description

For the globe coordinates datatype, the precision can be selected explicitly or be derived from the text input when "Automatic" is selected. This derived value (returned by the call to wbparsevalue) should be displayed to the user. For all situations, the UI should remain consistent.

Correct version, from the Figma file

image.png (221×573 px, 106 KB)

Currently implemented version, with precision label missing for "Automatic"

image.png (181×498 px, 52 KB)

A/C

  • explicitly set precision levels are shown
  • if precision set as sutomatic, then the derived value (returned by the call to wbparsevalue) is displayed to the user.
  • the precision dropdown is right aligned

Event Timeline

Change #1259937 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[mediawiki/extensions/Wikibase@master] Coordinate: Display parsed precision when precision set to automatic

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

Change #1259937 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Coordinate: Display parsed precision when precision set to automatic

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

Technical verification: all acceptance criteria have been fulfilled without any issues.
Thank you!