Skip to content

Add categories to search widget#3507

Open
paoloredis wants to merge 1 commit into
mainfrom
DOC-6752
Open

Add categories to search widget#3507
paoloredis wants to merge 1 commit into
mainfrom
DOC-6752

Conversation

@paoloredis

@paoloredis paoloredis commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Note

Low Risk
Client-side display logic only in the search modal; no API, auth, or data changes.

Overview
Search results are now grouped under Blog, Tutorials, and Support when their URLs match redis.io/blog, redis.io/tutorials, or support.redislabs.com, instead of relying only on hierarchy[0].

A new deriveCategory helper in sortData drives both the unique category list and which hits appear under each section header in the modal.

Reviewed by Cursor Bugbot for commit 896826b. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

DOC-6752

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@jit-ci

jit-ci Bot commented Jun 16, 2026

Copy link
Copy Markdown

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 896826b. Configure here.

Comment thread layouts/partials/search-modal.html
@paoloredis

Copy link
Copy Markdown
Collaborator Author

Staging branch: https://redis.io/docs/staging/DOC-6752/


Search widget results for support.redislabs.com, redis.io/tutorials and redis.io/blog are now categorized.
Before this change:

Screenshot 2026-06-16 at 14 30 54

After this change:

Screenshot 2026-06-16 at 14 30 39

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