CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

✨ Area Icon Tabs should remember tab state when returning

Open austincondiff opened this issue 2 years ago • 3 comments

Description

In the Navigator (left sidebar), Inspector (right sidebar), and Debug (bottom drawer) Areas, we should be remembering the state of each tab when changing tabs so that when the user returns to the tab, it is in the same state in which it was before leaving the tab. These states include but are not limited to:

  • Folder expand/collapse
  • Scroll position
  • Processes
  • Added items
  • Terminals
  • Settings
  • Filters
  • Text entry
  • Focused item

Alternatives Considered

In the terminal debug tab, we have terminal tabs in which we use a ZStack and change the opacity of items depending on which tab is active (only one item has a value of 1 at a time, the rest are 0). This may not be the best approach if it causes performance concerns. If a better solution is found, it may need to be applied to the debug terminal tab as well.

Additional Context

Related to #923

Screenshots

https://github.com/CodeEditApp/CodeEdit/assets/806104/b0025625-60f9-4ff3-8db2-fbb88af04e7c

austincondiff avatar Jun 07 '23 16:06 austincondiff

@austincondiff Can I try my hand at this issue?

Random9ine avatar Jun 22 '23 16:06 Random9ine

Sure! I will assign this to you. Feel free to reach out to the community on Discord if you need anything!

austincondiff avatar Jun 23 '23 16:06 austincondiff

@Random9ine how is this going?

austincondiff avatar Jul 04 '23 03:07 austincondiff