enhance: improve issue-pattern capture groups and support both internal&external trackers enabled (#39354)

* Fix #39351
* Fix #17621
* Fix #34881

By the way, fix error handling bugs in `updateRepoUnits`

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
breken
2026-09-18 08:53:45 -07:00
committed by GitHub
co-authored by wxiaoguang
parent 85eaf5c71c
commit b27e7d0289
13 changed files with 145 additions and 112 deletions
+7
View File
@@ -443,4 +443,11 @@ export function initGlobalFetchAction() {
});
registerGlobalSelectorFunc('[data-fetch-url]', initFetchActionTrigger);
// when the page is reloaded after a fetch action, scroll to the flash message if any
const elFlashMessage = document.querySelector('.ui.message.flash-message');
if (elFlashMessage) {
window.history.scrollRestoration = 'manual';
elFlashMessage?.scrollIntoView({block: 'center'});
}
}