0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-25 08:11:19 +01:00
gitea/web_src/js/features
silverwind 8107823026
Fix a number of typescript issues (#32308)
- Prefer
[window.location.assign](https://developer.mozilla.org/en-US/docs/Web/API/Location/assign)
over assigning to
[window.location](https://developer.mozilla.org/en-US/docs/Web/API/Window/location)
which typescript does not like. This works in all browsers including
PaleMoon.
- Fix all typescript issues in `web_src/js/webcomponents`, no behaviour
changes.
- ~~Workaround bug in `@typescript-eslint/no-unnecessary-type-assertion`
rule.~~
- Omit vendored file from type checks.
- `tsc` error count is reduce by 53 with these changes.
2024-10-31 14:57:40 +00:00
..
admin Move admin routers from /admin to /-/admin (#32189) 2024-10-10 04:56:49 +00:00
comp Fix suggestions for issues (#32380) 2024-10-30 20:06:36 +00:00
autofocus-end.ts
captcha.ts
citation.ts
clipboard.ts
code-frequency.ts
codeeditor.ts
colorpicker.ts
common-button.ts
common-fetch-action.ts
common-form.ts
common-issue-list.test.ts
common-issue-list.ts
common-organization.ts
common-page.ts Warn users when they try to use a non-root-url to sign in/up (#32272) 2024-10-17 10:28:51 +08:00
contextpopup.ts Fix suggestions for issues (#32380) 2024-10-30 20:06:36 +00:00
contributors.ts
copycontent.ts
dropzone.ts Fix broken image when editing comment with non-image attachments (#32319) 2024-10-23 17:39:10 +02:00
emoji.ts
eventsource.sharedworker.ts
file-fold.ts
heatmap.ts
imagediff.ts
install.ts
issue.ts Suggestions for issues (#32327) 2024-10-29 17:20:49 +08:00
notification.ts
oauth2-settings.ts
org-team.ts
pull-view-file.ts
recent-commits.ts
repo-branch.ts
repo-code.test.ts
repo-code.ts
repo-commit.ts
repo-common.ts Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
repo-diff-commit.ts
repo-diff-commitselect.ts
repo-diff-filetree.ts make show stats work when only one file changed (#32244) 2024-10-14 21:23:20 +00:00
repo-diff.ts make show stats work when only one file changed (#32244) 2024-10-14 21:23:20 +00:00
repo-editor.ts Notify the user when the file path contains leading or trailing spaces and fix the error message for invalid file names. (#31507) 2024-09-24 19:06:52 +00:00
repo-findfile.test.ts
repo-findfile.ts
repo-graph.ts
repo-home.ts Add null check for responseData.invalidTopics (#32212) 2024-10-09 01:27:05 +08:00
repo-issue-content.ts
repo-issue-edit.ts Prevent from submitting issue/comment on uploading (#32263) 2024-10-23 10:48:04 +08:00
repo-issue-list.ts
repo-issue-pr-form.ts
repo-issue-pr-status.ts
repo-issue.ts Fix a number of typescript issues (#32308) 2024-10-31 14:57:40 +00:00
repo-legacy.ts
repo-migrate.ts Fix javascript error when an anonymous user visiting migration page (#32144) 2024-10-02 04:37:16 +00:00
repo-migration.ts
repo-projects.ts
repo-release.ts Prevent from submitting issue/comment on uploading (#32263) 2024-10-23 10:48:04 +08:00
repo-search.ts
repo-settings.ts
repo-template.ts
repo-unicode-escape.ts
repo-wiki.ts Prevent from submitting issue/comment on uploading (#32263) 2024-10-23 10:48:04 +08:00
scoped-access-token.ts
sshkey-helper.ts
stopwatch.ts
tablesort.ts
tribute.ts
user-auth-webauthn.ts
user-auth.ts Warn users when they try to use a non-root-url to sign in/up (#32272) 2024-10-17 10:28:51 +08:00
user-settings.ts