Add dynamic featured label shortcuts - 2 (Replacing)#362
Closed
Add dynamic featured label shortcuts - 2 (Replacing)#362
Conversation
Collaborator
Author
|
This is less confusing maybe; but also a bit less fun to just click around and "find" things, go down a rabbit hole, "narrow down a search" because the search list is always long. There is no narrowing by just clicking. You need to type. But graphically it is great. @braver @michaelblyons again. |
35f75ba to
bb96fa4
Compare
Build dynamic featured labels under search using active label filters and co-occurring label usage. When no label filter is active, keep curated defaults. When labels are active, show all active labels first, then suggest up to the remaining slots (max 6 total suggested+active cap logic), and exclude synthetic status labels. Also update home-page link handling so label and platform links toggle filters in-place, while author links replace the query.
Adjust home-page click handling so label links no longer append or toggle into the existing query. Clicking a label now always replaces the full query with that single label token. Platform links still toggle in-place, and author links continue to replace the query. When a clicked filter button is already active (.is-active), treat it as a toggle-off and remove that token from the query.
bb96fa4 to
3401441
Compare
Collaborator
Author
|
We went with #361. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Same as #361 but clicking labels isn't additive to the search query but always replaces the query.
Less confusing; the main feature here is that the featured labels below the search input now dynamically change to the most used labels that co-occur with the selected label.
Example
Bildschirmaufnahme.2026-04-21.182136.mp4