Is your feature request related to a problem? Please describe.
No. Currently, to change the order of pinned items shown on the sidebar, I need to manually edit the file or unpin all items and pin them again in the order I want. This is not convenient.
Describe the solution you'd like
The right-click context menu could have a move up and a move down option.
Describe the solution you'd like
Click and drag would be a better solution to order them IMO, like how Finder works on MacOS.
If it isn't too much to add in addition to the draging up and down to rearrange, access to a json file similar to what we have access to for the terminal options would be very useful as well.
@yaichenbaum @duke7553 Can I create a custom control for this? Rearranging with drag is not easy with the navigation view control. It was designed for static navigation items and not meant for pinning stuff.
@Jaiganeshkumaran We plan on implementing some other changes to the sidebar #692. It's ok to use a different control such as a ListView as long as it can support the UI we are aiming for.
List view has built-in rearrange feature so we only need to save the state.
@Jaiganeshkumaran Will it support a hierarchical menu?
@yaichenbaum List view doesn't support that so we can use tree view instead which also supports reordering.
@Jaiganeshkumaran TreeView seems like it can do everything we need.
Most helpful comment
Describe the solution you'd like
Click and drag would be a better solution to order them IMO, like how Finder works on MacOS.