Commit Graph

16 Commits

Author SHA1 Message Date
Dawid Góra
614cff0e45 adjustments after merge 2025-12-05 09:11:39 +01:00
Dawid Góra
f45bfb650e Merge remote-tracking branch 'origin/main' into feat/automatic-generation-of-release-notes 2025-12-05 09:03:32 +01:00
silverwind
46d7adefe0
Enable TypeScript strictNullChecks (#35843)
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-container (push) Waiting to run
A big step towards enabling strict mode in Typescript.

There was definitely a good share of potential bugs while refactoring
this. When in doubt, I opted to keep the potentially broken behaviour.
Notably, the `DOMEvent` type is gone, it was broken and we're better of
with type assertions on `e.target`.

---------

Signed-off-by: silverwind <me@silverwind.io>
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-12-03 02:13:16 +00:00
wxiaoguang
d368900e55 fix dropdown 2025-11-28 09:18:06 +08:00
wxiaoguang
cf11756561 improve 2025-11-28 08:51:08 +08:00
silverwind
86e0035ebd revert previous commit
Signed-off-by: silverwind <me@silverwind.io>
2025-11-24 08:59:01 +01:00
silverwind
ffcc2c413c Update web_src/js/features/repo-release.ts
Signed-off-by: silverwind <me@silverwind.io>
2025-11-24 08:59:01 +01:00
Dawid Góra
498646e8ab cleanup changes 2025-11-24 08:59:01 +01:00
Dawid Góra
61afa906de update previous adjustment 2025-11-24 08:59:01 +01:00
Dawid Góra
8da194881e apply CR suggestions from @silverwind 2025-11-24 08:59:01 +01:00
Dawid Góra
4fce573ff6 feat: automatic generation of release notes
dummy commit

fix cs

fix

fix

remove test file
2025-11-24 08:59:01 +01:00
silverwind
c0e80dbe26
Enable Typescript strictFunctionTypes (#32911)
1. Enable
[strictFunctionTypes](https://www.typescriptlang.org/tsconfig/#strictFunctionTypes)
2. Introduce `DOMEvent` helper type which sets `e.target`. Surely not
totally correct with that `Partial` but seems to work.
3. Various type-related refactors, change objects in
`eventsource.sharedworker.ts` to `Map`.
2024-12-22 02:59:25 +08:00
silverwind
8a53a39c42
Fix a number of typescript errors (#32773)
Fixes 96 typescript errors. Behaviour changes are commented below.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-11 09:29:04 +01:00
wxiaoguang
c9e582c6b6
Refactor markdown editor and use it for milestone description editor (#32688)
Refactor markdown editor to clarify its "preview" behavior and remove
jQuery code.

Close #15045

---------

Co-authored-by: silverwind <me@silverwind.io>
2024-12-04 02:11:34 +00:00
박상철
620f19610e
Prevent from submitting issue/comment on uploading (#32263)
fix #32262

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2024-10-23 10:48:04 +08:00
silverwind
5791a73e75
Convert frontend code to typescript (#31559)
None of the frontend js/ts files was touched besides these two commands
(edit: no longer true, I touched one file in
61105d0618
because of a deprecation that was not showing before the rename).

`tsc` currently reports 778 errors, so I have disabled it in CI as
planned.

Everything appears to work fine.
2024-07-07 15:32:30 +00:00