AlexsLemonade / refinebio-web

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

Update SamplesTable component to accept the entire data structure #390

Open nozomione opened 2 weeks ago

nozomione commented 2 weeks ago

Context

In PR #383, the SearchCard-related component was refactored to accept the entire experiment data structure.

To maintain consistency, we want to update the SamplesTable component to accept experiment instead of selectively passing individual props.

Problem or idea

We should replace the individual props of the SamplesTable component with a new prop,experiment .

Solution or next step

  1. Add a new prop experiment to SamplesTable and remove the individual props related to experiment
  2. Move any logic associated with the individual props into SamplesTable