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

Add a 'new gist' button to the GitHub Gist home page. #3098

Closed
HarshKapadia2 opened this issue May 16, 2020 · 3 comments
Closed

Add a 'new gist' button to the GitHub Gist home page. #3098

HarshKapadia2 opened this issue May 16, 2020 · 3 comments

Comments

@HarshKapadia2
Copy link

  1. Add a green new gist button on top of the page (beside the starred tab). The current + sign at the top right of the page is not intuitive at all...

  2. URL for where the feature should appear: https://gist.github.com/HarshKapadia2 (GitHub Gist home page.)

@fregante
Copy link
Member

As you said, the button is there:

And I'd say that's enough; it's the same position as GitHub’s "New..." menu

@HarshKapadia2
Copy link
Author

HarshKapadia2 commented May 16, 2020

Agreed, but the + GitHub and GitHub Gist buttons are really not intuitive. People usually ask or have to really search for those buttons.
I was going to raise an issue for the GitHub button as well, but I though that I should start with the GitHub Gist one first...

So my issue is that the + buttons are really too much in the corner, too small, inconvenient and not that intuitive for a user.

The solution could be to add a green button with the same options as the + button, but placed in much better place that makes it easy to access.

@fregante
Copy link
Member

We'll have to pass on this feature.

However you can add it via userscript with this line:

document
	.querySelector('.Header-link[aria-label^="Create new"]')
	.classList.add('btn', 'btn-primary')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants