Fuzzy text search, part 4: Search palettes & plugins - #34752
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe palette provider now uses Merge Risk: ⚪ Minimal · up to Palette and plugin search now use fuzzy filtering and score-based ranking, with palette-name matches preserving default cell order. No concrete merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 2 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Warning Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@DmitryArefiev please check searching palettes on Palettes panel |
|
@avvvvve Please try Fuzzy text search in the Palettes (it might be to much elements for one simple request) PR's build and 4.7.5(or main): bandicam.2026-09-01.18-11-05-240.mp4 |
The required functionality is part of Qt's QSortFilterProxyModel:
- `recursiveFilteringEnabled` (since Qt 5.10): Recurses down
the tree and accepts parents with accepted children
- `autoAcceptChildRows` (since Qt 6.0): Children of accepted parents
are auto accepted. This is used to be able to search by palette name
Palettes are sorted according to the scores of their cells and their own score.
39fb61d to
765d53b
Compare





Part of: #15983
Depends on: musescore/muse_framework#261
This PR adds search to the plugins page and palettes.
The results on the plugins page are sorted by fuzzy score.
Palette results are sorted by fuzzy score as well. Palettes are sorted higher up when they have cells with higher score than the cells of another palette.