1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-29 20:25:17 +00:00
gitea/web_src/js
Brecht Van Lommel a9343896f4
Option to delay conflict checking of old pull requests until page view ()
`[repository.pull-request] DELAY_CHECK_FOR_INACTIVE_DAYS` is a new
setting to delay the mergeable check for pull requests that have been
inactive for the specified number of days.

This avoids potentially long delays for big repositories with many pull
requests. and reduces system load overall when there are many
repositories or pull requests.

When viewing the PR, checking will start immediately and the PR merge
box will automatically reload when complete. Accessing the PR through
the API will also start checking immediately.

The default value of `7` provides a balance between system load, and
keeping behavior similar to what it was before both for users and API
access. With `0` all conflict checking will be delayed, while `-1`
always checks immediately to restore the previous behavior.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-24 19:26:57 +00:00
..
components Add fullscreen mode as a more efficient operation way to view projects () 2025-04-23 13:42:22 +08:00
features Option to delay conflict checking of old pull requests until page view () 2025-04-24 19:26:57 +00:00
markup markup: improve code block readability and isolate copy button () 2025-04-19 05:53:39 +00:00
modules Mark parent directory as viewed when all files are viewed () 2025-04-15 22:35:22 +08:00
render Refactor markup and pdf-viewer to use new init framework () 2025-03-03 11:49:15 -08:00
standalone Update TypeScript types () 2025-03-05 08:03:44 -08:00
utils Fix various UI problems () 2025-04-19 08:43:22 +00:00
vendor Fix areYouSure confirm () 2024-12-21 12:11:22 -05:00
webcomponents Optimize overflow-menu () 2025-04-13 01:59:36 +00:00
bootstrap.test.ts Convert frontend code to typescript () 2024-07-07 15:32:30 +00:00
bootstrap.ts Add types to fetch,toast,bootstrap,svg () 2024-07-25 23:31:24 +00:00
globals.d.ts Fix various Fomantic UI and htmx problems () 2025-03-11 11:35:05 -07:00
globals.ts Convert frontend code to typescript () 2024-07-07 15:32:30 +00:00
htmx.ts Update JS and PY deps, misc tweaks () 2025-03-16 10:04:18 +01:00
index.ts Optimize the calling code of queryElems () 2025-04-19 08:17:07 +08:00
svg.test.ts Remove "class-name" from svg icon () 2025-02-09 22:39:54 +02:00
svg.ts Add file tree to file view page () 2025-03-15 16:26:49 +08:00
types.ts Enable Typescript noImplicitAny () 2025-01-22 15:11:51 +08:00
utils.test.ts Use git diff-tree for DiffFileTree on diff pages () 2025-02-28 00:58:25 +00:00
utils.ts Add fullscreen mode as a more efficient operation way to view projects () 2025-04-23 13:42:22 +08:00
vitest.setup.ts Fix a number of Typescript issues () 2024-08-28 18:32:38 +02:00