1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/web_src/js
Anbraten 348d1d0f32
Migrate vue components to setup (#32329)
Migrated a handful Vue components to the `setup` syntax using
composition api as it has better Typescript support and is becoming the
new default in the Vue ecosystem.

- [x] ActionRunStatus.vue    
- [x] ActivityHeatmap.vue
- [x] ContextPopup.vue       
- [x] DiffFileList.vue
- [x] DiffFileTree.vue       
- [x] DiffFileTreeItem.vue    
- [x] PullRequestMergeForm.vue
- [x] RepoActivityTopAuthors.vue  
- [x] RepoCodeFrequency.vue
- [x] RepoRecentCommits.vue
- [x] ScopedAccessTokenSelector.vue

Left some larger components untouched for now to not go to crazy in this
single PR:
- [ ] DiffCommitSelector.vue  
- [ ] RepoActionView.vue
- [ ] RepoContributors.vue
- [ ] DashboardRepoList.vue  
- [ ] RepoBranchTagSelector.vue
2024-10-28 20:15:05 +00:00
..
components Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
features Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
markup Update mermaid to v11 (#31913) 2024-08-25 17:23:13 +00:00
modules Add types to various low-level functions (#31781) 2024-08-10 09:46:48 +00:00
render Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
standalone Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
utils Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
vendor Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
webcomponents Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
bootstrap.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
bootstrap.ts Add types to fetch,toast,bootstrap,svg (#31627) 2024-07-25 23:31:24 +00:00
globals.d.ts Move web globals to web_src/js/globals.d.ts (#31943) 2024-08-30 07:36:53 +00:00
globals.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
htmx.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
index.ts Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
svg.test.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
svg.ts Add types to fetch,toast,bootstrap,svg (#31627) 2024-07-25 23:31:24 +00:00
types.ts Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
utils.test.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
utils.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
vitest.setup.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00