Skip to content

Add dynamic featured label shortcuts - 2 (Replacing)#362

Closed
kaste wants to merge 2 commits intogh-pagesfrom
dynamic-feat-labels-2
Closed

Add dynamic featured label shortcuts - 2 (Replacing)#362
kaste wants to merge 2 commits intogh-pagesfrom
dynamic-feat-labels-2

Conversation

@kaste
Copy link
Copy Markdown
Collaborator

@kaste kaste commented Apr 21, 2026

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

@kaste
Copy link
Copy Markdown
Collaborator Author

kaste commented Apr 21, 2026

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.

kaste added 2 commits April 23, 2026 09:30
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.
@kaste kaste force-pushed the dynamic-feat-labels-2 branch from bb96fa4 to 3401441 Compare April 23, 2026 07:30
@kaste kaste closed this Apr 27, 2026
@kaste kaste deleted the dynamic-feat-labels-2 branch April 27, 2026 11:37
@kaste
Copy link
Copy Markdown
Collaborator Author

kaste commented Apr 27, 2026

We went with #361.

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.

1 participant