Page MenuHomePhabricator

Short unchanged paragraphs should not have a collapse button
Open, Needs TriagePublic

Description

When a paragraph that wasn't edited is very short (or even empty), the collapsing function does not make much sense. In the first case it only toggles the graying out, without the size of the box changing. In the second case it does nothing at all and the button seems brocken, since it apparently doesn't do anything.

image.png (123×1 px, 22 KB)

image.png (88×1 px, 2 KB)

Event Timeline

I would suggest to add some kind of a threshold for the length under which the collapsing feature is disabled and the button not shown.

Change 618256 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/TwoColConflict@master] [WIP] Hide useless expand/collapse buttons on small rows

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

awight subscribed.

This is a product question, moving back to our proposed changes queue.