Repository navigation
Fix/content filter select labels - #368
Conversation
gkhngyk
left a comment
There was a problem hiding this comment.
The select fix itself is spot-on — all three filters (Status / Impact / Type) now render their label via the SelectValue render prop with the t(...) mapping, matching the Citations pattern, and Prettier's happy. 🎉
Just one thing before merge: the PR accidentally includes a committed web/diff.txt file (looks like a stray git diff > diff.txt that got git add-ed). Please remove it — git rm web/diff.txt and commit (and maybe add diff.txt to .gitignore so it doesn't sneak back in). Once that's gone, this is good to go!
|
as far as i know i have updated it .still it is not merged yet!!!! |
|
Hey @Sam-syntax35 — thanks for the ping, and sorry for the wait! 🙏 The select label fix is perfect and totally ready. The only thing still blocking merge is the stray Could you drop it and push? git rm web/diff.txt
git commit -m "chore: remove stray diff.txt"
git push(Optional: add As soon as that lands I'll re-review and approve right away — you're basically one command away. 🙌 |
|
Thanks! I've removed web/diff.txt and pushed the update. Ready for another review. |
gkhngyk
left a comment
There was a problem hiding this comment.
Thanks for cleaning up the stray diff.txt — this is good to go now. The render-prop labels resolve correctly for every filter value (status/impact/type all map to existing keys), the content namespace keys are all present, and prettier is clean. Nice fix.
Summary
Fixes the Content Optimization filter selects so they display the human-readable label instead of the raw value after an option is selected.
Changes
Testing
Closes #364