This PR is the latest codebase for the samples table (relevant closed PRs 41(note), 95(note)).
This PR was based on PR 126 (for the search manager) and includes PR 128 update (for the experiment page).
Purpose/Implementation Notes
API Integration for the refinebio samples endpoint.
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.
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
Breaking change (fix or feature that would cause existing functionality to not work as expected)
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 š):
Issue Number
130
Purpose/Implementation Notes
API Integration for the refinebio samples endpoint.
Using the context API and the refinebio API samples endpoints, implemented the
SamplesTableManagerContext
and its hookuseSamplesTableManager
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'sapi.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:
SamplesTabble/*
directory which includes the cells for the samples table)DataTable/*
directory which includes the sharable generic table component)NOTE I merged the
dev
branch.Functional tests
List out the functional tests you've completed to verify your changes work locally.
Checklist