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

UI: button to download code lacks tooltip #221

Closed
1 of 3 tasks
pmattern opened this issue Nov 22, 2016 · 14 comments
Closed
1 of 3 tasks

UI: button to download code lacks tooltip #221

pmattern opened this issue Nov 22, 2016 · 14 comments
Labels
topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first.
Milestone

Comments

@pmattern
Copy link

  • Gitea version (or commit ref): cb16028
  • Git version: 2.10.2
  • Operating system: Arch Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite

Within those fields displaying a repository's URL which can e. g. be seen at URLs like gitea.example.org/Someorganization/Somerepo the button to copy comes with a tooltip while the button to download at its right doesn't.
gitea_repo-url-missing-tooltip
Maybe this is a bit of bikeshedding but I figure the UX would be a bit more smooth if the button to download had a tooltip as well.

@bkcsoft bkcsoft added type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first. topic/ui Change the appearance of the Gitea UI labels Nov 22, 2016
@strk
Copy link
Member

strk commented Nov 23, 2016

Sounds like an easy change. Are you up for a PR @pmattern ?

@gencer
Copy link

gencer commented Nov 23, 2016

@pmattern try github theme for a while. I fixed these things. Hope to see theme feature on gitea in the future. https://github.com/gencer/gitea-gihubify

Image

@tboerger tboerger added this to the 1.0.0 milestone Nov 24, 2016
@tboerger
Copy link
Member

@pmattern try github theme for a while. I fixed these things. Hope to see theme feature on gitea in the future. https://github.com/gencer/gitea-gihubify

Cool, we will provide better theming support for sure, but we will never get a GitHub clone theme into the core itself, we don't want to end like https://gitbucket.github.io/gitbucket-news/gitbucket/2016/03/20/change-user-interface.html ;)

@pmattern
Copy link
Author

@gencer
After applying gencer/gitea-githubify@8b80e49 upon 574e49c the problem addressed in this issue is persisting here.
Btw. files patch{,-ext}.css have to go to public/*css*/, not? Also, I wonder whether directory ss really isn't needed at all and whether it's unavoidable that patch.css is basically a single line comprising 300k characters.

@strk

Sounds like an easy change. Are you up for a PR @pmattern ?

Unfortunately I'm lacking both time and skills right now.

@bkcsoft bkcsoft modified the milestones: 1.1.0, 1.0.0 Dec 3, 2016
hhenkel added a commit to hhenkel/gitea that referenced this issue Dec 6, 2016
hhenkel added a commit to hhenkel/gitea that referenced this issue Dec 7, 2016
@lunny
Copy link
Member

lunny commented Dec 7, 2016

@pmattern, please confirm this have been resolved.

@lunny lunny modified the milestones: 1.0.0, 1.1.0 Dec 7, 2016
@pmattern
Copy link
Author

pmattern commented Dec 7, 2016

Running 39d0db5 the problem is basically solved but there are two things worth having another look at, IMO:

The tooltip to copy is above that line comprising URL etc. as shown above while the tooltip to download is placed left of the button which is a bit inconsistent and covering parts of the URL.
gitea_tooltip-download_left-of-button

More importantly string "download_archive" doesn't seem like a really good choice.

@lunny
Copy link
Member

lunny commented Dec 7, 2016

@hhenkel

@tboerger
Copy link
Member

tboerger commented Dec 7, 2016

Looks like the bindata have not been updated.

And the tooltip is automatically placed like that.

@pmattern
Copy link
Author

pmattern commented Dec 7, 2016

And the tooltip is automatically placed like that.

Indeed the alignment seems to be independent from the current commits. Increasing the width of the browser window yields
gitea_tooltip-download_top-of-button
Not sure whether the underlying algorithms should be adjusted, though. When the tooltip was displayed left of the button plenty of space would have been available to have it placed top / right of that line displaying URL and so on.

@hhenkel
Copy link
Contributor

hhenkel commented Dec 7, 2016

image
I'm currently testing - with the position "top right" it looks like shown on my screen.

@hhenkel
Copy link
Contributor

hhenkel commented Dec 7, 2016

@pmattern I submitted #364 to fix this, can you test it?

@pmattern
Copy link
Author

pmattern commented Dec 8, 2016

@hhenkel
Running bab737b from current master the tooltip states "Download this repository" and the placement is reasonable, IMO.

Would it make sense to have the other tooltip state something like "Copy URL" or so, hence some kind of description like the one provided by "Download this repository" right now? Just wondering.

@lunny
Copy link
Member

lunny commented Dec 9, 2016

@pmattern, please fire another issue for Copy URL and I think this issue could be closed.

@tboerger
Copy link
Member

tboerger commented Dec 9, 2016

Fixed

@tboerger tboerger closed this as completed Dec 9, 2016
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

7 participants