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/web_src/js/components
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
..
ActionRunStatus.vue Remove "class-name" from svg icon (#33540) 1 month ago
ActivityHeatmap.vue Migrate vue components to setup (#32329) 5 months ago
ContextPopup.vue Enable Typescript `strictFunctionTypes` (#32911) 3 months ago
DashboardRepoList.vue Fix typo in HTML attribute (#33599) 4 weeks ago
DiffCommitSelector.vue Enable Typescript `noImplicitAny` (#33322) 2 months ago
DiffFileList.vue Enable Typescript `noImplicitAny` (#33322) 2 months ago
DiffFileTree.vue Enable Typescript `noImplicitAny` (#33322) 2 months ago
DiffFileTreeItem.vue Enable Typescript `noImplicitAny` (#33322) 2 months ago
PullRequestMergeForm.vue Enable Typescript `noImplicitAny` (#33322) 2 months ago
RepoActionView.vue Always show the "rerun" button for action jobs (#33692) 3 weeks ago
RepoActivityTopAuthors.vue Enable Typescript `noImplicitAny` (#33322) 2 months ago
RepoBranchTagSelector.vue Remove "class-name" from svg icon (#33540) 1 month ago
RepoCodeFrequency.vue Fix typescript errors in Vue files, fix regression in "Recent Commits" chart (#32649) 3 months ago
RepoContributors.vue Enable Typescript `noImplicitAny` (#33322) 2 months ago
RepoRecentCommits.vue Fix typescript errors in Vue files, fix regression in "Recent Commits" chart (#32649) 3 months ago