Skip to content

refactor: use context menus to manage selected projects

This MR adds context menus for the repository Tree View items. We can use these menus to select which project should be loaded and clear this selection from memory.

This change is behind the model-refactor feature flag.

repository-context-menus

In more detail, this MR:

  • makes the project repository observable and the issue Tree View now refreshes if there are project changes (only if the feature flag is on)
  • introduces two new TreeView items (NoProjectItem and ProjectItem), which have new context menus
  • adds context menu on the MultipleProjectsItem
  • implements commands that are triggered from the context menus

Related to #558 (closed)

Edited by Tomas Vik (OOO back on 2024-06-18)

Merge request reports