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/services/forms
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
..
admin.go Add option to set language in admin user view (#28449) 1 year ago
auth_form.go Move context from modules to services (#29440) 1 year ago
org.go Fix: Allow org team names of length 255 in create team form (#31564) 8 months ago
package_form.go Add Arch package registry (#32692) 3 months ago
repo_branch_form.go Move context from modules to services (#29440) 1 year ago
repo_form.go Fix commit status events (#33320) 1 month ago
repo_form_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_tag_form.go Move context from modules to services (#29440) 1 year ago
runner.go Move context from modules to services (#29440) 1 year ago
user_form.go Improve "generate new access token" form (#33730) 2 weeks ago
user_form_auth_openid.go Move context from modules to services (#29440) 1 year ago
user_form_hidden_comments.go Issue time estimate, meaningful time tracking (#23113) 3 months ago
user_form_test.go Improve "generate new access token" form (#33730) 2 weeks ago