Page MenuHomePhabricator

"Large number of changes" transaction timeline banner may hide a single change
Open, WishlistPublic

Description

See https://discourse.phabricator-community.org/t/the-large-number-of-changes-banner-appears-in-pointless-situation/4114/.

Object timelines fold history into a "large number of changes" banner if there are more than some number (I think 50?) changes. However, this folding occurs even if there are 51 changes. For consistency with other UIs where we don't show a "More..." if the "More..." hides a single item (or, generally, hides less content than the "More..." itself takes up) the logic should actually look like this:

  • Select 52+ changes.
  • If there are 51 or fewer changes, render all changes.
  • If there are 52 or more changes, render only the 50 newest changes, plus a banner to show the additional changes.

Event Timeline

epriestley triaged this task as Wishlist priority.Aug 10 2020, 8:38 PM
epriestley created this task.