Skip to content

Fix UX issue about highlighting the search term in search result sections #3323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 16, 2025

Conversation

utkuufuk
Copy link
Contributor

@utkuufuk utkuufuk commented Jun 16, 2025

Description

Sometimes the search result sections are too large to fit into the (highlighted) search results component, making the search term/query not visible.

This PR trims the section text in such cases to ensure that the search term is always visible and can be highlighted.

Before

image

After

image

Copy link

changeset-bot bot commented Jun 16, 2025

🦋 Changeset detected

Latest commit: 6732eb2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

argos-ci bot commented Jun 16, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v1 (Inspect) ✅ No changes detected - Jun 16, 2025, 9:08 AM
customers-v2 (Inspect) 👍 Changes approved 77 changed Jun 16, 2025, 9:12 AM
default (Inspect) ✅ No changes detected - Jun 16, 2025, 9:10 AM
v2-cloudflare (Inspect) ✅ No changes detected - Jun 16, 2025, 9:13 AM
v2-vercel (Inspect) ✅ No changes detected - Jun 16, 2025, 9:14 AM

@utkuufuk utkuufuk merged commit 42d88da into main Jun 16, 2025
32 checks passed
@utkuufuk utkuufuk deleted the utku/search-result-section-highlight branch June 16, 2025 10:31
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.

2 participants