Update tembo extension#21768
Update tembo extension#21768vrmiguel wants to merge 4 commits intoraycast:mainfrom vrmiguel:ext/tembo
Conversation
- Lint - Merge branch \'contributions/merge-1758645741387\' - Pull contributions - Move author to @tembo, improve issue sorting - Merge pull request #1 from tembo/tembo/investigate-menu-bar-refetching-raycast - refactor: optimize menubar tasks data fetching - Resync with Raycast origin - Evals for Raycast AI - First commit
|
Thank you for the update! 🎉 Due to our current reduced availability, the initial review may take up to 10-15 business days |
There was a problem hiding this comment.
Greptile Overview
Summary
This PR modernizes the Tembo extension with three key improvements. First, it migrates the menu bar component from manual state management to `useCachedPromise` from `@raycast/utils`, which provides automatic caching, loading state management, and revalidation capabilities. This follows Raycast best practices and simplifies the code by eliminating manual `useState` and `useEffect` patterns.Second, the extension ownership is transferred by changing the author from 'vinicius_miguel' to 'tembo', indicating official Tembo team ownership. Third, the task sorting logic is enhanced to prioritize tasks by lastQueuedAt timestamp before falling back to creation date, providing more relevant ordering based on when tasks were last actively processed.
Additionally, the package.json is enhanced with comprehensive AI tools configuration, adding "create-task" and "view-tasks" tools with detailed descriptions. The extension includes 6 thorough AI evaluation scenarios covering task creation, viewing, filtering, and combined operations, demonstrating proper adherence to Raycast's AI extension requirements. The CHANGELOG.md is updated with an appropriately formatted entry documenting these improvements.
Changed Files
| Filename | Score | Overview |
|---|---|---|
| extensions/tembo/CHANGELOG.md | 5/5 | Adds properly formatted changelog entry documenting the extension improvements |
| extensions/tembo/src/menubar-tasks.tsx | 5/5 | Modernizes component with useCachedPromise and improves task sorting logic |
| extensions/tembo/package.json | 5/5 | Updates author to 'tembo' and adds comprehensive AI tools configuration with evals |
Confidence score: 5/5
- This PR is safe to merge with minimal risk
- Score reflects well-structured modernization following Raycast best practices with comprehensive AI tooling
- No files require special attention
3 files reviewed, 1 comment
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi 👋
Looks good to me, approved 🔥
Description
useCachedPromise@temboChecklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder