gitea/web_src/js/features
silverwind f6960096f3
Enable strict TypeScript, add `errorMessage` helper (#37292)
Enable full TypeScript `strict` mode and fix issues discovered during
this refactor. Introduced a `errorMessage` helper function to cleanly
extract a error messages from the `unknown` type.

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (claude-opus-4-7) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-04-20 07:22:05 +00:00
..
admin Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
comp Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
captcha.ts Migrate from webpack to vite (#37002) 2026-03-29 10:24:30 +00:00
citation.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
clipboard.ts
code-frequency.ts Migrate from webpack to vite (#37002) 2026-03-29 10:24:30 +00:00
colorpicker.ts Migrate from webpack to vite (#37002) 2026-03-29 10:24:30 +00:00
common-actions-permissions.ts
common-button.test.ts
common-button.ts
common-fetch-action.test.ts Remove htmx (#37224) 2026-04-15 17:26:26 +00:00
common-fetch-action.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
common-form.ts
common-issue-list.test.ts
common-issue-list.ts
common-organization.ts
common-page.ts Add test for "fetch redirect", add CSS value validation for external render (#37207) 2026-04-14 13:11:08 +00:00
contributors.ts Migrate from webpack to vite (#37002) 2026-03-29 10:24:30 +00:00
copycontent.ts
dashboard.ts
dropzone.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
emoji.ts
file-fold.ts
file-view.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
heatmap.ts Migrate from webpack to vite (#37002) 2026-03-29 10:24:30 +00:00
imagediff.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
install.ts
issue.ts
notification.ts Remove htmx (#37224) 2026-04-15 17:26:26 +00:00
oauth2-settings.ts
org-team.ts
pull-view-file.ts
recent-commits.ts Migrate from webpack to vite (#37002) 2026-03-29 10:24:30 +00:00
repo-actions.ts Workflow Artifact Info Hover (#37100) 2026-04-19 07:37:50 +00:00
repo-branch.ts
repo-code.ts
repo-commit.ts
repo-common.test.ts
repo-common.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
repo-diff-commit.ts Refactor htmx and fetch-action related code (#37186) 2026-04-13 18:53:55 +00:00
repo-diff-commitselect.ts
repo-diff-filetree.ts
repo-diff.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
repo-editor.ts Remove htmx (#37224) 2026-04-15 17:26:26 +00:00
repo-findfile.test.ts
repo-findfile.ts Migrate from webpack to vite (#37002) 2026-03-29 10:24:30 +00:00
repo-graph.ts
repo-home.ts
repo-issue-content.ts Refactor frontend `tw-justify-between` layouts to `flex-left-right` (#37291) 2026-04-19 18:57:48 +08:00
repo-issue-edit.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
repo-issue-list.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
repo-issue-pull.ts Fix Mermaid diagrams failing when node labels contain line breaks (#37296) 2026-04-19 17:39:40 +02:00
repo-issue-sidebar-combolist.test.ts Refactor issue sidebar and fix various problems (#37045) 2026-03-31 10:03:52 +08:00
repo-issue-sidebar-combolist.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
repo-issue-sidebar.md Refactor issue sidebar and fix various problems (#37045) 2026-03-31 10:03:52 +08:00
repo-issue-sidebar.ts Refactor issue sidebar and fix various problems (#37045) 2026-03-31 10:03:52 +08:00
repo-issue.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
repo-legacy.ts
repo-migrate.ts
repo-migration.ts
repo-milestone.ts
repo-new.ts
repo-projects.ts Fix various bugs (#37096) 2026-04-03 20:03:59 +00:00
repo-release.test.ts
repo-release.ts Fix various legacy problems (#37092) 2026-04-03 12:19:04 +00:00
repo-search.ts
repo-settings-branches.test.ts Enable concurrent vitest execution (#36998) 2026-03-30 16:17:16 +00:00
repo-settings-branches.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
repo-settings.ts Replace Monaco with CodeMirror (#36764) 2026-03-31 21:50:45 +00:00
repo-unicode-escape.ts
repo-view-file-tree.ts
repo-wiki.ts
sshkey-helper.ts
stopwatch.ts
tablesort.ts
tribute.ts Migrate from webpack to vite (#37002) 2026-03-29 10:24:30 +00:00
user-auth-webauthn.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
user-auth.ts Redirect to the only OAuth2 provider when no other login methods and fix various problems (#36901) 2026-04-01 12:50:57 +00:00
user-settings.ts