gitea/templates/user
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>
2025-02-27 19:40:12 +00:00
..
auth Support disable passkey auth (#33348) 2025-01-22 22:58:36 +00:00
dashboard Optimize the dashboard (#32990) 2025-02-11 01:24:34 +08:00
notification Fix issue title rendering and refactor legacy function names (#32703) 2024-12-04 01:39:33 +00:00
overview [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
settings Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
code.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
heatmap.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
profile.tmpl Trivial fixes (#33103) 2025-01-04 22:25:50 +00:00