Repository navigation
Update harvest extension: Add favorites command - #22210
Conversation
- add publish script - favorite icon - add favorites - Initial commit
|
Thank you for the update! 🎉 You can expect an initial review within five business days. |
- update packages - edit favorite - frecency sorting
There was a problem hiding this comment.
Greptile Overview
Summary
This PR adds a new favorites management feature to the Harvest extension, allowing users to quickly start timers or create time entries from preset favorites.
Key Changes:
- New
listFavoritescommand with CRUD operations for managing favorites - Favorites are stored in LocalStorage and ranked using frecency sorting from
@raycast/utils - Added
addFavoriteFormcomponent for creating/editing favorites with project, task, notes, and duration fields - Migrated from
lodashtoes-toolkitfor utility functions - Updated dependencies including
@raycast/api(1.68.0 → 1.103.0) and@raycast/utils(1.3.1 → 2.2.1)
Implementation Notes:
- Favorites support both timer mode (no duration) and time entry mode (with duration)
- The form correctly handles company time format preferences (decimal vs hours:minutes)
- Frecency sorting automatically ranks favorites based on usage patterns
- Clean integration with existing time entry creation flow
Confidence Score: 4/5
- This PR is safe to merge with one verification step needed
- The implementation is solid with good code quality, proper state management, and correct usage of Raycast APIs. The score reflects the need to verify that a metadata folder with screenshots exists before store submission, as this is required but not visible in the changeset.
- Verify that
extensions/harvest/metadata/folder exists with at least one screenshot for store submission
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/harvest/package.json | 4/5 | Added listFavorites command, upgraded dependencies, replaced lodash with es-toolkit |
| extensions/harvest/src/addFavoriteForm.tsx | 4/5 | New form component for adding and editing favorites with project/task selection and time format handling |
| extensions/harvest/src/listFavorites.tsx | 4/5 | Main favorites management screen with LocalStorage persistence, frecency sorting, and CRUD operations |
7 files reviewed, 1 comment
| "name": "listFavorites", | ||
| "icon": "favorite.png", | ||
| "title": "Favorites", | ||
| "subtitle": "Harvest", | ||
| "description": "Quick access to favorite time entries", | ||
| "mode": "view" | ||
| }, |
There was a problem hiding this comment.
style: Check that a metadata folder with screenshot has been added for the new listFavorites command, as required by extension guidelines for store submission
Context Used: Rule from dashboard - Extensions must include at least one screenshot in a metadata folder for store submission. (source)
pernielsentikaer
left a comment
There was a problem hiding this comment.
Looks good to me, approved 🔥
|
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. |
- chore: add assets and metadata for store submission - docs: add comprehensive documentation - test: add comprehensive test coverage - feat: implement UI components and main search interface - feat: add internationalization support - feat: add AI-powered query interpretation - feat: implement core app search functionality - feat: add type definitions and fuzzy matching utilities - feat: initialize app-search extension with project configuration - Update CODEOWNERs (7b1e59c4) - Add kagi-news extension (#22389) - brew: Change "formula" to "formulae" (#22518) - Update CODEOWNERs (257af696) - Add string-formatter extension (#21859) - Update CODEOWNERs (2a0fab28) - Add helium extension (#22290) - feat(markdown-codeblock): add newline prefix (#22369) - Update CODEOWNERs (b20058a1) - Docker/add windows support (#22455) - Add Windows platform support (#22453) - Update CODEOWNERs (aa68611f) - Add xkcd-password-generator extension (#22433) - Update CODEOWNERs (8bf2a9d9) - Add Stagehand extension (#22179) - Update CODEOWNERs (59d237b7) - Add micro-snitch-logs extension (#22390) - Update CODEOWNERs (238052ee) - Update github extension (#22384) - Docs: Update the utils docs - Update CODEOWNERs (42e307ec) - Add ivpn extension (#22149) - Add Pagination to List of Playlist Songs (#22145) - [Update] [Things] Increase timeout in AppleScript and update Node packages to latest (#22512) - Update figma-files-raycast-extension extension (#22254) - Update prism-launcher extension (#22458) - Update unicode-symbols extension (#22510) - Update jsr extension (#22503) - Update CODEOWNERs (0fd5ad08) - Add keeper-security extension (#22296) - Update filemaker-snippets extension (#22509) - Update CODEOWNERs (e858971c) - Add paynow extension (#22380) - [ipapi.is] fix error when some location field is invalid (#22493) - Update CODEOWNERs (ccfa9932) - Update zen-browser extension (#22491) - Update tembo extension (#22471) - Delete .github/workflows/add-approve-label.yml (#22501) - Update `Chatwoot` extension - Add "My Inbox" command + Fix "List Messages" command (#22490) - [Linear] Use API-provided notification presentation (#22285) - Update CODEOWNERs (1a7209ee) - Update harvest extension (#22256) - Update CODEOWNERs (13787cdf) - Fix finding button in Tahoe. (#22330) - Update GitHub Actions workflow for PR approvals (#22487) - Docs: update for the new API release - Update CODEOWNERs (77f64775) - Added support for Asana sections (#21912) - Update auto-label workflow for PR approvals (#22484) - Update GitHub Actions workflow to set effective token (#22482) - Update workflow to use pull_request_review event (#22479) - Update CODEOWNERs (d5727aab) - Add action to generate and copy private links (#22273) - Enhance PR approval labeling workflow (#22477) - Chatgpt atlas bookmarks improvement (#22371) - Add windows support (#22367) - Update diskutil-mac extension (#22307) - [Secret Browser Commands] add ChatGPT Atlas, etc (#22348) - Update deployhq extension (#22319) - [Serie A] Update extensions (#22427) - Update CODEOWNERs (a0f6527b) - Update arc extension (#22272) - Update CODEOWNERs (82962ede) - Add file-info extension (#22259) - [LaLiga] Update extensions (#22452) - Update CODEOWNERs (9f49ac17) - Update jotoba extension (#22379) - Update capture fullpage of website extension (#22392) - Update CODEOWNERs (9eeb19ae) - Add `Formizee` extension - The Open-Source Forms Platform (#22281) - Update CODEOWNERs (3878eb92) - [Video Downloader] ADD "Open in Explorer" for Windows users. (#22300) - Add `Sevalla` extension (#22407) - Update CODEOWNERs (c4582cbb) - Add `Attio` extension - Objects, Tasks, Webhooks, Lists, Notes, Members and Teams (1st version) (#22432) - Update CODEOWNERs (04f103bd) - Update google tasks extension (#22439) - Update CODEOWNERs (1e072cd8) - feat: add KeePassXC entry placeholder support (#22357) - Update ton-address extension (#22370) - [Postiz] Fix Creation Failing + Post Enhancements (#22372) - Update comet extension (#22381) - Update CODEOWNERs (291204ff) - [Random] Update dependencies, release for Windows (#22353) - Update CODEOWNERs (eeb3d87a) - Update capture fullpage of website extension (#22304) - Update CODEOWNERs (5204e8d4) - Add `HomeBox` extension - A simple home inventory management software (#22264) - Update docklock-plus extension (#22240) - Update `Autumn` extension - New Features command + Windows Support + Enhancements (#22311) - Update CODEOWNERs (7385f9dd) - Update paste as plain text extension (#22328) - Update CODEOWNERs (0ad576af) - Add `Vartiq` extension - Manage Projects, Apps, Webhooks, Webhook Messages (#22324) - Update CODEOWNERs (f28be428) - Update browser bookmarks extension (#22343) - Update CODEOWNERs (85c4dc01) - Update chatgpt atlas extension (#22351) - Update CODEOWNERs (2468906f) - Add ChatGPT Atlas extension (#22340) - Docs: update for the new API release - Update nightscout extension (#22293) - Threads: ESLint simplification, dependency updates, new commands, and documentation (#22276) - Update CODEOWNERs (a2bc7743) - Add wled-controller extension (#22258) - Update CODEOWNERs (12a75181) - Update jetbrains extension - Add Support for Toolbox V3 (#22265) - Update CODEOWNERs (3c3bfba8) - Add fathom extension (#22187) - Update youtube extension (#22250) - Update CODEOWNERs (2ddb7251) - Update fetch youtube transcript extension (#22220) - docs: [YouTube] reflect YouTube extension features instead of the GitLab extension (#22246) - Update kimai extension (#21809) - Update multiple extensions to address security vulnerabilities. (#22241) - Update linkding extension (#22231) - Update CODEOWNERs (f24e76f7) - Add http-observatory extension (#22219) - Update dig extension (#22213) - Update CODEOWNERs (4dd7c9d8) - Update apple-reminders extension (#22182) - Update CODEOWNERs (6336d869) - Add `Paymenter` extension - View Invoices + View Tickets + View & Create Users (#22232) - Update CODEOWNERs (f7242a65) - Update nhl extension (#22237) - Update CODEOWNERs (6d84bbb2) - Update obsidian-tasks extension (#21863) - Update harvest extension: Add favorites command (#22210) - Update CODEOWNERs (e8d487be) - Add tududi extension (#22165) - Update raycast-zoxide extension (#22218) - Update CODEOWNERs (00c88e12) - Update cheatsheets extension (#22226) - New Feature: Bootstrap Icons: AI Search Fallback (#22221) - Update `Unkey` extension - move to Unkey SDK w/ v2 Endpoints for better performance (#22214) - feat(nuxt): add Windows compatibility (#22209) - Update CODEOWNERs (4e5503af) - Add forscore extension (#22204) - tabler: handle pagination/search APIs (#22189) - Update CODEOWNERs (72e0c46f) - Update plane extension (#22198) - Update CODEOWNERs (a15e7275) - Add haystack extension (#22052) - Update zed-recent-projects extension (#22199) - things: fix timeout on macOS Tahoe (#22193) - macosicons: enhance error handling with detailed troubleshooting (#22192) - feat(nuxt): v2.1.0 (#22104) - [Bitwarden] Add Windows support (#21940) - Update CODEOWNERs (0d47291d) - Update instant-domain-search extension (#22081) - Update CODEOWNERs (a006b143) - Update time-machine extension (#22045) - Update base-stats extension (#21710) - Update CODEOWNERs (88cf72d9) - Update contributors (#22175) - Add Bootstrap Icons extension (#22190) - Update CODEOWNERs (9e13279b) - Add edgestore-raycast extension (#22117) - Update CODEOWNERs (a82922ec) - New Extension: Metacritic (#21588) - Update dust-tt extension (#22167) - [1Password] Adopt the latest extension template (#22109) - Update CODEOWNERs (b1b36e04) - Kaomoji Windows Support (#22158) - Update CODEOWNERs (21f635c6) - Update changedetection-io extension (#22126) - Update CODEOWNERs (7aa198cb) - [IPInfo] Release for Windows (#22075) - Update threads extension (#21962) - Update search-npm extension (#22153) - Update CODEOWNERs (0f83c147) -
Description
Added: New command to manage favorites
You can now add, edit, and delete favorites to quickly start timers or create time entries from a preset.
Fixes #22178
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder