Repository navigation
Update url parse extension - #22662
Conversation
|
Thank you for your contribution! 🎉 🔔 @YES-Lee @pernielsentikaer you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. You can expect an initial review within five business days. |
left a comment
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
This PR enhances the URL parse extension with several key improvements. The main feature addition is clipboard paste functionality to address issue #22459, where URLs exceeding the search bar's input length limit (1664+ characters) couldn't be processed. The solution adds a "Parse URL from Clipboard" action accessible from both the empty view and individual URL action panels.
The codebase has been significantly modernized with dependency updates - @raycast/api from ^1.67.1 to ^1.103.5 and @raycast/utils from ^1.12.5 to ^2.2.2. Windows platform support has been added alongside macOS. The code architecture has been improved by extracting utilities and types into separate modules (utils.ts and types.ts), following separation of concerns principles. The ESLint configuration has been migrated from the legacy .eslintrc.json format to the modern eslint.config.mjs flat config format, aligning with current best practices.
Important Files Changed
| Filename | Score | Overview |
|---|---|---|
| extensions/url-parse/package.json | 4/5 | Major dependency version bumps, Windows platform support, and new contributor addition |
| extensions/url-parse/.eslintrc.json | 5/5 | Legacy ESLint configuration file removed as part of modernization |
| extensions/url-parse/src/types.ts | 4/5 | New TypeScript interface for URL parsing structure extracted from main component |
| extensions/url-parse/src/utils.ts | 4/5 | Utility functions extracted into separate module for better code organization |
| extensions/url-parse/src/parse.tsx | 4/5 | Main component refactored with clipboard functionality and modular architecture |
| extensions/url-parse/eslint.config.mjs | 5/5 | New ESLint flat config following Raycast's standard template |
Confidence score: 4/5
- This PR is safe to merge with minimal risk as it addresses a legitimate user issue and follows good engineering practices
- Score reflects solid implementation of clipboard functionality and proper code organization, but loses one point due to duplicate action placement that could be consolidated for better UX
- Pay close attention to extensions/url-parse/src/parse.tsx where the clipboard action appears twice - consider consolidating to avoid UI redundancy
6 files reviewed, 1 comment
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
commented
Nov 5, 2025
|
Published to the Raycast Store: |
commented
Nov 5, 2025
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
Screencast
CleanShot.2025-11-05.at.08.43.52.mp4
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare located outside the metadata folder if they were not generated with our metadata tool