-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add parameters to plugin details page. #57
Comments
hey, @mairin I would like to try working here. |
Sure @Aaishpra - let me know if you have any questions. |
@mairin i guess i have to make additions to this page but i couldn't find the right file which contained parameters (checked create-plugins,plugins and plugin files). It would be great if you can point out the right file to make these enhancements. |
Hey @Aaishpra , Do you have the react dev tools extension downloaded? This link here should help you get started. Once you have that installed, just click on inspect element (right click and choose Inspect element) on the desired page in the UI, go to the components tab in the browser and look for the component name in the component tree. . You can then search for the component name in the ChRIS_store_ui's folder and that should point you to the file. The link should explain that better, but if you still have questions, let me know and I can point you to the file or add snapshots explaining this better. |
Thanks @PintoGideon it helped the component was Pluginbody.js. |
|
Hi @Aaishpra , The parameters and other details for a plugin are pulled from the backend through a JS client. You can find the documentation for the client here. The repo for the client is here. You can take some time to familiarize yourself with this as it would benefit you for future tasks as well. You can go through the current codebase to see how the client is used. You can fetch the resources associated with each plugin using the |
Hey, @PintoGideon I don't see any parameters associated with plugins on this URL http://localhost:8010/api/v1/ all I see is id, creation date, modification date, name, title, stars repo, and other details of the plugins. |
Hey @Aaishpra , Looks like from the js client's documentation, you can get the plugin parameters by doing this.
The snippet above assumes you have the plugin fetched from the backend on which you want to fetch the parameters. |
Thanks for this. I will update you soon |
@Aaishpra Let me know if you are still interested in this ticket after the Outreachy application period, or if we should clear you as assignee. |
I have unassigned @mairin |
Hi @mairin @PintoGideon |
Hi @mairin @PintoGideon |
Add parameters to plugin details page according to design here: https://github.com/FNNDSC/cube-design/blob/master/ChRIS-Store/mockups/plugin-details_parameters.1.png
The text was updated successfully, but these errors were encountered: