palantir/blueprint

OverflowList FR: collapse from middle

Open

#3,794 opened on Oct 24, 2019

View on GitHub
 (1 comment) (3 reactions) (0 assignees)TypeScript (2,167 forks)batch import
P2Package: coreType: enhancementhelp wanted

Repository metrics

Stars
 (20,263 stars)
PR merge metrics
 (Avg merge 43d 10h) (27 merged PRs in 30d)

Description

Environment

  • Package version(s): 3.18.0
  • Browser and OS versions: ALL

Feature request

For the overflow list, It would be a nice feature to have a collapse from middle. There are instances where the middle of a path is common however the tail and head differ

Examples

Using the example from Documentation: Full path: All files > Users > Janet >Photos > Wednesday > image.jpg Collapse from start: ...>Photos > Wednesday > image.jpg Collapse from end: All files > Users > Janet > Photos > ... Collapse from middle: All files > Users > ... > Wednesday > image.jpg

Contributor guide