Skip to content

Conversation

Zabuzard
Copy link
Member

Overview

Implements and closes #725.

Fixes the problem that often users tend to select Java as the first category, just because it has to do with Java.

This leads to the Java helpers often being pinged, despite the question is about something more specific. And the actual helpers for this topic not being alerted at all.

Solution

The categories are now selected in reverse-order of the config. Assuming that the config lists them in commonness descending (in particular, Java first).

Now, when an user picks multiple categories:

example

It will sort the categories by commonness ascending (uncommon first) and pick the first, i.e. the most uncommon, pinging the most specific category:

pings correct

@Zabuzard Zabuzard added enhancement New feature or request priority: normal labels Dec 15, 2022
@Zabuzard Zabuzard requested a review from a team as a code owner December 15, 2022 09:47
@Zabuzard Zabuzard self-assigned this Dec 15, 2022
@Zabuzard Zabuzard requested a review from a team as a code owner December 15, 2022 09:47
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Zabuzard
Copy link
Member Author

merging today, so that it makes it into the last release for this year, tomorrow :)

@Zabuzard Zabuzard merged commit a730c53 into develop Dec 16, 2022
@Zabuzard Zabuzard deleted the feature/uncommon_help_cats_first branch December 16, 2022 07:38
@Zabuzard Zabuzard mentioned this pull request Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: normal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Order help categories, uncommon first

2 participants