lapce/lapce

UX issue when opening file from sidebar

オープン

#1,398 opened on 2022/09/29

 (10 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (1,270 件のフォーク)batch import
A-uiC-buggood first issue

Repository metrics

Stars
 (38,373 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド