AlexsLemonade / refinebio-web

Refinebio Web
https://staging.web.refine.bio
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

127 - Implement useExperiments hook for experiments #128

Closed nozomione closed 1 year ago

nozomione commented 1 year ago

Issue Number

127

Purpose/Implementation Notes

API Integration for the refinebio experiments endpoint.

Using the refinebio API's experiments endpoints, implemented the useExperiments hook which includes the necessary states and methods to render the experiment data in UI.

NOTE: Currently using the api.experiments.get method in /api directory, but it will be swapped with the refinebio-js helper's api.experiments.get method later on.

Please review the latest UI here.

Types of changes

The files that need to be reviewed in this PR (the initial commit of this PR starts at f53e9b6 and ends at c2d702b - total 4 commits and I included the detailed descriptions per commit for your easy review 🔎):

[ Newly added ] Hook: useExperiment

[ Modified ] Page: experiment Components: SearchCardBody (minor update)

NOTE I merged the dev branch.

Functional tests

List out the functional tests you've completed to verify your changes work locally.

Checklist

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
refinebio-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 2, 2023 9:16pm