fix(desktop): update from the splash only after the user clicks (#3280)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-08 17:25:34 +02:00
1 parent f1373a63c3
commit 7937d5f802
90 files changed
+6888 -11255

No files matched your search

@@ -56,10 +56,6 @@ const FORCE_LOADING_SKELETON_DESCRIPTOR = msg({
message: 'Force loading skeleton',
comment: 'Developer tools debug menu label. Internal-only surface for developers; translators may keep this terse.',
});
const FORCE_UPDATE_READY_DESCRIPTOR = msg({
message: 'Force update ready',
comment: 'Developer option label for simulating an available update.',
});
const SHOW_MYSELF_TYPING_DESCRIPTOR = msg({
message: 'Show myself typing',
comment: 'Developer option label for showing the current user as typing.',
@@ -161,10 +157,6 @@ export const getToggleGroups = (): Array<ToggleGroup> => [
items: [
{key: 'bypassLoadingSkeleton', label: BYPASS_LOADING_SKELETON_DESCRIPTOR},
{key: 'forceLoadingSkeleton', label: FORCE_LOADING_SKELETON_DESCRIPTOR},
{
key: 'forceUpdateReady',
label: FORCE_UPDATE_READY_DESCRIPTOR,
},
{
key: 'showMyselfTyping',
label: SHOW_MYSELF_TYPING_DESCRIPTOR,
@@ -28,11 +28,6 @@ export type DeveloperOptionsState = Readonly<{
forceRenderPlaceholders: boolean;
forceEmbedSkeletons: boolean;
forceMediaLoading: boolean;
forceUpdateReady: boolean;
forceNativeUpdateReady: boolean;
mockNativeUpdateProgress: number | null;
forceWebUpdateReady: boolean;
mockUpdaterState: 'none' | 'checking' | 'available' | 'downloading' | 'ready' | 'installing' | 'error';
showMyselfTyping: boolean;
slowAttachmentUpload: boolean;
slowMessageLoad: boolean;
@@ -103,11 +98,6 @@ class DeveloperOptions implements DeveloperOptionsState {
forceRenderPlaceholders = false;
forceEmbedSkeletons = false;
forceMediaLoading = false;
forceUpdateReady = false;
forceNativeUpdateReady = false;
mockNativeUpdateProgress: number | null = null;
forceWebUpdateReady = false;
mockUpdaterState: DeveloperOptionsState['mockUpdaterState'] = 'none';
showMyselfTyping = false;
slowAttachmentUpload = false;
slowMessageLoad = false;
@@ -181,11 +171,6 @@ class DeveloperOptions implements DeveloperOptionsState {
'forceRenderPlaceholders',
'forceEmbedSkeletons',
'forceMediaLoading',
'forceUpdateReady',
'forceNativeUpdateReady',
'mockNativeUpdateProgress',
'forceWebUpdateReady',
'mockUpdaterState',
'showMyselfTyping',
'slowAttachmentUpload',
'slowMessageLoad',