Skip to content

feat: add socket.dev link into package command palette#2481

Merged
ghostdevv merged 1 commit intonpmx-dev:mainfrom
romansp:fix/2480-socket-dev-command-palette-link
Apr 12, 2026
Merged

feat: add socket.dev link into package command palette#2481
ghostdevv merged 1 commit intonpmx-dev:mainfrom
romansp:fix/2480-socket-dev-command-palette-link

Conversation

@romansp
Copy link
Copy Markdown
Contributor

@romansp romansp commented Apr 11, 2026

🔗 Linked issue

Fixes #2480.

🧭 Context

Link to socket.dev was missing in package command palette (Cmd/Ctrl+K) menu.

📚 Description

Simple change to ensure link is added to commands array and thus visible in command palette.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Apr 11, 2026 11:57pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Apr 11, 2026 11:57pm
npmx-lunaria Ignored Ignored Apr 11, 2026 11:57pm

Request Review

@github-actions
Copy link
Copy Markdown

Hello! Thank you for opening your first PR to npmx, @romansp! 🚀

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any issues you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Vercel

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 11, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9dc8bc74-9566-4104-83aa-e3cadfebaa46

📥 Commits

Reviewing files that changed from the base of the PR and between bec2f2f and cb23d26.

📒 Files selected for processing (1)
  • app/components/Package/ExternalLinks.vue

📝 Walkthrough

Walkthrough

This PR adds a new command palette entry for socket.dev links in the ExternalLinks.vue component. The change appends a command object with a fixed ID (package-link-socket.dev), group (links), label (socket.dev), search keywords including the package name, an icon class (i-simple-icons:socket), and an href constructed from the package name to point to socket.dev/npm/package/{package-name}. The entry integrates with the existing useCommandPaletteContextCommands function without altering other command logic.

Possibly related PRs

  • feat: add link to socket.dev #2370: Adds socket.dev support with visible external links and i18n/schema entries to ExternalLinks.vue, complementing this command-palette integration.

Suggested reviewers

  • ghostdevv
  • trueberryless
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description check ✅ Passed The PR description clearly relates to the changeset, explaining that a socket.dev link was added to the command palette to fix a missing feature reported in issue #2480.
Linked Issues check ✅ Passed The PR successfully addresses the linked issue #2480 by adding the socket.dev link to the command palette, fulfilling the stated objective of making the link accessible via the Cmd/Ctrl+K menu.
Out of Scope Changes check ✅ Passed All changes are within scope; only a socket.dev command palette entry was added to the ExternalLinks.vue file, directly addressing the requirements from issue #2480.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@ghostdevv ghostdevv changed the title fix: include socket.dev link into package command palette (#2480) feat: add socket.dev link into package command palette Apr 12, 2026
@ghostdevv ghostdevv added this pull request to the merge queue Apr 12, 2026
Merged via the queue into npmx-dev:main with commit d76ee23 Apr 12, 2026
22 checks passed
@github-actions
Copy link
Copy Markdown

Thanks for your first contribution, @romansp! 🚀

We'd love to welcome you to the npmx community. Come and say hi on Discord! And once you've joined, visit npmx.wamellow.com to claim the contributor role.

@romansp romansp deleted the fix/2480-socket-dev-command-palette-link branch April 12, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing socket.dev link in package Cmd/Ctrl+K menu

2 participants