You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the SidebarControl.xaml.cs file, all the right-tap methods have a lot of variables specific to the current item (IsLocationItem, ShowProperties etc. ) that often repeat or are based on comparing item text, which decreases its flexibility and increases the size of the class code.
Solution/Idea
We could move these variables from sidebar methods to items directly.
After that every item will store text, icon ect. but also which context menu options will be shown in context menu.
Alternatives
N/A
Priorities
Capability
Priority
This proposal will allow developers to make future changes to sidebar items easier
Should
This proposal will allow to reduce code behind size