Add hijri-converter extension
Description
Screencast
Checklist
- [x] I read the extension guidelines
- [x] I read the documentation about publishing
- [x] I ran
npm run buildand tested this distribution build in Raycast - [x] I checked that files in the
assetsfolder are used by the extension itself - [x] I checked that assets used by the
READMEare placed outside of themetadatafolder
Congratulations on your new Raycast extension! :rocket:
Due to our current reduced availability, the initial review may take up to 10-15 business days.
Once the PR is approved and merged, the extension will be available on our Store.
Greptile Overview
Greptile Summary
This PR adds a new Hijri Converter extension that enables bidirectional date conversion between Hijri (Islamic) and Gregorian calendars. The extension includes five commands: two conversion commands with live preview, a today's date display, a calendar view, and a menu bar component.
Key Features:
- Live preview in conversion forms as users type
- Auto-copy results to clipboard on submission
- Forms default to today's date for convenience
- Menu bar integration for quick access
Issues Found:
-
launchCommandcalls inmenu-bar.tsxneed try-catch error handling (lines 73-86)
Overall Assessment:
The extension is well-structured with proper error handling in most places, clean code organization, and follows Raycast conventions. Configuration files (.prettierrc, eslint.config.js) use the standard templates, and the CHANGELOG follows the required format with {PR_MERGE_DATE}. Metadata screenshots are included as required for a new extension.
Confidence Score: 4/5
- This PR is safe to merge with one error handling fix required
- Score reflects well-implemented functionality with proper structure and conventions, but
launchCommandcalls need try-catch blocks per repository guidelines - Pay attention to
extensions/hijri-converter/src/menu-bar.tsxfor error handling fixes
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/hijri-converter/package.json | 5/5 | well-structured package.json with proper metadata, commands, and dependencies |
| extensions/hijri-converter/src/menu-bar.tsx | 3/5 | menu bar component with launchCommand calls that need try-catch error handling |
| extensions/hijri-converter/src/convert-date.tsx | 5/5 | Hijri to Gregorian conversion with live preview and proper error handling |
| extensions/hijri-converter/src/gregorian-to-hijri.tsx | 5/5 | Gregorian to Hijri conversion with live preview and proper error handling |
I’ve addressed the Greptile feedback and all checks are passing. Could you please review when you have time? thank you @pernielsentikaer
This pull request has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊
Published to the Raycast Store: https://raycast.com/adel_enazi/hijri-converter
:tada: :tada: :tada:
Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@AdelEnazi1117).
Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag.