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>
2025-02-27 19:40:12 +00:00
..
ActionRunStatus.vue Remove "class-name" from svg icon (#33540) 2025-02-09 22:39:54 +02:00
ActivityHeatmap.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
ContextPopup.vue Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
DashboardRepoList.vue Fix typo in HTML attribute (#33599) 2025-02-14 10:59:37 -05:00
DiffCommitSelector.vue Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
DiffFileList.vue Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
DiffFileTree.vue Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
DiffFileTreeItem.vue Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
PullRequestMergeForm.vue Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
RepoActionView.vue Always show the "rerun" button for action jobs (#33692) 2025-02-24 08:40:46 +00:00
RepoActivityTopAuthors.vue Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
RepoBranchTagSelector.vue Remove "class-name" from svg icon (#33540) 2025-02-09 22:39:54 +02:00
RepoCodeFrequency.vue Fix typescript errors in Vue files, fix regression in "Recent Commits" chart (#32649) 2024-12-08 02:58:18 +00:00
RepoContributors.vue Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
RepoRecentCommits.vue Fix typescript errors in Vue files, fix regression in "Recent Commits" chart (#32649) 2024-12-08 02:58:18 +00:00