Skip to content

Bug(trees): deeply nested single folder paths don't render nicely #941

Description

@simhnna

Prerequisites

Describe the issue

Using flattenEmptyDirectories is a workaround but not a very user friendly one either IMO. vscode concatenates everythig and cuts it at the end. That way you see the beginning of the path. The extreme form of the current implementation is to only see the ellipsis and not a single character of the actual path

Image

Reproduction

use tree with deeply nested path only containing a single directory (java hierarchy for instance)

What browser(s) are you seeing the problem on?

Chrome

What version of @pierre/diffs are you using?

1.0.0-beta.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtrees

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions