diff --git a/components/account/AccountHeader.vue b/components/account/AccountHeader.vue index 8cb40f83..233c96d4 100644 --- a/components/account/AccountHeader.vue +++ b/components/account/AccountHeader.vue @@ -117,6 +117,20 @@ const isNotifiedOnPost = $computed(() => !!relationship?.notifying) + + + + + + keyProp?: keyof T @@ -18,6 +19,7 @@ const { stream?: Promise eventType?: 'notification' | 'update' preprocess?: (items: (U | T)[]) => U[] + noEndMessage?: boolean }>() defineSlots<{ @@ -84,7 +86,7 @@ const { items, prevItems, update, state, endAnchor, error } = usePaginator(pagin - +
{{ t('common.end_of_list') }}
diff --git a/components/list/Account.vue b/components/list/Account.vue new file mode 100644 index 00000000..acc2caaa --- /dev/null +++ b/components/list/Account.vue @@ -0,0 +1,44 @@ + + + diff --git a/components/list/Lists.vue b/components/list/Lists.vue new file mode 100644 index 00000000..eb9482e1 --- /dev/null +++ b/components/list/Lists.vue @@ -0,0 +1,49 @@ + + + diff --git a/locales/en.json b/locales/en.json index dd037dc8..196da4b2 100644 --- a/locales/en.json +++ b/locales/en.json @@ -174,6 +174,11 @@ "language": { "search": "Search" }, + "list": { + "add_account": "Add account to list", + "modify_account": "Modify lists with account", + "remove_account": "Remove account from list" + }, "menu": { "block_account": "Block {0}", "block_domain": "Block domain {0}", @@ -447,8 +452,10 @@ "edited": "edited {0}" }, "tab": { + "accounts": "Accounts", "for_you": "For you", "hashtags": "Hashtags", + "list": "List", "media": "Media", "news": "News", "notifications_all": "All", diff --git a/pages/[[server]]/list.vue b/pages/[[server]]/list.vue new file mode 100644 index 00000000..ec82271b --- /dev/null +++ b/pages/[[server]]/list.vue @@ -0,0 +1,55 @@ + + + diff --git a/pages/[[server]]/list/[list]/accounts.vue b/pages/[[server]]/list/[list]/accounts.vue new file mode 100644 index 00000000..5bf01f0f --- /dev/null +++ b/pages/[[server]]/list/[list]/accounts.vue @@ -0,0 +1,23 @@ + + + diff --git a/pages/[[server]]/list/[list]/index.vue b/pages/[[server]]/list/[list]/index.vue new file mode 100644 index 00000000..bea8e94c --- /dev/null +++ b/pages/[[server]]/list/[list]/index.vue @@ -0,0 +1,17 @@ + + +