ResourceBrowser: search UX polish, Aidbox/FHIR badges, line clamp#82
Merged
Conversation
- drop sort dropdown; sort by fuzzy relevance while searching, by name otherwise - highlight fuzzy match ranges in name/description (shared util with Analytics) - unify chips/URL format with Analytics (?q + ?tags[]); whole chip removes the tag - weight name×10 over description×1 in the Fuse search - derive #Aidbox / #FHIR badges from SD publisher; brand color on the Aidbox filter chip, green on the FHIR one - treat 'deprecated' as a status (warning color in chips) - list-row badges share one info-primary color - line-clamp-2 on description - focus the first match on input, Enter opens it; same UX added to Analytics list pages
Contributor
|
Tldr |
ryukzak
approved these changes
May 20, 2026
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.
Summary
?q + ?tags[], chips keep original casing, whole chip removes the tag.nameweight (×10) overdescriptionin the Fuse search.#Aidbox/#FHIRbadges from SDpublisher; brand color on the Aidbox filter chip, green on the FHIR one.deprecatedjoined the status palette (warning color in chips).line-clamp-2on description.Test plan
/u/resource: type a query → first item is highlighted → Enter opens it./u/resource: ↑/↓/Tab moves focus, ↓ past last and ↑ past -1 clear focus./u/resource: clicking a card tag adds it as chip; clicking the chip removes it./u/resource:#Aidbox/#FHIRchips are colored,#deprecated/#trial-useare warning, others are info./u/analytics,/u/analytics/views,/u/analytics/queries: same keyboard behavior; Enter opens the focused row.