Skip to content

Copy Button is Missing at the download page, CLI parts #1338

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

Closed
brahma-XD opened this issue Apr 4, 2023 · 1 comment
Closed

Copy Button is Missing at the download page, CLI parts #1338

brahma-XD opened this issue Apr 4, 2023 · 1 comment

Comments

@brahma-XD
Copy link

At the Download Page of the website, there is no button to copy the code And the

Cons

  • It requires the user to select it, which is not accurate sometimes, and it requires extra effort
  • it will be even easier to use
  • User Experience will be better

How I approach solving the problem.

  • First of all I would head towards any of the icon providers like, feather icons, box icons or font awesome, or bootstrap icons
  • From there, I would paste the HTML, right at the command div black part,
  • Make sure its at the most right part of the black div
  • And Lastly, I will add addEventListener to the icon and within that function, I will write the code to clipboard.add to install the command contents on the clipboard, either by fetching the HTML text content of the code tag
  • Else will add a parent tag as input and fetch the value of it

How much time will it require ?

  • I am not sure when will I raise a PR but it would barely take 10 mins to do so

If the reviewer found it an worthy and useful issue, Do assign me to this. I would like to contribute to Django

@marksweb
Copy link
Contributor

This is a duplicate, though more specific, of #1276

@thibaudcolas thibaudcolas closed this as not planned Won't fix, can't repro, duplicate, stale Mar 26, 2024
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

No branches or pull requests

3 participants