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

Research & implement basket functionality #23

Open
6 of 7 tasks
nickdos opened this issue Sep 9, 2022 · 2 comments
Open
6 of 7 tasks

Research & implement basket functionality #23

nickdos opened this issue Sep 9, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request front-end React good first issue Good for newcomers

Comments

@nickdos
Copy link
Collaborator

nickdos commented Sep 9, 2022

As a proof of concept, add a simple "basket" functionality to the demo site.

Although a demo version can be developed that does not require user authentication, it probably makes sense to include that in the proof of concept. See #25.

Will have to decide where to store the user data. Initial implementation could simply use local storage but longer term, it should be stored in a backend service. 2 options I can think of are in userdetails (simple KV store via REST) or build a really simple API using S3 and API gateway (that could tie into the OIDC authentication, which also uses API gateway). Another option is AWS Amplify DataStore, which is tempting as one of the hosting options for the web component is Amplify. The downside is vendor lock-in. Here is an example shopping cart app.

Basic features:

  • "Add to basket" link on record page drawer
  • "Add All to basket" link on species card view
  • Basket link in menu that shows the contents of a users basket
  • Create Basket view (drop-down or separate page??) with
    • select one or more items
    • remove selected items
    • export selected items to Galaxy Australia
@nickdos nickdos self-assigned this Sep 9, 2022
@nickdos nickdos added enhancement New feature or request good first issue Good for newcomers front-end React labels Sep 9, 2022
@nickdos nickdos changed the title Implement basket functionality Research & implement basket functionality Sep 11, 2022
@nickdos
Copy link
Collaborator Author

nickdos commented Sep 15, 2022

Created feature branch issue-23.

nickdos added a commit that referenced this issue Sep 26, 2022
nickdos added a commit that referenced this issue Sep 26, 2022
nickdos added a commit that referenced this issue Sep 27, 2022
@nickdos
Copy link
Collaborator Author

nickdos commented Sep 27, 2022

Done as MVP. Create a new issue for specific enhancements or bug fixes.

nickdos added a commit that referenced this issue Sep 27, 2022
console removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request front-end React good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant