Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NAP-6: Updates after discussion and review #312
NAP-6: Updates after discussion and review #312
Changes from 13 commits
4b23f3c
0743342
0857e76
e112629
f8618ab
4540e49
4625371
b7cbbfe
64c89c3
ec49754
39cf099
bff2671
977617c
9da1ff9
14c3641
b4f6a8a
f13eb5c
463ba83
2addabf
78e76c8
2b81fdf
29615bc
e15f5aa
bc99bbc
5974716
62a8cf6
888f8af
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question - would all items in the layer context menu be replicated in the
Layers
menubar menu?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great question! I imagine they will all somehow be replicated either somewhere in the
Layers
menu or somewhere in theEdit
menu? But again not super clear to me just now what the distinction between those should be, so I want to have a closer look at e.g. PhotoshopThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naive question, how would users control plugin contribution enablement..?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I imagine, a tree selection widget like this one:
I think there should be some internal npe2 data structure for this, but the UI itself should itself be a plugin. (Maybe built-ins.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be separate to our plugin manager (i.e. the install/uninstall/enable/disable dialog)?
(plugin manager has several meanings in napari: #321 (comment) 🙈 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ambivalent about it, and would leave that decision to whoever ends up implementing it.
On the one hand, it can be an independent dialog — enablement of contributions only needs npe2 and stuff already installed, and doesn't need to depend on conda, pip, etc. So you eliminate a lot of complexity. Additionally, I personally would never use the plugin manager (I directly install things with micromamba as needed), but I would probably use the enablement UI because the alternative, I think, is editing some random yaml or something? 😂 Which I'm not super excited about.
On the other hand, I can imagine a user being in the enablement UI and thinking hmm, I really don't use this plugin, I should remove it. And they would probably be grateful if that can be done in the same widget rather than have to launch a totally different interface.