Skip to content

UX issue when opening file from sidebar #1398

@snoopdouglas

Description

@snoopdouglas

Lapce Version

0.2.0

System information

Fedora 36

Describe the bug

When opening a file from the sidebar, the 'Open Editors' section expands immediately, pushing down the item you just clicked:

image

Additional information

I don't find this often means that I'm accidentally opening the item above the one I originally clicked, but it doesn't feel right. So, I wonder whether we should either:

  • Move 'Open Editors' to the bottom of the sidebar
  • Only expand it once the mouse has left the sidebar (preferably with an animation so it's more obvious what just happened)
    • In this case, the 'Open Editors' header could 'blink' - and perhaps show a badge - to indicate that it's beginning to acquire items that've not yet been shown, ie.:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-uiArea: UI rendering and interactionsC-bugCategory: bug - something isn't working as it's supposed togood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions