Skip to content

Validate fix for transcript multi-word search (#3351)#3424

Open
Vanashreeshankar wants to merge 2 commits intofastrepl:mainfrom
Vanashreeshankar:fix-3351-transcript-search
Open

Validate fix for transcript multi-word search (#3351)#3424
Vanashreeshankar wants to merge 2 commits intofastrepl:mainfrom
Vanashreeshankar:fix-3351-transcript-search

Conversation

@Vanashreeshankar
Copy link

Draft PR - shared to document investigation; not intended to compete with #3423

While investigating issue #3351, I independently traced the root cause of
the transcript search behavior and implemented a minimal fix locally.
This draft is shared to document findings and the proposed solution.

Problem

Transcript search only worked for single-word queries because matching was done
against individual word spans using the full query string.

Root cause

  • In-transcript search operates on individual word spans ([data-word-id])
  • Matching the entire query string against a single span causes
    multi-character / multi-word searches (English & Korean) to fail

Solution

  • Tokenize query by whitespace
  • Match spans that include all query terms
  • Preserve existing per-word highlighting and navigation behavior

Result

Multi-character and multi-word searches now work for English and Korean.

Notes

Environment note

Full desktop build fails on Windows due to Node memory limits; the change here
is isolated and logic-only.

@netlify
Copy link

netlify bot commented Jan 27, 2026

👷 Deploy request for hyprnote pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 495c87a

@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for hyprnote-storybook canceled.

Name Link
🔨 Latest commit 495c87a
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/6989a4688fe20a0008488078

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant