Skip to content

Remove default categories from napari.yaml #72

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

Merged
merged 1 commit into from
Jul 5, 2025
Merged

Conversation

TimMonko
Copy link
Collaborator

@TimMonko TimMonko commented Jul 5, 2025

By default, three categories are given to napari.yaml that might not be appropriate for the plugin. This PR removes those categories, but keeps this information as a comment to prompt plugin creators to add categories appropriate to their plugin. This prevents new plugins be categorized the same if an author does not update this field.

@TimMonko TimMonko requested review from DragaDoncila and willingc July 5, 2025 16:59
@@ -3,7 +3,7 @@ display_name: {{display_name}}
# use 'hidden' to remove plugin from napari hub search results
visibility: public
# see https://napari.org/stable/plugins/technical_references/manifest.html#fields for valid categories
categories: ["Annotation", "Segmentation", "Acquisition"]
# categories: []
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TimMonko I'm happy to approve. Would it be better to just leave categories: [] uncommented? Fine to merge either way as I am assuming this is for the tutorial.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't check if an empty list was allowed so I commented it lol.
Yes, for tutorial

@TimMonko TimMonko merged commit a8f277d into main Jul 5, 2025
12 checks passed
@TimMonko TimMonko deleted the TimMonko-patch-1 branch July 5, 2025 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants