Skip to content

Comments

fix: exclude copy selection in btns and tooltip of install#978

Merged
danielroe merged 1 commit intonpmx-dev:mainfrom
benjavicente:main
Feb 5, 2026
Merged

fix: exclude copy selection in btns and tooltip of install#978
danielroe merged 1 commit intonpmx-dev:mainfrom
benjavicente:main

Conversation

@benjavicente
Copy link
Contributor

Makes the buttons and the tooltip non selectable for the install terminal commands.

Screen.Recording.2026-02-04.at.21.37.02.mov

@vercel
Copy link

vercel bot commented Feb 5, 2026

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

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Feb 5, 2026 0:48am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 5, 2026 0:48am
npmx-lunaria Ignored Ignored Feb 5, 2026 0:48am

Request Review

@codecov
Copy link

codecov bot commented Feb 5, 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!

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 5, 2026

📝 Walkthrough

Walkthrough

The changes add the select-none CSS class to multiple interactive elements within the Install component. Install command copy buttons for all package managers, the view types NuxtLink, run command copy buttons for executables, and create command copy buttons all receive the new class. Additionally, the create command comment line structure is simplified with the select-none class moved from an inner span to its outer container. The modifications affect only presentation layer styling; no alterations are made to command generation logic or component functionality.

🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed The pull request description directly relates to the changeset, describing the addition of select-none classes to buttons and other interactive elements to prevent text selection.

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

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

@danielroe danielroe added this pull request to the merge queue Feb 5, 2026
Merged via the queue into npmx-dev:main with commit 217e072 Feb 5, 2026
15 checks passed
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.

2 participants