Page MenuHomePhabricator

MediaViewer embed text area is too small, should be made taller/larger
Closed, DuplicatePublic

Description

Screenshot of https://en.wikipedia.org/wiki/State_of_the_Union#mediaviewer/File:Livingood_Obama_State_of_the_Union_2011.jpg, 2014-09-16

The MediaViewer embed text area is too small. It should be taller.

Go to https://en.wikipedia.org/wiki/State_of_the_Union#mediaviewer/File:Livingood_Obama_State_of_the_Union_2011.jpg, click "Use this file", click "Embed", click "HTML". The text area is too small. Screenshot attached.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=70915
https://bugzilla.wikimedia.org/show_bug.cgi?id=67835

Attached:

Screen_Shot_2014-09-16_at_7.45.15_PM.png (902×943 px, 107 KB)

Details

Reference
bz70914

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:48 AM
bzimport added a project: MediaViewer.
bzimport set Reference to bz70914.
bzimport added a subscriber: Unknown Object (MLST).

The box is there to copy the text, not to read it. Especially the HTML embed text can be arbitrarily long, if we want to make it visible, that would require a completely different UI, not tweaks to the current one.

CC Gilles & Pau - moving the reuse menu to the metadata panel would make this fixable.

(In reply to Tisza Gergő from comment #1)

The box is there to copy the text, not to read it. Especially the HTML embed
text can be arbitrarily long, if we want to make it visible, that would
require a completely different UI, not tweaks to the current one.

I don't follow this at all. Perhaps this is specific to my browser, but looking at attachment 16491, there is currently _plenty_ of room to expand the text area.

The text area should be larger by default and/or it should be resizable. The combination of it currently being both small and unable to be resized is unacceptably hostile to the user, in my opinion.

It could be made slightly larger, sure. It could not be made large enough to show the full HTML code for an average image - it tends to be fairly long. Resizing an element inside a container which has non-automatic dimensions will result in weird behavior.

Gilles triaged this task as Medium priority.Nov 24 2014, 1:59 PM