Changing a value with unit: label and unit name mixed, see screenshot.
Browser. Firefox 77
Try to change the length on https://commons.wikimedia.org/wiki/File:Ship_Josephine_ENI_05109590_-_on_Spree,_Berlin-7662.jpg
Raymond | |
Jun 5 2020, 3:39 PM |
F31858342: Screen Shot 2020-06-08 at 2.06.28 PM.png | |
Jun 8 2020, 9:13 PM |
F31858343: Screen Shot 2020-06-08 at 2.06.38 PM.png | |
Jun 8 2020, 9:13 PM |
F31858244: Screen Shot 2020-06-08 at 1.57.39 PM.png | |
Jun 8 2020, 8:01 PM |
F31855120: grafik.png | |
Jun 5 2020, 3:39 PM |
Changing a value with unit: label and unit name mixed, see screenshot.
Browser. Firefox 77
Try to change the length on https://commons.wikimedia.org/wiki/File:Ship_Josephine_ENI_05109590_-_on_Spree,_Berlin-7662.jpg
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix overlapping text in qualifier quantity input | mediawiki/extensions/WikibaseMediaInfo | master | +1 -2 |
@Ramsey-WMF or @mwilliams, do either of you have a mockup of how the editing UI is supposed to look in this situation? I can see that some absolutely-positioned label text for "unit" and "metre" is colliding here, but I want to make sure I understand what is supposed to go where before fixing.
@egardner It seems like it is supposed to look like this (height example):
The spacing there feels a bit weird though, I'd expect something like "Unit: Metre" since they look unrelated or two different things currently.
Ok, I think that the labelPosition: "before" option that's being set for the QuantityInputWidget's EntityAutoCompleteInputWidget child (QuantityInputWidget.js L34) might be the source of this problem.
By removing that option, you get the layout that you see below. Does this seem correct? (Disregard my nonsensical local data)
Change 603676 had a related patch set uploaded (by Eric Gardner; owner: Eric Gardner):
[mediawiki/extensions/WikibaseMediaInfo@master] Fix overlapping text in qualifier quantity input
Change 603676 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Fix overlapping text in qualifier quantity input