gitea/routers/web
Guillaume 303af554c9
Improve "generate new access token" form ()
Fix: https://github.com/go-gitea/gitea/issues/33519

As discussed in [PR
](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>
2025-02-27 19:40:12 +00:00
..
admin Refactor error system () 2025-02-16 22:13:17 -08:00
auth Refactor error system () 2025-02-16 22:13:17 -08:00
devtest Always show the "rerun" button for action jobs () 2025-02-24 08:40:46 +00:00
events Move context from modules to services () 2024-02-27 08:12:22 +01:00
explore Refactor error system () 2025-02-16 22:13:17 -08:00
feed Add pubdate for repository rss and add some tests () 2025-01-27 23:58:46 +08:00
healthcheck Always enable caches () 2023-12-19 09:29:05 +00:00
misc Refactor template & test related code () 2024-12-22 15:33:19 +00:00
org Refactor error system () 2025-02-16 22:13:17 -08:00
repo Fix git empty check and HEAD request () 2025-02-24 02:11:29 +00:00
shared Refactor error system () 2025-02-16 22:13:17 -08:00
user Improve "generate new access token" form () 2025-02-27 19:40:12 +00:00
base.go Prepare for support performance trace () 2025-01-15 20:05:18 +00:00
githttp.go Refactor error system () 2025-02-16 22:13:17 -08:00
goget.go Make git clone URL could use current signed-in user () 2025-01-07 13:17:44 +08:00
home.go Refactor error system () 2025-02-16 22:13:17 -08:00
metrics.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
nodeinfo.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
passkey.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
swagger_json.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
web.go Always show the "rerun" button for action jobs () 2025-02-24 08:40:46 +00:00
webfinger.go Refactor error system () 2025-02-16 22:13:17 -08:00