From 3769176eaa45dfb9e995e7757d8c2c1235ba7f54 Mon Sep 17 00:00:00 2001 From: patak <583075+patak-dev@users.noreply.github.com> Date: Sat, 24 Feb 2024 15:46:54 +0100 Subject: [PATCH] feat: . shortcut to show new items (#2612) --- components/magickeys/MagickeysKeyboardShortcuts.vue | 4 ++++ components/notification/NotificationPaginator.vue | 2 +- components/timeline/TimelinePaginator.vue | 2 +- locales/en.json | 1 + locales/es.json | 1 + plugins/magic-keys.client.ts | 8 ++++++++ 6 files changed, 16 insertions(+), 2 deletions(-) diff --git a/components/magickeys/MagickeysKeyboardShortcuts.vue b/components/magickeys/MagickeysKeyboardShortcuts.vue index d221959e11..51547d616b 100644 --- a/components/magickeys/MagickeysKeyboardShortcuts.vue +++ b/components/magickeys/MagickeysKeyboardShortcuts.vue @@ -65,6 +65,10 @@ const shortcutItemGroups = computed(() => [ description: t('magic_keys.groups.actions.compose'), shortcut: { keys: ['c'], isSequence: false }, }, + { + description: t('magic_keys.groups.actions.show_new_items'), + shortcut: { keys: ['.'], isSequence: false }, + }, { description: t('magic_keys.groups.actions.favourite'), shortcut: { keys: ['f'], isSequence: false }, diff --git a/components/notification/NotificationPaginator.vue b/components/notification/NotificationPaginator.vue index 27de5eb28d..63ed410b22 100644 --- a/components/notification/NotificationPaginator.vue +++ b/components/notification/NotificationPaginator.vue @@ -174,7 +174,7 @@ const { formatNumber } = useHumanReadableNumber() :virtualScroller="virtualScroller" > diff --git a/components/timeline/TimelinePaginator.vue b/components/timeline/TimelinePaginator.vue index 6d6feed91c..b24830e04e 100644 --- a/components/timeline/TimelinePaginator.vue +++ b/components/timeline/TimelinePaginator.vue @@ -25,7 +25,7 @@ const showOriginSite = computed(() =>