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 deploy key should scroll down to the form #17142

Closed
GhaziTriki opened this issue Sep 24, 2021 · 1 comment · Fixed by #17228
Closed

Add deploy key should scroll down to the form #17142

GhaziTriki opened this issue Sep 24, 2021 · 1 comment · Fixed by #17228
Labels
topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@GhaziTriki
Copy link

Gitea Version

1.15.0

Operating System

Windows 10 Pro

Browser Version

Firefox 92.0

Can you reproduce the bug on the Gitea demo site?

Yes

Description

When clicking on "Add Deploy Key" you have a long list of keys, the form is displayed at the most bottom and we have to manually scroll. The button should show the form and scroll to it without any additional efforts.

Screenshots

image

@axifive axifive added 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 Sep 24, 2021
@delvh
Copy link
Member

delvh commented Sep 24, 2021

I think a better approach would be to move the form before the list of already present keys.
That would solve this problem just as well as scrolling down automatically and can be implemented easier and less error-prone than the automatic scroll.

@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
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/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants