Color Picker: add color favorites#28071
Conversation
|
Thank you for your contribution! 🎉 🔔 @thomaspaulmann @otakustay @EmersonEmerson @pernielsentikaer @arronhunt @kvdo2 @LitoMore @samuelkraft @ridemountainpig @xilopaint @anwarulislam @yusifaliyevpro @elibattistoni @clins1994 you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. 📋 Quick checkout commandsBRANCH="tpm/codex/color-picker-favorites"
FORK_URL="https://github.com/raycast/extensions.git"
EXTENSION_NAME="color-picker"
REPO_NAME="extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days. |
Greptile SummaryThis PR adds a Favorites feature to the Color Picker's Organize Colors command, allowing users to pin colors into a dedicated Favorites section separate from regular history and reorder them with Move Up/Down actions.
Confidence Score: 5/5The change is well-scoped and safe to merge; favorites are stored as a flag on existing history items and all mutation paths correctly handle the favorites-aware trimming and in-place update logic. The core state mutations (add/remove favorite, move, re-pick update) are all handled correctly. The moveFavorite swap operates on the flat history array and the UI filter preserves relative order, so reordering works as intended. The trimming in addToHistory consistently protects favorite entries from eviction while capping non-favorites at the adjusted limit. No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "Color Picker: optimize history managemen..." | Re-trigger Greptile |
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Addresses some suggestion on 𝕏.
Summary
Validation
npm run lintnpm run buildpnpm dev:xrayreached Vite ready and node-backend watch built successfully in/Users/mann/Developer/raycast-clients.