Skip to content

UX,Usability: Creating Personal Access Tokens, provide access form values on error #33519

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
idc77 opened this issue Feb 6, 2025 · 1 comment · Fixed by #33730
Closed

UX,Usability: Creating Personal Access Tokens, provide access form values on error #33519

idc77 opened this issue Feb 6, 2025 · 1 comment · Fixed by #33730
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/ui Change the appearance of the Gitea UI type/bug
Milestone

Comments

@idc77
Copy link

idc77 commented Feb 6, 2025

Description

I just tried to create a personal access token.
I set the permissions but forgot the name.
Then I submitted the form, but an error was displayed.
Instead of gitea providing the entered values again, where I'd only have to enter the PAT name,
I now have to re-do the access permissions.

Gitea Version

1.23.1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

irrelevant

Screenshots

Image

Git Version

irrelevant

Operating System

irrelevant

How are you running Gitea?

irrelevant

Database

None

@idc77 idc77 added the type/bug label Feb 6, 2025
@idc77 idc77 changed the title UX,Usability: Creating Personal Access Tokens, provide access forum values on error UX,Usability: Creating Personal Access Tokens, provide access form values on error Feb 6, 2025
@techknowlogick techknowlogick added topic/ui Change the appearance of the Gitea UI issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented labels Feb 6, 2025
@gsvd
Copy link
Contributor

gsvd commented Feb 26, 2025

Opened a new PR to remove instead the Vue component ScopedAccessTokenSelector. IMO it's much cleaner this way. It also fixes the issue reported here.

@lunny lunny added this to the 1.23.5 milestone Feb 26, 2025
@lunny lunny closed this as completed in 303af55 Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
4 participants