Repository navigation
Conversation
|
Congratulations on your new Raycast extension! 🚀 You can expect an initial review within five business days. Once the PR is approved and merged, the extension will be available on our Store. |
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
This PR introduces a new extension for managing Jira worklogs through Tempo. The implementation provides two main commands: adding worklogs with flexible duration parsing and listing/managing existing worklogs with pagination.
Key features:
- Flexible duration input supporting formats like
1h,1h30m,45m, and1.5h - Smart issue selection with favorites, recent activity, assigned issues, and project filtering
- Account ID caching to reduce API calls
- Worklog pagination by week with chronological display
- Edit/delete worklog functionality
Implementation highlights:
- Clean separation of concerns with dedicated service files for Jira and Tempo APIs
- Proper error handling throughout with user-friendly toast messages
- TypeScript types for API responses
- LocalStorage used for favorites and caching
- Parallel API requests for better performance when fetching issue details
Confidence Score: 5/5
- This PR is safe to merge with no critical issues found
- The code is well-structured with proper error handling, type safety, and follows Raycast extension best practices. The implementation uses appropriate APIs, handles edge cases, and provides good UX with caching and parallel requests.
- No files require special attention
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/jira-tempo/package.json | 5/5 | Extension manifest configured correctly with commands, preferences, and dependencies |
| extensions/jira-tempo/src/services/jira-auth.service.ts | 5/5 | Implements Basic Auth and caches account ID lookup by email to improve performance |
| extensions/jira-tempo/src/services/tempo.service.ts | 5/5 | Provides authenticated API wrapper for Tempo with proper error handling |
| extensions/jira-tempo/src/add-worklog.tsx | 5/5 | Two-step UI: issue selection with favorites/recent/assigned, then worklog form with duration parsing |
| extensions/jira-tempo/src/list-worklogs.tsx | 5/5 | Lists worklogs grouped by date with pagination, edit duration, delete, and favorites actions |
| extensions/jira-tempo/src/utils/duration.ts | 5/5 | Flexible duration parser supporting multiple formats (1h, 1h30m, 1.5h) and formatter |
19 files reviewed, no comments
|
Hello @pernielsentikaer 👋 |
- feat(tempo): support custom date and log total on success - feat(tempo): implement extension to list worklogs and add new ones - Initial commit
|
Is this related? Raycast Store: Tembo by @vrmiguel - Feels a bit like same service but different name? |
Hi @pernielsentikaer, |
|
This is very targeted around Jira. Wouldn't it be better to create a |
|
@pernielsentikaer You mean I should rename the extension into something like |
|
That was my idea. I guess you can also use Raycast as a layer for Tempo, right? That it supports Jira is also cool for sure but it might be better with the "Tempo" name and update README and descipriton |
|
@pernielsentikaer Since I renamed the extension Should I close this one and move the description to the new one? |
|
Sure I can, closing it here 🙂 |
Description
I created a new extension to interact with Tempo and Jira, so as to be able to add worklogs and view those of the past days.
Features
Screencast
vcompress_52.MOV
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder