feat(ui): group notes into perceptual families + filter every chip - #246
Merged
Merged
Conversation
The Studio picker rendered 305 chips, 178 of them odour notes in a single flat alphabetical row β you had to already know the vocabulary to find anything. Notes are now grouped into 15 perceptual families a flavorist actually thinks in (Citrus, Fruity, Floral, Green & vegetal, Spice, Wood/resin/amber, Sweet & bakery, Dairy & fatty, Savoury & sulfur, Earthy/tobacco/leather, Fresh/cool/marine, Animalic & musk, Sharp & chemical, Base taste), each with its own count. The largest block is 27 chips instead of 178. Any head not in the map lands in "Other", so a newly-trained descriptor is never silently dropped from the picker β today that is just `odorless`. Adds one filter box across ALL chips β flavors, notes and sensations. Non-matching chips hide, then empty chip rows, family blocks and whole sections collapse so filtering never leaves orphan headings behind, and a "no match" hint appears when nothing survives. Chips you have already selected stay visible while you type, so your picks never vanish mid-search and the count stays honest. Every note chip also gained its AROMA_HELP blurb as a tooltip. Signed-off-by: Austin L. <86896075+rvnminers-A-and-N@users.noreply.github.com>
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.
Closes #223. Part of #240.
The Studio picker rendered 305 chips β 178 of them odour notes in one flat alphabetical row. You had to already know the vocabulary to find anything in it, which is exactly the "not user friendly unless you built it" problem.
Notes now group into 15 perceptual families a flavorist actually thinks in β Citrus, Fruity, Floral, Green & vegetal, Spice, Wood/resin/amber, Sweet & bakery, Dairy & fatty, Savoury & sulfur, Earthy/tobacco/leather, Fresh/cool/marine, Animalic & musk, Sharp & chemical, Base taste β each with its own count. The largest block is 27 chips instead of 178. Coverage was validated against the live term list: all 178 map cleanly, no duplicates across families, no typos. Anything unmapped falls into Other so a newly-trained head is never silently dropped from the picker β today that's just
odorless.Adds one filter box across every chip (flavors, notes and sensations). Non-matching chips hide, then empty chip rows, family blocks and whole sections collapse, so filtering never leaves orphan headings behind; a "no match" hint appears when nothing survives. Chips you've already selected stay visible while you type, so your picks don't vanish mid-search and the selection count stays honest. Every note chip also picked up its
AROMA_HELPblurb as a tooltip.Frontend only β
workbench.htmlis read per request, so no restart and no model/index rebuild.ruff check .clean and 25 unit tests pass.Note: #234 (underscore vs concatenated note dupes) turned out to be already fixed β the live term list has no underscore names at all, so nothing to dedupe. Closing it separately.