yx9o opened a new pull request, #763: URL: https://github.com/apache/rocketmq-dashboard/pull/763
## What is the purpose of the change Improve the global navigation search so users can find pages with multi-term queries such as `system alerts` and `ops alerts`. Previously, navigation search required a contiguous match within either the page label or route key. ## Brief changelog - Normalize navigation labels, route keys, and queries across case, whitespace, and separators. - Match all query terms across both page labels and route segments. - Rank exact and prefix matches ahead of broader matches while preserving stable ordering. - Add regression tests for multi-term matching and relevance ranking. ## Verifying this change - Added tests covering multi-term queries, route separator normalization, unmatched terms, and relevance ranking. - Ran the focused navigation search tests. - Ran the full frontend test suite with 63 test files and 267 tests. - Ran frontend lint, production build, Prettier checks, and `git diff --check`. - Manually verified the `Ctrl/Cmd+K` search behavior in the browser. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
