From f4b535d89ea752665a188d20d78d2b458846b298 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Mon, 16 Nov 2026 13:32:38 -0800 Subject: [PATCH] Stories: remove the Mute button, which controlled nothing Scene media plays muted and offers no audio control to wire it to. --- src/i18n/locales/ar.json | 2 -- src/i18n/locales/de.json | 2 -- src/i18n/locales/es.json | 2 -- src/i18n/locales/fr.json | 2 -- src/i18n/locales/he.json | 2 -- src/i18n/locales/it.json | 2 -- src/i18n/locales/ja.json | 2 -- src/i18n/locales/pt.json | 2 -- src/i18n/locales/ru.json | 2 -- src/i18n/locales/sv.json | 2 -- src/i18n/locales/uk.json | 2 -- src/i18n/locales/zh-CN.json | 2 -- src/i18n/locales/zh-Hant.json | 2 -- src/ui/stores/stories.js | 1 - src/ui/views/stories/StoryTimeline.vue | 28 ++------------------------ 15 files changed, 2 insertions(+), 53 deletions(-) diff --git a/src/i18n/locales/ar.json b/src/i18n/locales/ar.json index 9962df76a..058dc91f5 100644 --- a/src/i18n/locales/ar.json +++ b/src/i18n/locales/ar.json @@ -4097,8 +4097,6 @@ "chapter": "الفصل", "Key moment: {label}": "لحظة رئيسية: {label}", "Jump to live": "الانتقال إلى المباشر", - "Unmute": "إلغاء الكتم", - "Mute": "كتم الصوت", "Exit expanded map": "الخروج من الخريطة الموسّعة", "Expand map": "توسيع الخريطة", "Exit cockpit to open Stories": "اخرج من القمرة لفتح القصص", diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json index 0d448ad69..01b409198 100644 --- a/src/i18n/locales/de.json +++ b/src/i18n/locales/de.json @@ -3737,8 +3737,6 @@ "chapter": "Kapitel", "Key moment: {label}": "Schlüsselmoment: {label}", "Jump to live": "Zu live springen", - "Unmute": "Ton an", - "Mute": "Stumm", "Exit expanded map": "Vergrößerte Karte verlassen", "Expand map": "Karte vergrößern", "Exit cockpit to open Stories": "Cockpit verlassen, um Storys zu öffnen", diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index 7cc179c1b..03b5f57eb 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -3827,8 +3827,6 @@ "chapter": "capítulo", "Key moment: {label}": "Momento clave: {label}", "Jump to live": "Ir al directo", - "Unmute": "Activar sonido", - "Mute": "Silenciar", "Exit expanded map": "Salir del mapa ampliado", "Expand map": "Ampliar mapa", "Exit cockpit to open Stories": "Sal de la cabina para abrir Historias", diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json index 682d2a7a1..a7d69f96e 100644 --- a/src/i18n/locales/fr.json +++ b/src/i18n/locales/fr.json @@ -3827,8 +3827,6 @@ "chapter": "chapitre", "Key moment: {label}": "Moment clé : {label}", "Jump to live": "Revenir au direct", - "Unmute": "Réactiver le son", - "Mute": "Couper le son", "Exit expanded map": "Quitter la carte agrandie", "Expand map": "Agrandir la carte", "Exit cockpit to open Stories": "Quittez le cockpit pour ouvrir les Récits", diff --git a/src/i18n/locales/he.json b/src/i18n/locales/he.json index 41c2dd579..b5fa4e050 100644 --- a/src/i18n/locales/he.json +++ b/src/i18n/locales/he.json @@ -3827,8 +3827,6 @@ "chapter": "פרק", "Key moment: {label}": "רגע מפתח: {label}", "Jump to live": "מעבר לזמן אמת", - "Unmute": "ביטול השתקה", - "Mute": "השתקה", "Exit expanded map": "יציאה מהמפה המורחבת", "Expand map": "הרחבת המפה", "Exit cockpit to open Stories": "צא מתא הטייס כדי לפתוח את הסיפורים", diff --git a/src/i18n/locales/it.json b/src/i18n/locales/it.json index a39d67c1f..198faae54 100644 --- a/src/i18n/locales/it.json +++ b/src/i18n/locales/it.json @@ -3827,8 +3827,6 @@ "chapter": "capitolo", "Key moment: {label}": "Momento chiave: {label}", "Jump to live": "Vai alla diretta", - "Unmute": "Riattiva audio", - "Mute": "Disattiva audio", "Exit expanded map": "Esci dalla mappa espansa", "Expand map": "Espandi la mappa", "Exit cockpit to open Stories": "Esci dal cockpit per aprire le Storie", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 01b5e4137..f5827f641 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -3647,8 +3647,6 @@ "chapter": "章", "Key moment: {label}": "重要な場面: {label}", "Jump to live": "ライブに移動", - "Unmute": "ミュート解除", - "Mute": "ミュート", "Exit expanded map": "拡大地図を終了", "Expand map": "地図を拡大", "Exit cockpit to open Stories": "ストーリーを開くにはコックピットを終了してください", diff --git a/src/i18n/locales/pt.json b/src/i18n/locales/pt.json index 7b42e2e90..a4994b4f9 100644 --- a/src/i18n/locales/pt.json +++ b/src/i18n/locales/pt.json @@ -3827,8 +3827,6 @@ "chapter": "capítulo", "Key moment: {label}": "Momento-chave: {label}", "Jump to live": "Ir para o ao vivo", - "Unmute": "Ativar som", - "Mute": "Silenciar", "Exit expanded map": "Sair do mapa ampliado", "Expand map": "Ampliar mapa", "Exit cockpit to open Stories": "Saia da cabine para abrir Histórias", diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index 8d2f14b5d..10d63228a 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -3917,8 +3917,6 @@ "chapter": "глава", "Key moment: {label}": "Ключевой момент: {label}", "Jump to live": "К реальному времени", - "Unmute": "Включить звук", - "Mute": "Выключить звук", "Exit expanded map": "Выйти из развёрнутой карты", "Expand map": "Развернуть карту", "Exit cockpit to open Stories": "Выйдите из кабины, чтобы открыть Истории", diff --git a/src/i18n/locales/sv.json b/src/i18n/locales/sv.json index a15149989..e4c292179 100644 --- a/src/i18n/locales/sv.json +++ b/src/i18n/locales/sv.json @@ -3737,8 +3737,6 @@ "chapter": "kapitel", "Key moment: {label}": "Nyckelögonblick: {label}", "Jump to live": "Hoppa till live", - "Unmute": "Slå på ljudet", - "Mute": "Stäng av ljudet", "Exit expanded map": "Lämna den förstorade kartan", "Expand map": "Förstora kartan", "Exit cockpit to open Stories": "Lämna cockpiten för att öppna Berättelser", diff --git a/src/i18n/locales/uk.json b/src/i18n/locales/uk.json index 14ced1242..5e53a3a72 100644 --- a/src/i18n/locales/uk.json +++ b/src/i18n/locales/uk.json @@ -3917,8 +3917,6 @@ "chapter": "розділ", "Key moment: {label}": "Ключовий момент: {label}", "Jump to live": "До реального часу", - "Unmute": "Увімкнути звук", - "Mute": "Вимкнути звук", "Exit expanded map": "Вийти з розгорнутої карти", "Expand map": "Розгорнути карту", "Exit cockpit to open Stories": "Вийдіть із кабіни, щоб відкрити Історії", diff --git a/src/i18n/locales/zh-CN.json b/src/i18n/locales/zh-CN.json index 06c893fa2..cd06be695 100644 --- a/src/i18n/locales/zh-CN.json +++ b/src/i18n/locales/zh-CN.json @@ -3647,8 +3647,6 @@ "chapter": "章节", "Key moment: {label}": "关键时刻:{label}", "Jump to live": "跳转到实时", - "Unmute": "取消静音", - "Mute": "静音", "Exit expanded map": "退出放大地图", "Expand map": "放大地图", "Exit cockpit to open Stories": "请先退出座舱,再打开故事", diff --git a/src/i18n/locales/zh-Hant.json b/src/i18n/locales/zh-Hant.json index 6808994c2..30bc89c0a 100644 --- a/src/i18n/locales/zh-Hant.json +++ b/src/i18n/locales/zh-Hant.json @@ -3647,8 +3647,6 @@ "chapter": "章節", "Key moment: {label}": "關鍵時刻:{label}", "Jump to live": "跳轉到即時", - "Unmute": "取消靜音", - "Mute": "靜音", "Exit expanded map": "退出放大地圖", "Expand map": "放大地圖", "Exit cockpit to open Stories": "請先退出座艙,再開啟故事", diff --git a/src/ui/stores/stories.js b/src/ui/stores/stories.js index 54d775afc..52444b36e 100644 --- a/src/ui/stores/stories.js +++ b/src/ui/stores/stories.js @@ -33,7 +33,6 @@ export const useStoriesStore = defineStore('stories', { /** The big Play button over a story that opened paused. */ bigPlay: false, camera: { lat: 0, lon: 0, altKm: 0 }, - muted: true, expanded: false, /** Context panel shown over the map while expanded (desktop). */ ctxOpen: false, diff --git a/src/ui/views/stories/StoryTimeline.vue b/src/ui/views/stories/StoryTimeline.vue index fe5377ecf..72180a398 100644 --- a/src/ui/views/stories/StoryTimeline.vue +++ b/src/ui/views/stories/StoryTimeline.vue @@ -20,7 +20,7 @@ import { const props = defineProps({ story: { type: Object, required: true } }); const emit = defineEmits(['anchor']); const store = useStoriesStore(); -const { playback, muted, expanded } = storeToRefs(store); +const { playback, expanded } = storeToRefs(store); const dur = computed( () => playback.value.durationMs || props.story.durationMs || 1, @@ -333,11 +333,7 @@ function onKey(e) { seek(tt); } -// ── Sound, expand ── -const VOL = { - off: '', - on: '', -}; +// ── Expand ── function toggleExpand() { store.expanded = !store.expanded; store.ctxOpen = false; @@ -496,26 +492,6 @@ defineExpose({ goChapter }); > {{ t('LIVE') }} -