Quaternion icon indicating copy to clipboard operation
Quaternion copied to clipboard

Shrink/collapse large events

Open SuperRoboWizard opened this issue 5 years ago • 2 comments

Description

Code blocks (three `s) with many lines take up large amounts of vertical space, and should probably have vertical scrolling or a spoiler-style show more/less toggle. Perhaps both. A show/hide toggle alone would be less useful though, as it would make scrolling horizontally require scrolling down to access the horizontal scrollbar, then scrolling back up to read.

Version information

  • Quaternion version: 0.0.9.4 beta2
  • Qt version: 5.12.1
  • Install method: AUR
  • Platform: Manjaro

SuperRoboWizard avatar Mar 20 '19 19:03 SuperRoboWizard

This pertains not only to code blocks but large events in general - changed the title accordingly.

There's also a relevant MSC to swallow things in a <details> tag: https://github.com/matrix-org/matrix-doc/pull/2184 - which Quaternion could support with the same show more/less toggle.

KitsuneRal avatar Feb 16 '21 17:02 KitsuneRal

(And rather than show it within the constrained space of the timeline, I'd probably consider opening a popup window for the given event.)

KitsuneRal avatar Feb 16 '21 17:02 KitsuneRal