Closed neuromusic closed 2 years ago
Just want to follow up on this PR- we’re planning to launch the filter-by category feature on Jan 27. If you want your plugin to be filterable by category when we launch, please review and merge this PR by then. Many plugins have already added categories, for example: https://www.napari-hub.org/plugins/napari-segment-blobs-and-things-with-membranes
If you don’t want categories, feel free to close this PR.
Merging #131 (d925db3) into main (d112c15) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #131 +/- ##
=======================================
Coverage 84.70% 84.70%
=======================================
Files 34 34
Lines 1432 1432
=======================================
Hits 1213 1213
Misses 219 219
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update d112c15...d925db3. Read the comment docs.
Just want to follow up on this PR- we’re planning to launch the filter-by category feature on Jan 27. If you want your plugin to be filterable by category when we launch, please review and merge this PR by then.
Thanks @chili-chiu . Do we also have to publish a new version of the plugin with this change merged in, or is merging this PR into the main branch sufficient?
Currently you will have to publish it in order to have the new category shown on napari hub. We are exploring possible workflows that allow the update without publishing (some potential options: (1) add commands for the napari hub bot to update/sync metadata (2) include it in the preview page as part of github action).
If you have any preferences/thoughts please let us know, thanks!
Also...
Pull request recommendations:
Thanks for contributing!
Add categories and preview page workflow for the napari hub
Hello!
I’m Justin Kiggins, the Product Manager at CZI leading our work on the napari hub.
I’m reaching out with this pull request to ask for your help preparing your plugin for a new “Filter by Category” feature we’ll be launching for the napari hub near the end of January.
This PR does 2 things:
.napari/config.yml
to help users find your plugin.github/workflows/plugin_preview.yml
to help you preview changes to your plugin’s napari hub pageWhat is the “Filter by Category” feature?
We will let users filter plugins on the napari hub by Category, based on your own annotations of your plugin selected fro terms in the EDAM Bioimaging ontology. You are able to specify, in your
.napari/config.yml
file, any number of EDAM labels at whatever depth of the taxonomy is most appropriate. You can see a mockup of this feature belowWe currently support viewing category metadata on the individual plugin pages, but before we let users filter by category, we want to get categories populated for as many plugins as possible.
For more information, see A plugin developer’s guide to categories on the napari hub.
Can you make adding category labels to my plugin easier?
Totally. We know that learning about the EDAM Bioimaging ontology and adding relevant categories is a lot of work. So we took a first pass for you!
To help you get started, our team has reviewed your plugin’s description and metadata and identified category labels that we feel would be a good fit based on the information you’ve provided so far. These were proposed initially by our Biocuration Team who are experts in annotating scholarly literature with biological concepts, then reviewed by my colleague, @chili-chiu, an Application Scientist on our team.We did our best to select relevant labels, but we might be wrong! Please review and edit these categories to best fit your plugin… and let us know how we did! We’re exploring ways that we might be able to automate suggestions in the future for new plugin developers. We’ll be launching the “Filter by Category” feature on Jan 27, 2022, so if you’d like to take advantage of this new feature, please merge this PR by then!
Can you let me preview the changes before I merge this PR?
Yeah, we can do that… not just for categories, but for all of your metadata!
To make it easier for you to update and maintain your plugin’s metadata, and see immediately how changes to links or your description will affect your napari hub listing, we’ve launched a new service that lets you preview your plugin’s page directly from PRs onto your plugin repository (like this one) and see what metadata you might be missing.
This service has two parts:
To use the new Preview Page feature, you simply need to install the Github App by clicking here and configuring it for this repository. Once you do that, make any update to this PR and you will get a comment from the @napari-hub-bot below with a link to your preview page!
For more information, see Setting Up Plugin Page Previews
We hope that these new features are useful to you! Happy to answer any questions here or on our Discussions page.