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/tests
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>
15 hours ago
..
e2e Use test context in tests and new loop system in benchmarks (#33648) 1 week ago
fuzz Fix fuzz test (#33156) 2 months ago
gitea-lfs-meta Test views of LFS files (#22196) 2 years ago
gitea-repositories-meta Support choose email when creating a commit via web UI (more) (#33445) 4 weeks ago
integration Improve "generate new access token" form (#33730) 15 hours ago
testdata/data Add artifacts test fixture (#30300) 4 months ago
mssql.ini.tmpl Add tests for webhook and fix some webhook bugs (#33396) 4 weeks ago
mysql.ini.tmpl Add tests for webhook and fix some webhook bugs (#33396) 4 weeks ago
pgsql.ini.tmpl Add tests for webhook and fix some webhook bugs (#33396) 4 weeks ago
sqlite.ini.tmpl Add tests for webhook and fix some webhook bugs (#33396) 4 weeks ago
test_utils.go Add sub issue list support (#32940) 2 months ago