summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkTutorialDialog.Timeline.vue
diff options
context:
space:
mode:
authoranatawa12 <anatawa12@icloud.com>2024-07-30 20:13:00 +0900
committerGitHub <noreply@github.com>2024-07-30 20:13:00 +0900
commitfccc5b6d620ca6893a0a5649ea9f0d0693727b3b (patch)
tree7a613ef5c02b33faaf8a764044ede7abf3ea342a /packages/frontend/src/components/MkTutorialDialog.Timeline.vue
parentフォロー中のユーザーに関する"TLに他の人への返信を含... (diff)
downloadsharkey-fccc5b6d620ca6893a0a5649ea9f0d0693727b3b.tar.gz
sharkey-fccc5b6d620ca6893a0a5649ea9f0d0693727b3b.tar.bz2
sharkey-fccc5b6d620ca6893a0a5649ea9f0d0693727b3b.zip
frontend timeline fixes & improvements (#13727)
* fix: withRepliesがオフのときにwithFilesのとぐるをいじれない問題 * fix: type errors in tl-column * fix: deck uiでタイムラインを切り替えた際にTLの設定項目が更新されない * refactor: タイムラインの各種知識を一つのファイルに統合 fix: ウィジェットのタイムライン選択欄に表示できないタイムラインが表示される * docs(changelog): timeline improvements * fix: missing license header * chore: timeline > basic timeline * use BasicTimelineType in deck-store * Update CHANGELOG.md --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/components/MkTutorialDialog.Timeline.vue')
-rw-r--r--packages/frontend/src/components/MkTutorialDialog.Timeline.vue9
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/frontend/src/components/MkTutorialDialog.Timeline.vue b/packages/frontend/src/components/MkTutorialDialog.Timeline.vue
index 6f2930ebc9..2d4da3fbd4 100644
--- a/packages/frontend/src/components/MkTutorialDialog.Timeline.vue
+++ b/packages/frontend/src/components/MkTutorialDialog.Timeline.vue
@@ -7,10 +7,9 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps">
<div style="text-align: center; padding: 0 16px;">{{ i18n.ts._initialTutorial._timeline.description1 }}</div>
<div class="_gaps_s">
- <div><i class="ti ti-home"></i> <b>{{ i18n.ts._timelines.home }}</b> … {{ i18n.ts._initialTutorial._timeline.home }}</div>
- <div><i class="ti ti-planet"></i> <b>{{ i18n.ts._timelines.local }}</b> … {{ i18n.ts._initialTutorial._timeline.local }}</div>
- <div><i class="ti ti-universe"></i> <b>{{ i18n.ts._timelines.social }}</b> … {{ i18n.ts._initialTutorial._timeline.social }}</div>
- <div><i class="ti ti-whirl"></i> <b>{{ i18n.ts._timelines.global }}</b> … {{ i18n.ts._initialTutorial._timeline.global }}</div>
+ <div v-for="tl in basicTimelineTypes">
+ <i :class="basicTimelineIconClass(tl)"></i> <b>{{ i18n.ts._timelines[tl] }}</b> … {{ i18n.ts._initialTutorial._timeline[tl] }}
+ </div>
</div>
<div class="_gaps_s">
<div>{{ i18n.ts._initialTutorial._timeline.description2 }}</div>
@@ -22,12 +21,12 @@ SPDX-License-Identifier: AGPL-3.0-only
<a href="https://misskey-hub.net/docs/for-users/features/timeline/" target="_blank" class="_link">{{ i18n.ts.help }}</a>
</template>
</I18n>
-
</div>
</template>
<script setup lang="ts">
import { i18n } from '@/i18n.js';
+import { basicTimelineIconClass, basicTimelineTypes } from '@/timelines.js';
</script>
<style lang="scss" module>