Skip to content

Cap Quick Access providers at a fair share of the visible slots#4156

Merged
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:lv/quickaccess-provider-fairness
Jul 3, 2026
Merged

Cap Quick Access providers at a fair share of the visible slots#4156
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:lv/quickaccess-provider-fairness

Conversation

@vogella

@vogella vogella commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Since the relevance-ranking rework, the limited Quick Access table is filled with the globally highest-scored entries, so a single prolific provider can flood out every other category. Typing "Error" in an SDK workspace listed lots of workspace files instead of the Error Log view, because short file names outscore the category-suffixed view label. This keeps the relevance ranking but caps each provider at its fair share of the visible slots; slots a provider does not use go to the best remaining entries. That restores the provider diversity of the previous round-robin fill while relevance still orders entries within each category. The selection helper is pure and covered by new unit tests in QuickAccessMatchingTest, and QuickAccessDialogTest passes unchanged.

Fixes #4155

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Test Results

   855 files  ± 0     855 suites  ±0   49m 48s ⏱️ - 3m 59s
 8 100 tests + 5   7 857 ✅ + 5  243 💤 ±0  0 ❌ ±0 
20 202 runs  +15  19 548 ✅ +15  654 💤 ±0  0 ❌ ±0 

Results for commit dd80ce4. ± Comparison against base commit 2029c9b.

♻️ This comment has been updated with latest results.

Since the continuous relevance ranking (86a07a0) fills the limited
table with the globally highest-scored entries, a single prolific
provider can flood out all other categories: typing "Error" lists
workspace files instead of the Error Log view, because short file
names outscore the category-suffixed view label.

Keep the relevance ranking, but cap each provider at its fair share of
the visible slots and give slots a provider does not use to the best
remaining entries, so strong matches from every category stay visible.

Fixes eclipse-platform#4155
@iloveeclipse iloveeclipse force-pushed the lv/quickaccess-provider-fairness branch from da6bf8b to dd80ce4 Compare July 3, 2026 12:01
@iloveeclipse

Copy link
Copy Markdown
Member

#4157 was merged, I've just rebased.

@vogella vogella merged commit fa1a384 into eclipse-platform:master Jul 3, 2026
18 checks passed
@vogella vogella deleted the lv/quickaccess-provider-fairness branch July 3, 2026 13:08
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.

Quick Search Behaves Poorly

2 participants