gitea/routers/web/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
..
setting Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
avatar.go Refactor user & avatar (#33433) 2025-01-30 07:33:50 +08:00
code.go Fix bleve fuzziness search (#33078) 2025-01-03 00:32:02 +08:00
home.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
home_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2025-01-22 06:37:52 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go Refactor pagination (#33037) 2024-12-30 01:57:38 +00:00
package.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
profile.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
search.go Add `DISABLE_ORGANIZATIONS_PAGE` and `DISABLE_CODE_PAGE` settings for explore pages and fix an issue related to user search (#32288) 2024-10-22 13:09:19 +08:00
stop_watch.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00