You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/user/setting
Guillaume 303af554c9
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).

![Screenshot from 2025-02-25
22-00-28](https://github.com/user-attachments/assets/41167854-0718-48b0-a3ee-75ca3a7b8b20)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 weeks ago
..
security Refactor error system (#33610) 4 weeks ago
account.go Refactor error system (#33610) 4 weeks ago
account_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2 months ago
adopt.go Move context from modules to services (#29440) 1 year ago
applications.go Improve "generate new access token" form (#33730) 2 weeks ago
block.go Refactor template & test related code (#32938) 3 months ago
keys.go Refactor error system (#33610) 4 weeks ago
main_test.go make writing main test easier (#27270) 1 year ago
oauth2.go Refactor template & test related code (#32938) 3 months ago
oauth2_common.go Refactor error system (#33610) 4 weeks ago
packages.go Refactor template & test related code (#32938) 3 months ago
profile.go Refactor pagination (#33037) 3 months ago
runner.go Move context from modules to services (#29440) 1 year ago
webhooks.go Refactor template & test related code (#32938) 3 months ago