{{ i18n.t('_timelineTutorial.step1_1', { name: instance.name ?? host }) }}
{{ i18n.t('_timelineTutorial.step1_2', { name: instance.name ?? host }) }}
+
{{ i18n.t('_timelineTutorial.step1_3', { name: instance.name ?? host }) }}
{{ i18n.ts._timelineTutorial.step2_1 }}
diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue
index d085443290..81a8824697 100644
--- a/packages/frontend/src/pages/timeline.vue
+++ b/packages/frontend/src/pages/timeline.vue
@@ -40,6 +40,9 @@ const XTutorial = defineAsyncComponent(() => import('./timeline.tutorial.vue'));
const isLocalTimelineAvailable = ($i == null && instance.policies.ltlAvailable) || ($i != null && $i.policies.ltlAvailable);
const isGlobalTimelineAvailable = ($i == null && instance.policies.gtlAvailable) || ($i != null && $i.policies.gtlAvailable);
+const isShowMediaTimeline = defaultStore.state.showMediaTimeline;
+console.log(isShowMediaTimeline)
+
const keymap = {
't': focus,
};
@@ -128,12 +131,12 @@ const headerTabs = $computed(() => [{
title: i18n.ts._timelines.local,
icon: 'ti ti-planet',
iconOnly: true,
-}, {
- key: 'media',
- title: i18n.ts._timelines.media,
- icon: 'ti ti-photo',
- iconOnly: true,
-}, {
+}, ...(isShowMediaTimeline ? [{
+ key: 'media',
+ title: i18n.ts._timelines.media,
+ icon: 'ti ti-photo',
+ iconOnly: true,
+}] : []), {
key: 'social',
title: i18n.ts._timelines.social,
icon: 'ti ti-rocket',
diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts
index 27de6d150c..2ba80cd7fd 100644
--- a/packages/frontend/src/store.ts
+++ b/packages/frontend/src/store.ts
@@ -272,7 +272,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
gamingMode: {
where: 'device',
- default: false,
+ default: true,
},
bannerUrl:{
where: 'device',
@@ -350,6 +350,10 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'device',
default: false,
},
+ showMediaTimeline:{
+ where: 'device',
+ default: true,
+ },
reactionsDisplaySize: {
where: 'device',
default: 'medium' as 'small' | 'medium' | 'large',