extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Add hijri-converter extension

Open AdelEnazi1117 opened this issue 2 months ago • 3 comments

Description

Screencast

Checklist

AdelEnazi1117 avatar Dec 14 '25 19:12 AdelEnazi1117

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.

raycastbot avatar Dec 14 '25 19:12 raycastbot

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:

  • launchCommand calls in menu-bar.tsx need 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 launchCommand calls need try-catch blocks per repository guidelines
  • Pay attention to extensions/hijri-converter/src/menu-bar.tsx for 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

greptile-apps[bot] avatar Dec 14 '25 19:12 greptile-apps[bot]

I’ve addressed the Greptile feedback and all checks are passing. Could you please review when you have time? thank you @pernielsentikaer

AdelEnazi1117 avatar Dec 15 '25 09:12 AdelEnazi1117

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 😊

raycastbot avatar Jan 06 '26 18:01 raycastbot

Published to the Raycast Store: https://raycast.com/adel_enazi/hijri-converter

github-actions[bot] avatar Jan 27 '26 08:01 github-actions[bot]

: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.

raycastbot avatar Jan 27 '26 08:01 raycastbot