Skip to content

Ignore trailing / when sorting in object view #10353

@easontm

Description

@easontm

In the object listing view, "folders" have a trailing / like this

foo/
bar/
baz/

This also affects how these strings are sorted, like this:

foo
foo-bar
foo/

In my opinion, on the web UI the trailing slash should just be a visual artifact and not included in the sorting process. e.g. it should be rendered as

foo
foo/
foo-bar

However, I recognize that this would result in the web UI showing an order inconsistent with underlying storage and what programmatic access would show you. A counterpoint to that would be that the web UI is already presenting a "folder explorer"-style experience for convenience, and this is an extension of that. Also, the UI already has convenient folder/file icons for differentiating between foo and foo/.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions