Add categories to search widget#3507
Conversation
|
|
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ 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.
|
Staging branch: https://redis.io/docs/staging/DOC-6752/ Search widget results for
After this change:
|



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, orsupport.redislabs.com, instead of relying only onhierarchy[0].A new
deriveCategoryhelper insortDatadrives 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.