ChRIS_store_ui
ChRIS_store_ui copied to clipboard
Generate project badge after upload
e.g.
https://img.shields.io/badge/dynamic/json?color=blue&label=chrisstore.co&query=$.results%5B0%5D.version&url=https%3A%2F%2Fchrisstore.co%2Fapi%2Fv1%2F2%2Fplugins%2F
Use these assets to generate a badge in Markdown or ReStructuredText https://github.com/FNNDSC/cookiecutter-chrisapp/tree/master/doc/assets/badge
e.g.
[](https://chrisstore.co/plugin/72)
Hi @jennydaman I am an outreachy intern, please can you give more details to this issue.
Many open-source repos on Github show badges which quickly summarize info about a project, and its current status.
e.g. https://github.com/FNNDSC/ChRIS_store#readme
Opportunities for providing a badge sometimes generate badges themselves. For example, the Github Actions tab has a "Create Status Badge" button in a drop-down menu, which opens a modal with copy-pastable Markdown code.
We should automatically generate project badges for ChRIS plugins, which can be added to their READMEs. The purpose of the badge would be to
- signify that a repository is a ChRIS plugin
- maybe also show its version
- link to the info page and installation instructions at https://chrisstore.co
These badges can take one of two forms: a traditional plastic badge like
Or an App Store style badge like
This is inspired by other app stores, such as

Current behavior shows a green admonition/callout box after successful plugin upload.
Maybe we should, at some point (on successful plugin upload, or on button click) show a modal to generate project badges automatically.
hi @jennydaman I am an outreachy applicant, I want to know that were you want to see the badges on readme page.
Hello @sanjana1604
The UX for this feature hasn't been fleshed out yet. That's for us to think about!
What do you think? Here are some ideas:
- a part of the success callout which shows up when you click "create"
- a button above or below the "Install to ChRIS" button triggers a modal or pop-up
- a tab next to "Overview". "Parameters", "Versions"
- as part of the Overview body
- In the right sidebar, somewhere among "Public Repo", "Documentation", "Contributors", "License"
hello @jennydaman I have understood the concept and am ready to work on this issue