Skip to content
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

Featured plugins selection at build time #150

Open
jennydaman opened this issue Apr 15, 2021 · 0 comments
Open

Featured plugins selection at build time #150

jennydaman opened this issue Apr 15, 2021 · 0 comments
Labels
enhancement Something to be improved
Milestone

Comments

@jennydaman
Copy link
Collaborator

Screenshot

Current Behavior

There is an "Apps Available" section which contains hard-coded placeholder icons and text.

Feature Proposal

The icon and title of 5 "hand-picked" plugins should be displayed in this section. Which plugins should be configurable at build time. e.g. in a .env profile the ChRIS admin would define

REACT_APP_STORE_URL="https://chrisstore.co/api/v1/"
REACT_APP_STORE_USERS_URL="${REACT_APP_STORE_URL}users/"
REACT_APP_STORE_AUTH_URL="${REACT_APP_STORE_URL}auth-token/"

REACT_APP_STORE_FEATURED_PLUGINS="https://chrisstore.co/api/v1/47/,https://chrisstore.co/api/v1/31/,https://chrisstore.co/api/v1/30/,https://chrisstore.co/api/v1/17/,https://chrisstore.co/api/v1/23/"

Considerations

Where do icons come from? See FNNDSC/ChRIS_store#44

What if titles are too long? Maybe we have to manually define them...

REACT_APP_STORE_FEATURED_PLUGINS="https://chrisstore.co/api/v1/47/,FreeSurfer,https://chrisstore.co/api/v1/31/,Masking,https://chrisstore.co/api/v1/30/,Assessment,https://chrisstore.co/api/v1/17/,FastSurfer,https://chrisstore.co/api/v1/23/,COVID-Net"

Related Issues

#102 #124 #125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something to be improved
Projects
None yet
Development

No branches or pull requests

2 participants