Skip to content

Fix copyable composer package version strings and add a versionlss link#560

Open
JamesDominy wants to merge 2 commits intodevelopfrom
fix-composer-copyable-strings
Open

Fix copyable composer package version strings and add a versionlss link#560
JamesDominy wants to merge 2 commits intodevelopfrom
fix-composer-copyable-strings

Conversation

@JamesDominy
Copy link
Copy Markdown
Member

@JamesDominy JamesDominy commented Apr 13, 2026

The website redesign (commit 20f5de6) introduced a space which breaks composer commands, which expect no space in a package+version specifier.

This PR:

Steps to test:

  1. pull this branch
  2. docker compose up -d
  3. point your browser at http://localhost:30100/search?q=wordpress-seo&type=# (If you don't have a populated DB, hit the Refresh icon and reload the page)
  4. Click the 'copy-to-clipboard' link
  5. Paste the result somewhere, which should be "wpackagist-plugin/wordpress-seo"

@JamesDominy JamesDominy requested a review from a team as a code owner April 13, 2026 08:45
The website redesign (commit 20f5de6) introduced a space which breaks
composer commands, which expect no space in a package+version specifier.
Add a click-to-copy icon to the front of the versions list in the search
result table, which, when clicked, copies the composer package name
without any version.
@JamesDominy JamesDominy changed the title Fix copyable composer package version strings Fix copyable composer package version strings and add a versionlss link Apr 13, 2026
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.

Add composer require copyable link

1 participant