From d232ba2affb07ad985aa794c61594553c4ba2465 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Mon, 29 May 2023 15:08:33 -0400 Subject: [PATCH] Add lists hint --- locales/en-US.yml | 1 + .../client/src/components/MkPagination.vue | 3 +++ packages/client/src/pages/my-lists/index.vue | 27 +++++++++---------- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 437a9cd354..0bc53783fd 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -83,6 +83,7 @@ exportRequested: "You've requested an export. This may take a while. It will be \ to your Drive once completed." importRequested: "You've requested an import. This may take a while." lists: "Lists" +listsDesc: "Lists let you create timelines with specified users. They can be accessed from the timelines page." noLists: "You don't have any lists" note: "Post" notes: "Posts" diff --git a/packages/client/src/components/MkPagination.vue b/packages/client/src/components/MkPagination.vue index 564b214e0f..4caea737e9 100644 --- a/packages/client/src/components/MkPagination.vue +++ b/packages/client/src/components/MkPagination.vue @@ -490,5 +490,8 @@ defineExpose({ .list > :deep(._button) { margin-inline: auto; margin-bottom: 16px; + &:last-of-type:not(:first-child) { + margin-top: 16px; + } } diff --git a/packages/client/src/pages/my-lists/index.vue b/packages/client/src/pages/my-lists/index.vue index 6ecfd12f46..e3c4da3cca 100644 --- a/packages/client/src/pages/my-lists/index.vue +++ b/packages/client/src/pages/my-lists/index.vue @@ -8,16 +8,17 @@ />
-
+ +

{{ i18n.ts.listsDesc }}

{{ i18n.ts.createList }} - - {{ i18n.ts.deleteAll }} -
+ {{ list.name }}
+ + {{ i18n.ts.deleteAll }}
@@ -45,6 +50,7 @@ import {} from "vue"; import MkPagination from "@/components/MkPagination.vue"; import MkButton from "@/components/MkButton.vue"; import MkAvatars from "@/components/MkAvatars.vue"; +import MkInfo from "@/components/MkInfo.vue"; import * as os from "@/os"; import { i18n } from "@/i18n"; import { definePageMetadata } from "@/scripts/page-metadata"; @@ -92,15 +98,6 @@ definePageMetadata({