Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign the packages pages to include installation cmd directly on the first page #7122

Open
ebenjs opened this issue Oct 13, 2023 · 3 comments
Labels
Accessibility Issues with the accessibility of the site. Type: enhancement

Comments

@ebenjs
Copy link

ebenjs commented Oct 13, 2023

URL: https://pub.dev/

It will be nice to redesign the packages pages to include directly the installation command just like npm or crates.io do. Sometimes we just need to copy quickly this command and paste it into our terminal to install the package. We don't need to explicitly click on the install tab before being able to see the package installation command.

@sigurdm
Copy link
Contributor

sigurdm commented Oct 13, 2023

We have the button here that copies what you need to paste into pubspec.yaml:
image

Maybe we should also have a place for dart pub add <packagename>...

@ebenjs
Copy link
Author

ebenjs commented Oct 13, 2023

"Maybe we should also have a place for dart pub add "; yes this is what I'm talking about.

@ebenjs
Copy link
Author

ebenjs commented Dec 14, 2023

@sigurdm Can you have a look please ? #7305

@sigurdm sigurdm added the Accessibility Issues with the accessibility of the site. label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Issues with the accessibility of the site. Type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants