gitea/web_src/js
bytedream 05c3b84f84
Show edit page confirmation dialog on tree view file change (#36130)
Currently, when editing or deleting a file and the edit/commit form has
changes, navigating the file tree will discard all changes without any
warning. This PR prevents partial reloading when the edit form has
unsaved changes, which will trigger a browser native warning dialog.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-12-20 02:29:39 +07:00
..
components Show edit page confirmation dialog on tree view file change (#36130) 2025-12-20 02:29:39 +07:00
features Automatic generation of release notes (#35977) 2025-12-17 02:01:19 +07:00
markup Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
modules Automatic generation of release notes (#35977) 2025-12-17 02:01:19 +07:00
render Update eslint to v9 (#35485) 2025-09-14 19:15:06 +07:00
standalone Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
utils Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
vendor Show edit page confirmation dialog on tree view file change (#36130) 2025-12-20 02:29:39 +07:00
webcomponents Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
bootstrap.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +07:00
bootstrap.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
globals.d.ts Refactor `FileTreeItem` type (#36137) 2025-12-13 13:03:51 +07:00
globals.ts Merge index.js (#34963) 2025-07-06 04:55:16 +07:00
htmx.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
index-domready.ts Automatic generation of release notes (#35977) 2025-12-17 02:01:19 +07:00
index.ts Load jQuery as early as possible to support custom scripts (#35926) 2025-11-12 00:11:46 +07:00
svg.test.ts Remove "class-name" from svg icon (#33540) 2025-02-09 22:39:54 +07:00
svg.ts Fix a number of `strictNullChecks`-related issues (#35795) 2025-11-03 20:17:06 +07:00
types.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
utils.test.ts Use `git diff-tree` for `DiffFileTree` on diff pages (#33514) 2025-02-28 00:58:25 +07:00
utils.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
vitest.setup.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +07:00