gitea/web_src/js/features
Brecht Van Lommel a9343896f4
Option to delay conflict checking of old pull requests until page view (#27779)
`[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
..
admin Optimize the calling code of queryElems (#34235) 2025-04-19 08:17:07 +08:00
comp feat: Add sorting by exclusive labels (issue priority) (#33206) 2025-04-10 17:18:07 +00:00
captcha.ts Fix mCaptcha bug (#33659) 2025-02-20 22:53:38 +08:00
citation.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
clipboard.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
code-frequency.ts
codeeditor.ts Improve JSX/TSX support in code editor (#32833) 2024-12-14 03:10:20 +00:00
colorpicker.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
common-button.ts Refactor buttons to use new init framework (#33774) 2025-03-03 20:30:55 +00:00
common-fetch-action.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
common-form.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
common-issue-list.test.ts
common-issue-list.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
common-organization.ts Optimize the calling code of queryElems (#34235) 2025-04-19 08:17:07 +08:00
common-page.ts Optimize the calling code of queryElems (#34235) 2025-04-19 08:17:07 +08:00
contextpopup.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
contributors.ts Add "n commits" link to contributors in contributors graph page (#32799) 2024-12-12 19:02:54 +00:00
copycontent.ts Update TypeScript types (#33799) 2025-03-05 08:03:44 -08:00
dashboard.ts Enable Typescript noImplicitThis (#33250) 2025-01-16 04:26:17 +08:00
dropzone.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
emoji.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
eventsource.sharedworker.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
file-fold.ts Mark parent directory as viewed when all files are viewed (#33958) 2025-04-15 22:35:22 +08:00
heatmap.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
imagediff.ts Drop fomantic build (#33845) 2025-03-11 12:44:52 +08:00
install.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
issue.ts Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
notification.ts Refactor legacy JS (#33115) 2025-01-06 17:38:42 +08:00
oauth2-settings.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
org-team.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
pull-view-file.ts Mark parent directory as viewed when all files are viewed (#33958) 2025-04-15 22:35:22 +08:00
recent-commits.ts
repo-actions.ts Enable Typescript noImplicitThis (#33250) 2025-01-16 04:26:17 +08:00
repo-branch.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-code.ts Fix various UI problems (#34243) 2025-04-19 08:43:22 +00:00
repo-commit.ts [Fix] Resolve the problem of commit_statuses not being loaded at the top - right when switching files from the file tree (#34079) 2025-03-31 18:39:08 +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 Fix some migration and repo name problems (#33986) 2025-03-24 20:26:58 -07:00
repo-diff-commit.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01: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 Fix various Fomantic UI and htmx problems (#33851) 2025-03-11 11:35:05 -07:00
repo-editor.ts Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
repo-findfile.test.ts
repo-findfile.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-graph.ts Fix dynamic content loading init problem (#33748) 2025-03-01 02:02:10 +00:00
repo-home.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-issue-content.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-issue-edit.ts Fix: quoted replies incorrectly render user input as part of the quote (#34216) 2025-04-16 14:32:58 +08:00
repo-issue-list.ts Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
repo-issue-pull.ts Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
repo-issue-sidebar-combolist.ts Update JS and PY deps, misc tweaks (#33903) 2025-03-16 10:04:18 +01:00
repo-issue-sidebar.md Fix issue sidebar dropdown keyboard support (#33447) 2025-01-30 22:54:50 +00:00
repo-issue-sidebar.ts Refactor legacy JS (#33115) 2025-01-06 17:38:42 +08:00
repo-issue.ts Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
repo-legacy.ts Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
repo-migrate.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-migration.ts Fix some migration and repo name problems (#33986) 2025-03-24 20:26:58 -07:00
repo-milestone.ts
repo-new.ts fix org repo creation being limited by user limits (#34030) 2025-03-27 13:16:17 +00:00
repo-projects.ts Add fullscreen mode as a more efficient operation way to view projects (#34081) 2025-04-23 13:42:22 +08:00
repo-release.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
repo-search.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
repo-settings-branches.test.ts Refactor repo-projects.ts (#32892) 2024-12-19 08:37:12 +00:00
repo-settings-branches.ts
repo-settings.ts Optimize the calling code of queryElems (#34235) 2025-04-19 08:17:07 +08:00
repo-unicode-escape.ts Fix "unicode escape" JS error (#32806) 2024-12-12 18:37:44 +00:00
repo-view-file-tree.ts Add file tree to file view page (#32721) 2025-03-15 16:26:49 +08:00
repo-wiki.ts Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
sshkey-helper.ts Enable Typescript noImplicitThis (#33250) 2025-01-16 04:26:17 +08:00
stopwatch.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
tablesort.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
tribute.ts Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
user-auth-webauthn.ts Simplify secure context check (#33906) 2025-03-16 19:05:26 +08:00
user-auth.ts
user-settings.ts Optimize the calling code of queryElems (#34235) 2025-04-19 08:17:07 +08:00