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
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
..
setting Improve "generate new access token" form (#33730) 2 weeks ago
avatar.go Refactor user & avatar (#33433) 1 month ago
code.go Fix bleve fuzziness search (#33078) 2 months ago
home.go Refactor error system (#33610) 4 weeks ago
home_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2 months ago
main_test.go make writing main test easier (#27270) 1 year ago
notification.go Refactor pagination (#33037) 2 months ago
package.go Refactor error system (#33610) 4 weeks ago
profile.go Refactor error system (#33610) 4 weeks ago
search.go Add `DISABLE_ORGANIZATIONS_PAGE` and `DISABLE_CODE_PAGE` settings for explore pages and fix an issue related to user search (#32288) 5 months ago
stop_watch.go Refactor error system (#33610) 4 weeks ago