Skip to content

fix: highlight matched text in session search results#353

Merged
imDarshanGK merged 2 commits into
imDarshanGK:mainfrom
pavsoss:highlight-search
Jun 9, 2026
Merged

fix: highlight matched text in session search results#353
imDarshanGK merged 2 commits into
imDarshanGK:mainfrom
pavsoss:highlight-search

Conversation

@pavsoss

@pavsoss pavsoss commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Closes #234

Summary

Fixes the session search highlighting behavior by visually highlighting the matching portion of session names when a search query is entered.

Changes Made

  • Added highlighting for matched search text in session names.
  • Implemented case-insensitive matching while preserving the original text casing.
  • Ensured existing session filtering/search functionality remains unchanged.
  • Added/updated regression tests to verify highlighting behavior.

Test Cases

  • Search query highlights matching text in session names.
  • Highlighting works with case-insensitive matches.
  • No highlighting is shown when the search query is empty.
  • Existing session search/filter functionality continues to work as expected.

Screenshots

Before

image

After

image

@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

@pavsoss is attempting to deploy a commit to the Darshan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@pavsoss

pavsoss commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Hey @imDarshanGK please review this

@imDarshanGK imDarshanGK merged commit b047141 into imDarshanGK:main Jun 9, 2026
2 of 3 checks passed
@imDarshanGK imDarshanGK added SSoC26 Part of Social Summer of Code 2026 Medium Feature or backend work with moderate scope labels Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Medium Feature or backend work with moderate scope SSoC26 Part of Social Summer of Code 2026

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: session search should highlight matched text

2 participants