Closed sweep-ai[bot] closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
genbank-view | ❌ Failed (Inspect) | Aug 3, 2023 10:17pm |
Sweep: not bad but I think we no longer need to pass intsearchinput to singlerow at all?
Description
This PR refactors the nucleotide search highlighting logic in the
SingleRow.jsx
andApp.js
files to use the same logic as the sequence search highlighting. The current custom tick implementation for nucleotide search highlighting is replaced with the sequence search highlighting logic, ensuring a consistent user experience.Summary of Changes
SingleRow.jsx
, thesearchTick
variable and the corresponding SVG element are modified to use the sequence search highlighting logic instead of the custom tick implementation.App.js
, theuseEffect
hook that handlesintSearchInput
changes is updated to reflect the changes in the highlighting logic for nucleotide search.These changes ensure consistency in the user interface for both nucleotide and sequence searches, improving the overall usability of the genome browser.
Fixes #28.
To checkout this PR branch, run the following command in your terminal:
To make tweaks to this pull request, leave a comment below or in the code.