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

Create javascript library for website integration #19

Closed
jordanpadams opened this issue Jul 29, 2021 · 3 comments
Closed

Create javascript library for website integration #19

jordanpadams opened this issue Jul 29, 2021 · 3 comments
Assignees
Labels

Comments

@jordanpadams
Copy link
Member

jordanpadams commented Jul 29, 2021

Acceptance criteria:
Given the DOISearch component in the pds-wds-react, see documentation https://github.com/NASA-PDS/pds-wds-react#as-embeddable-js-doi-search
When I perform its integration in a web application non implementing React (pure html/javascript)
Then I expect To be able to integrate the component
Then I expect that the component works (e.g. for DOI search)

@eddiesarevalo
Copy link
Member

Figured out a good tool chain based off the work of this github project: https://github.com/jasan-s/react-embeddable-widget-starter. With just a couple of modifications and by adding in what we use we can create embeddable JS widgets.

I can confirm that React, Material-ui, React-router(hash router) and React-Redux code is built out. I tested this out and it works.

@tloubrieu-jpl
Copy link
Member

@eddiesarevalo will push the code to the pds-wds-web repository in branch. Until it can be merged with the existing code in this repository (the app bar).

@eddiesarevalo
Copy link
Member

eddiesarevalo commented Aug 9, 2021

@tloubrieu-jpl I created a separate branch in pds-wds-react to hold the toolchain setup. Once the npm library toolchain is created I'll merge them together and delete this branch.
https://github.com/NASA-PDS/pds-wds-react/tree/js-embeddable-toolchain

@jordanpadams jordanpadams transferred this issue from NASA-PDS/doi-ui Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants