Merge remote-tracking branch 'upstream/main' into fix/i18n-installations-note

This commit is contained in:
daika committed 2026-11-09 18:20:34 +07:00
commit ee1bcb7203
542 files changed
+102441 -2320

No files matched your search

+7 -3
View File
@@ -1,4 +1,5 @@
import { t } from '../i18n/index.js';
import { spaceMissionsIndexFailure } from './contextActions.js';
import { translateStatusPiece } from './statusText.js';
import { shouldExpandGlobalContextPanel } from '../rightRailPolicy.js';
@@ -60,12 +61,15 @@ export function _initGlobalContextPanel() {
const nextMode =
this._contextMode === 'space-missions' ? null : 'space-missions';
this._claimContextVisualAuthority();
const startedAt = Date.now();
void this._runUserFacingContextAction(
(notificationToken) =>
this._selectContextMode(nextMode, { notificationToken }),
t(
'Space Missions could not complete the requested transition; try again',
),
() =>
(nextMode && spaceMissionsIndexFailure(this._dataManager, startedAt)) ||
t(
'Space Missions could not complete the requested transition; try again',
),
).then((succeeded) => {
if (
!this.destroyed &&