Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

New Evidence Project option in right-click menu shows up at the top of the list #127

Closed
hughess opened this issue Jun 30, 2023 · 2 comments · Fixed by #129
Closed

New Evidence Project option in right-click menu shows up at the top of the list #127

hughess opened this issue Jun 30, 2023 · 2 comments · Fixed by #129
Labels
bug Something isn't working review Requires additional testing and review

Comments

@hughess
Copy link
Member

hughess commented Jun 30, 2023

First mentioned in Evidence slack. When right-clicking on a file, the New Evidence Project option will show up at the top of the list, which is intrusive in many situations.

The option should (one of the following):

  • Appear lower in the menu
  • Have an option to be hidden
  • Or be removed
@hughess hughess added bug Something isn't working review Requires additional testing and review labels Jun 30, 2023
@RandomFractals
Copy link
Contributor

RandomFractals commented Jul 3, 2023

@hughess that vscode file explorer context menu was added to create new Evidence project in the selected folder in #48.

Removing it the way you did in #129 removes that capability.

If you'd like to show that context menu further down the list, you can change the group name of that context menu option.

See vscode context menu docs and api reference for more info: https://code.visualstudio.com/api/ux-guidelines/context-menus

Standard VS Code menu groups are listed here: https://code.visualstudio.com/api/references/contribution-points#Sorting-of-groups

@hughess
Copy link
Member Author

hughess commented Jul 4, 2023

@RandomFractals that's really helpful, thanks! I think a different group is what we need!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working review Requires additional testing and review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants