Skip to content

fix: support multi-word transcript search queries#3423

Open
SaiThanushreddy wants to merge 1 commit intofastrepl:mainfrom
SaiThanushreddy:fix/transcript-search-multi-word
Open

fix: support multi-word transcript search queries#3423
SaiThanushreddy wants to merge 1 commit intofastrepl:mainfrom
SaiThanushreddy:fix/transcript-search-multi-word

Conversation

@SaiThanushreddy
Copy link

fix: support multi-word transcript search queries

PR Description

Summary

Problem

The search was checking if the entire query existed within each individual word span. Since each word is stored in a separate <span> element,
multi-word queries like 김철수 프로젝트 or meeting transcript would return 0 results.

Solution

  • Split the search query by spaces into separate terms
  • Match spans containing any of the search terms
  • Highlight all matching terms correctly with overlapping range support

Test

  1. Open a session with transcript
  2. Press Ctrl+F to open search
  3. Search for multiple words
  4. Both words are now found and highlighted

@netlify
Copy link

netlify bot commented Jan 27, 2026

‼️ Deploy request for hyprnote rejected.

Name Link
🔨 Latest commit 50c4b6b

@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for hyprnote-storybook canceled.

Name Link
🔨 Latest commit 50c4b6b
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/69790899c7445e0008049079

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.

Transcript keyword search only works for single-character queries (Korean & English)

1 participant