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

Closed
opened 2025-11-02 11:02:58 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @idc77 on GitHub (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

Originally created by @idc77 on GitHub (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](https://github.com/user-attachments/assets/d5cb30ad-da07-4188-b2b7-b7ab0587f7dd) ### Git Version irrelevant ### Operating System irrelevant ### How are you running Gitea? irrelevant ### Database None
GiteaMirror added the issue/confirmedtype/bugtopic/ui labels 2025-11-02 11:02:58 -06:00
Author
Owner

@gsvd commented on GitHub (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.

@gsvd commented on GitHub (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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14105