Skip to content

Update url parse extension - #22662

Merged
raycastbot merged 3 commits into
raycast:mainfrom
ridemountainpig:url-parse
Nov 5, 2025
Merged

raycastbot merged 3 commits into
raycast:mainfrom
ridemountainpig:url-parse

Conversation

@ridemountainpig

Copy link
Copy Markdown
Contributor

Description

Screencast

CleanShot.2025-11-05.at.08.43.52.mp4

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: url-parse Issues related to the url-parse extension platform: macOS platform: Windows labels Nov 5, 2025
@raycastbot

ghost commented Nov 5, 2025 •

Copy link
Copy Markdown
Collaborator

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.

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Edit Code Review Agent Settings | Greptile

Comment thread extensions/url-parse/src/utils.ts Resolved
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@pernielsentikaer pernielsentikaer self-assigned this Nov 5, 2025

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit cc8a88c into raycast:main Nov 5, 2025
@github-actions

ghost commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 5, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@ridemountainpig
ridemountainpig deleted the url-parse branch November 5, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: url-parse Issues related to the url-parse extension platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[URL Parse] The text you are trying to paste is too long

3 participants