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 Add “Copy Source” to markup comment menu (#36726) 2026-03-01 09:11:25 +00:00
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 feat: Add configurable permissions for Actions automatic tokens (#36173) 2026-03-21 15:39:47 -07:00
common-button.test.ts Fix form property assignment edge case (#35073) 2025-07-14 15:20:17 -07:00
common-button.ts Use first commit title for multi-commit PRs and fix auto-focus title field (#36606) 2026-02-17 09:06:27 +01:00
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 Prevent navigation keys from triggering actions during IME composition (#36540) 2026-02-08 14:39:09 +08:00
common-issue-list.test.ts Fix various bugs (#36446) 2026-01-24 11:30:47 +00:00
common-issue-list.ts Fix various bugs (#36446) 2026-01-24 11:30:47 +00:00
common-organization.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
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 Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
dashboard.ts
dropzone.ts Enable strict TypeScript, add `errorMessage` helper (#37292) 2026-04-20 07:22:05 +00:00
emoji.ts Improve html escape (#34911) 2025-07-01 21:44:05 +08:00
file-fold.ts Mark parent directory as viewed when all files are viewed (#33958) 2025-04-15 22:35:22 +08:00
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 Use "Enable Gravatar" but not "Disable" (#36771) 2026-02-27 16:39:26 +00:00
issue.ts Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
notification.ts Remove htmx (#37224) 2026-04-15 17:26:26 +00:00
oauth2-settings.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
org-team.ts Fix package link setting can only list limited repositories (#35394) 2025-09-11 01:50:17 +02:00
pull-view-file.ts Update to eslint 10 (#36925) 2026-03-23 07:49:25 +00:00
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 Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-code.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-commit.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-common.test.ts Fix some migration and repo name problems (#33986) 2025-03-24 20:26:58 -07:00
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 Use `git diff-tree` for `DiffFileTree` on diff pages (#33514) 2025-02-28 00:58:25 +00:00
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 Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-home.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
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 Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-migrate.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-migration.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-milestone.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-new.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-projects.ts Fix various bugs (#37096) 2026-04-03 20:03:59 +00:00
repo-release.test.ts Automatic generation of release notes (#35977) 2025-12-17 02:01:19 +00:00
repo-release.ts Fix various legacy problems (#37092) 2026-04-03 12:19:04 +00:00
repo-search.ts Update to eslint 10 (#36925) 2026-03-23 07:49:25 +00:00
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 Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-view-file-tree.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
repo-wiki.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
sshkey-helper.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
stopwatch.ts Add e2e tests for server push events (#36879) 2026-03-27 11:49:11 +01:00
tablesort.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
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 Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00