diff options
author | Guillaume <me@gsvd.dev> | 2025-02-27 14:40:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-27 19:40:12 +0000 |
commit | 303af554c9bc7b22d5182a6fe9e22192a546cd41 (patch) | |
tree | 4e8540df87abe0f94913be5da22b8cdaa2643ee3 /options/locale | |
parent | 8362a4155929007b8d02b63a2e657557edb08fb9 (diff) | |
download | gitea-303af554c9bc7b22d5182a6fe9e22192a546cd41.tar.gz gitea-303af554c9bc7b22d5182a6fe9e22192a546cd41.zip |
Improve "generate new access token" form (#33730)
Fix: https://github.com/go-gitea/gitea/issues/33519
As discussed in [PR
#33614](https://github.com/go-gitea/gitea/pull/33614), the
ScopedAccessTokenSelector Vue component is not particularly useful.
This PR removes the component and reverts to using HTML templates. It
also introduces some (hopefully) useful refactoring.
The Vue component was causing the UX bug reported in the linked issue.
Required form fields are now properly working, as expected (see
screenshot).

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'options/locale')
-rw-r--r-- | options/locale/locale_en-US.ini | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 4c25ba3205..5aa6d19dae 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -917,7 +917,6 @@ delete_token_success = The token has been deleted. Applications using it no long repo_and_org_access = Repository and Organization Access permissions_public_only = Public only permissions_access_all = All (public, private, and limited) -select_permissions = Select permissions permission_not_set = Not set permission_no_access = No Access permission_read = Read |