Page MenuHomePhabricator

C6. Switching between VE and source in Flow entry fields, source max height is too small -- in posts and side rail editing
Closed, ResolvedPublic1 Estimated Story Points

Description

The max height for source entry fields is usually too small. I've found some cases where the box will expand, but I can't reproduce it reliably. Switching back and forth between VE and source will always result in a source field that's too small.

In the side rail, they're also too small, which means a tiny editing space.

Here's the editing field in the side rail for VE:

side rail editor in ve mode.jpg (674×578 px, 269 KB)

Switching to wikitext mode, the editing field is ridiculously small:

side rail editor in wikitext mode.jpg (300×502 px, 116 KB)

Regular post, the source field is too small:

source view small.jpg (314×727 px, 173 KB)

Regular post, occasionally I'll see a source field that sizes appropriately:

source view big.jpg (544×728 px, 412 KB)

(previous ticket):

I start to edit the description (header)

ru.wikipedia.org screen capture 2015-05-23_14-32-01.png (436×867 px, 28 KB)

I switch to VE, switch back to the wikitext
Field is now a small height and there is not even scroll bars
ru.wikipedia.org screen capture 2015-05-23_14-32-46.png (262×879 px, 15 KB)

Event Timeline

Sunpriat raised the priority of this task from to Needs Triage.
Sunpriat updated the task description. (Show Details)
Sunpriat subscribed.
DannyH renamed this task from Flow: after switching VE no scrolling and small field height to Flow: side rail editing field in wikitext mode is very small.Jun 2 2015, 9:18 PM
DannyH triaged this task as Medium priority.
DannyH updated the task description. (Show Details)
DannyH updated the task description. (Show Details)
DannyH renamed this task from Flow: side rail editing field in wikitext mode is very small to Switching between VE and source in Flow entry fields, source max height is too small -- in posts and side rail editing.Jun 2 2015, 10:53 PM
DannyH updated the task description. (Show Details)
DannyH renamed this task from Switching between VE and source in Flow entry fields, source max height is too small -- in posts and side rail editing to C6. Switching between VE and source in Flow entry fields, source max height is too small -- in posts and side rail editing.Jun 3 2015, 7:14 PM
DannyH raised the priority of this task from Medium to High.

Change 216103 had a related patch set uploaded (by Matthias Mullie):
Redo part of the autoExpand code

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

Change 216679 had a related patch set uploaded (by Catrope):
Make none-editor use TextInputWidget

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

Change 216103 abandoned by Catrope:
Steal OOUI autoadjust code

Reason:
Superseded by https://gerrit.wikimedia.org/r/216679

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

Change 216679 merged by jenkins-bot:
Make none-editor use TextInputWidget

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

Change 217738 had a related patch set uploaded (by Catrope):
Follow-up e4c8a1504f: fix CSS issues

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

Change 217738 merged by jenkins-bot:
Follow-up e4c8a1504f: fix CSS issues

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