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
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>
16 hours ago
..
admin Refactor error system (#33610) 2 weeks ago
auth Refactor error system (#33610) 2 weeks ago
devtest Always show the "rerun" button for action jobs (#33692) 4 days ago
events Move context from modules to services (#29440) 1 year ago
explore Refactor error system (#33610) 2 weeks ago
feed Add pubdate for repository rss and add some tests (#33411) 1 month ago
healthcheck Always enable caches (#28527) 1 year ago
misc Refactor template & test related code (#32938) 2 months ago
org Refactor error system (#33610) 2 weeks ago
repo Fix git empty check and HEAD request (#33690) 4 days ago
shared Refactor error system (#33610) 2 weeks ago
user Improve "generate new access token" form (#33730) 16 hours ago
base.go Prepare for support performance trace (#33286) 1 month ago
githttp.go Refactor error system (#33610) 2 weeks ago
goget.go Make git clone URL could use current signed-in user (#33091) 2 months ago
home.go Refactor error system (#33610) 2 weeks ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 1 year ago
passkey.go Move context from modules to services (#29440) 1 year ago
swagger_json.go Move context from modules to services (#29440) 1 year ago
web.go Always show the "rerun" button for action jobs (#33692) 4 days ago
webfinger.go Refactor error system (#33610) 2 weeks ago