AlexsLemonade / AlexsLemonade/refinebio-web
Refactor the SamplesTableAdditionalMetadataModal component
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Context
The `SamplesTableAdditionalMetadataModal` component utilizes both `AnnotationText` and `AnnotationValue` to render values based on the datatype for highlighted texts.
### Problem or idea
Currently, both the `AnnotationText` and `AnnotationValue` components perform the string datatype check independently. This results in redundancy, and we can consolidate this check to simplify the logic.
Additionally, we can revisit and further optimize this component as a whole.
### Solution or next step
- Consolidate the string datatype check in `AnnotationText` and `AnnotationValue` components to reduce redundancy
- Further optimize the `SamplesTableAdditionalMetadataModal` component
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.