AlexsLemonade / refinebio-web

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

130 - Implement SamplesTableManagerContext and useSamplesTableManager #131

Closed nozomione closed 1 year ago

nozomione commented 1 year ago

Issue Number

130

Using the context API and the refinebio API samples endpoints, implemented the SamplesTableManagerContext and its hook useSamplesTableManager which includes necessary methods to manipulate the samples table.

Please review the latest UI here.

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

Types of changes

The files that need to be reviewed in this PR (the initial commit of this PR starts at 1e236a1 and ends at d3acf69 - total 17 commits which include the UI adjustments/bug fixes and I included the detailed descriptions per commit for your easy review šŸ”Ž):

[ Newly added ] Context: SamplesTableContext Hook: useSamplesTable Components: SamplesTableEmpty, Table, FilterTextInput

[ Modified ] Page: experiment Config: options Components:

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 8:11pm