This PR refactors the nucleotide search highlighting logic in the SingleRow component to use the same logic as the sequence search highlighting. Currently, the nucleotide search uses a custom tick implementation for highlighting, which is inconsistent with the sequence search highlighting. This PR removes the custom tick implementation and modifies the logic for generating searchTick and sequenceHitRects to work with both nucleotide and sequence search. The intSearchInput prop is no longer needed and is removed from the SingleRow component.
Summary of Changes
Removed the intSearchInput prop from the SingleRow component.
Modified the logic for generating searchTick and sequenceHitRects to work with both nucleotide and sequence search.
Removed the custom tick implementation for nucleotide search.
Please review and merge these changes. They ensure consistency in highlighting across different types of search.
Fixes #28.
To checkout this PR branch, run the following command in your terminal:
Description
This PR refactors the nucleotide search highlighting logic in the SingleRow component to use the same logic as the sequence search highlighting. Currently, the nucleotide search uses a custom tick implementation for highlighting, which is inconsistent with the sequence search highlighting. This PR removes the custom tick implementation and modifies the logic for generating searchTick and sequenceHitRects to work with both nucleotide and sequence search. The intSearchInput prop is no longer needed and is removed from the SingleRow component.
Summary of Changes
Please review and merge these changes. They ensure consistency in highlighting across different types of search.
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.