lab-micropython-editor icon indicating copy to clipboard operation
lab-micropython-editor copied to clipboard

Feature Request - UI Improvement - Files

Open escfoe2 opened this issue 7 months ago • 0 comments

It would be very handy to have a panel on the side of the editor that loads the files on the board upon successful connection and show them within a simple tree-view structure on the right side of the editor. We'll call it a File Tree Panel (name really only matters for the sake of this ticket).

Requirements:

  • File Tree Panel - Shows all folders and file names
  • File Tree Panel - Single or Double clicking a file will open it in the editor (as a new tab if not currently open)
  • General UI - Menu Item to create a new file (and subsequently a tab) such as File > New Script/Tab

Nice to haves:

  • General UX - Keyboard shortcut to create a new file (opens a new tab)
  • General UI - Menu Button (Like Run, Stop, Reset, etc) to create a new file (opens a new tab)
  • File Tree Panel - Collapsible
  • File Tree Panel - Configurable to be mounted to the left or right of the editor
  • File Tree Panel - Single or Double clicking a file that's already open will switch to that tab automatically
  • General UX - When a new file is created while the app is connected to a board, it should be assumed the user wants this file on the board. Transfer it as soon as the user saves it. If some users disagree, make it an optional setting in the editor.

escfoe2 avatar Jul 21 '24 17:07 escfoe2