diff --git a/commafeed-client/src/components/KeyboardShortcutsHelp.tsx b/commafeed-client/src/components/KeyboardShortcutsHelp.tsx index bc023186..a4697fc7 100644 --- a/commafeed-client/src/components/KeyboardShortcutsHelp.tsx +++ b/commafeed-client/src/components/KeyboardShortcutsHelp.tsx @@ -113,6 +113,14 @@ export function KeyboardShortcutsHelp() { Swipe header to the right + + + Toggle starred status of current entry + + + S + + Mark all entries as read diff --git a/commafeed-client/src/components/content/FeedEntries.tsx b/commafeed-client/src/components/content/FeedEntries.tsx index 71c7680f..66de0446 100644 --- a/commafeed-client/src/components/content/FeedEntries.tsx +++ b/commafeed-client/src/components/content/FeedEntries.tsx @@ -11,6 +11,7 @@ import { selectEntry, selectNextEntry, selectPreviousEntry, + starEntry, } from "app/slices/entries" import { redirectToRootCategory } from "app/slices/redirect" import { toggleSidebar } from "app/slices/tree" @@ -257,6 +258,11 @@ export function FeedEntries() { if (!selectedEntry) return dispatch(markEntry({ entry: selectedEntry, read: !selectedEntry.read })) }) + useMousetrap("s", () => { + // toggle starred status + if (!selectedEntry) return + dispatch(starEntry({ entry: selectedEntry, starred: !selectedEntry.starred })) + }) useMousetrap("shift+a", () => { // mark all entries as read dispatch( diff --git a/commafeed-client/src/locales/ar/messages.po b/commafeed-client/src/locales/ar/messages.po index f60cb4c3..701da23d 100644 --- a/commafeed-client/src/locales/ar/messages.po +++ b/commafeed-client/src/locales/ar/messages.po @@ -832,6 +832,10 @@ msgstr "تبديل قراءة حالة الإدخال الحالي" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "جرب CommaFeed باستخدام الحساب التجريبي: تجريبي / تجريبي" diff --git a/commafeed-client/src/locales/ca/messages.po b/commafeed-client/src/locales/ca/messages.po index 8be67ae6..616a5e46 100644 --- a/commafeed-client/src/locales/ca/messages.po +++ b/commafeed-client/src/locales/ca/messages.po @@ -832,6 +832,10 @@ msgstr "Canvia l'estat de lectura de l'entrada actual" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Proveu CommaFeed amb el compte de demostració: demo/demo" diff --git a/commafeed-client/src/locales/cs/messages.po b/commafeed-client/src/locales/cs/messages.po index 8cc08355..38c1290a 100644 --- a/commafeed-client/src/locales/cs/messages.po +++ b/commafeed-client/src/locales/cs/messages.po @@ -832,6 +832,10 @@ msgstr "Přepne stav čtení aktuálního záznamu" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Vyzkoušejte CommaFeed s demo účtem: demo/demo" diff --git a/commafeed-client/src/locales/cy/messages.po b/commafeed-client/src/locales/cy/messages.po index 06e0c18f..ae2c4c5a 100644 --- a/commafeed-client/src/locales/cy/messages.po +++ b/commafeed-client/src/locales/cy/messages.po @@ -832,6 +832,10 @@ msgstr "Toglo statws darllen y cofnod cyfredol" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Rhowch gynnig ar CommaFeed gyda'r cyfrif demo: demo / demo" diff --git a/commafeed-client/src/locales/da/messages.po b/commafeed-client/src/locales/da/messages.po index 028dc04d..5342b33f 100644 --- a/commafeed-client/src/locales/da/messages.po +++ b/commafeed-client/src/locales/da/messages.po @@ -832,6 +832,10 @@ msgstr "Skift læsestatus for den aktuelle post" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Prøv CommaFeed med demokontoen: demo/demo" diff --git a/commafeed-client/src/locales/de/messages.po b/commafeed-client/src/locales/de/messages.po index 8fe58078..3cbd6a93 100644 --- a/commafeed-client/src/locales/de/messages.po +++ b/commafeed-client/src/locales/de/messages.po @@ -832,6 +832,10 @@ msgstr "Lesestatus des aktuellen Eintrags umschalten" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Testen Sie CommaFeed mit dem Demokonto: demo/demo" diff --git a/commafeed-client/src/locales/en/messages.po b/commafeed-client/src/locales/en/messages.po index 4f7c0fb1..c236e1a4 100644 --- a/commafeed-client/src/locales/en/messages.po +++ b/commafeed-client/src/locales/en/messages.po @@ -832,6 +832,10 @@ msgstr "Toggle read status of current entry" msgid "Toggle sidebar" msgstr "Toggle sidebar" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "Toggle starred status of current entry" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Try out CommaFeed with the demo account: demo/demo" diff --git a/commafeed-client/src/locales/es/messages.po b/commafeed-client/src/locales/es/messages.po index 8c270b16..2ece5b4f 100644 --- a/commafeed-client/src/locales/es/messages.po +++ b/commafeed-client/src/locales/es/messages.po @@ -832,6 +832,10 @@ msgstr "Alternar estado de lectura de la entrada actual" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Pruebe CommaFeed con la cuenta demo: demo/demo" diff --git a/commafeed-client/src/locales/fa/messages.po b/commafeed-client/src/locales/fa/messages.po index 733fe248..639d259f 100644 --- a/commafeed-client/src/locales/fa/messages.po +++ b/commafeed-client/src/locales/fa/messages.po @@ -832,6 +832,10 @@ msgstr "وضعیت خواندن ورودی فعلی را تغییر دهید" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "CommaFeed را با حساب آزمایشی امتحان کنید: دمو/دمو" diff --git a/commafeed-client/src/locales/fi/messages.po b/commafeed-client/src/locales/fi/messages.po index 2cf170bf..c9d48dce 100644 --- a/commafeed-client/src/locales/fi/messages.po +++ b/commafeed-client/src/locales/fi/messages.po @@ -832,6 +832,10 @@ msgstr "Vaihda nykyisen merkinnän lukutila" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Kokeile CommaFeediä demotilillä: demo/demo" diff --git a/commafeed-client/src/locales/fr/messages.po b/commafeed-client/src/locales/fr/messages.po index 648b4792..d75c5981 100644 --- a/commafeed-client/src/locales/fr/messages.po +++ b/commafeed-client/src/locales/fr/messages.po @@ -832,6 +832,10 @@ msgstr "Marquer l'entrée actuelle comme lue/non lue" msgid "Toggle sidebar" msgstr "Montrer/cacher la barre latérale" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Essayez CommaFeed avec le compte de démonstration : demo/demo" diff --git a/commafeed-client/src/locales/gl/messages.po b/commafeed-client/src/locales/gl/messages.po index 841559ed..acde0099 100644 --- a/commafeed-client/src/locales/gl/messages.po +++ b/commafeed-client/src/locales/gl/messages.po @@ -832,6 +832,10 @@ msgstr "alternar o estado de lectura da entrada actual" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Proba CommaFeed coa conta de demostración: demo/demo" diff --git a/commafeed-client/src/locales/hu/messages.po b/commafeed-client/src/locales/hu/messages.po index c50a619b..b707a3b1 100644 --- a/commafeed-client/src/locales/hu/messages.po +++ b/commafeed-client/src/locales/hu/messages.po @@ -832,6 +832,10 @@ msgstr "Az aktuális bejegyzés olvasási állapotának váltása" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Próbálja ki a CommaFeed-et a demo fiókkal: demo/demo" diff --git a/commafeed-client/src/locales/id/messages.po b/commafeed-client/src/locales/id/messages.po index 3a81ab27..555e1e99 100644 --- a/commafeed-client/src/locales/id/messages.po +++ b/commafeed-client/src/locales/id/messages.po @@ -832,6 +832,10 @@ msgstr "Beralih status baca entri saat ini" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Cobalah CommaFeed dengan akun demo: demo/demo" diff --git a/commafeed-client/src/locales/it/messages.po b/commafeed-client/src/locales/it/messages.po index 069b5e26..4253bded 100644 --- a/commafeed-client/src/locales/it/messages.po +++ b/commafeed-client/src/locales/it/messages.po @@ -832,6 +832,10 @@ msgstr "Commuta lo stato di lettura della voce corrente" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Prova CommaFeed con il conto demo: demo/demo" diff --git a/commafeed-client/src/locales/ja/messages.po b/commafeed-client/src/locales/ja/messages.po index b7f53d0d..ab93a4dc 100644 --- a/commafeed-client/src/locales/ja/messages.po +++ b/commafeed-client/src/locales/ja/messages.po @@ -832,6 +832,10 @@ msgstr "現在のエントリの読み取りステータスを切り替えます msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "デモアカウントで CommaFeed を試す: demo/demo" diff --git a/commafeed-client/src/locales/ko/messages.po b/commafeed-client/src/locales/ko/messages.po index 29d6eee4..66e0bf1c 100644 --- a/commafeed-client/src/locales/ko/messages.po +++ b/commafeed-client/src/locales/ko/messages.po @@ -832,6 +832,10 @@ msgstr "현재 항목의 읽기 상태 전환" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "데모 계정으로 CommaFeed를 사용해 보세요: demo/demo" diff --git a/commafeed-client/src/locales/ms/messages.po b/commafeed-client/src/locales/ms/messages.po index 7a243a52..d1c0174f 100644 --- a/commafeed-client/src/locales/ms/messages.po +++ b/commafeed-client/src/locales/ms/messages.po @@ -832,6 +832,10 @@ msgstr "Togol status bacaan entri semasa" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Cuba CommaFeed dengan akaun demo: demo/demo" diff --git a/commafeed-client/src/locales/nb/messages.po b/commafeed-client/src/locales/nb/messages.po index 68f0eaee..4fa7e1a4 100644 --- a/commafeed-client/src/locales/nb/messages.po +++ b/commafeed-client/src/locales/nb/messages.po @@ -832,6 +832,10 @@ msgstr "Veksle lesestatus for gjeldende oppføring" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Prøv CommaFeed med demokontoen: demo/demo" diff --git a/commafeed-client/src/locales/nl/messages.po b/commafeed-client/src/locales/nl/messages.po index b74b274b..5f065be2 100644 --- a/commafeed-client/src/locales/nl/messages.po +++ b/commafeed-client/src/locales/nl/messages.po @@ -832,6 +832,10 @@ msgstr "Toggle leesstatus van huidige invoer" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Probeer CommaFeed uit met het demo-account: demo/demo" diff --git a/commafeed-client/src/locales/nn/messages.po b/commafeed-client/src/locales/nn/messages.po index 5ce98ba8..78a7a9a8 100644 --- a/commafeed-client/src/locales/nn/messages.po +++ b/commafeed-client/src/locales/nn/messages.po @@ -832,6 +832,10 @@ msgstr "Veksle lesestatus for gjeldende oppføring" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Prøv CommaFeed med demokontoen: demo/demo" diff --git a/commafeed-client/src/locales/pl/messages.po b/commafeed-client/src/locales/pl/messages.po index f7831058..47924a8d 100644 --- a/commafeed-client/src/locales/pl/messages.po +++ b/commafeed-client/src/locales/pl/messages.po @@ -832,6 +832,10 @@ msgstr "Przełącz stan odczytu bieżącego wpisu" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Wypróbuj CommaFeed z kontem demo: demo/demo" diff --git a/commafeed-client/src/locales/pt/messages.po b/commafeed-client/src/locales/pt/messages.po index a5338402..4e9b30f9 100644 --- a/commafeed-client/src/locales/pt/messages.po +++ b/commafeed-client/src/locales/pt/messages.po @@ -832,6 +832,10 @@ msgstr "Alternar o status de leitura da entrada atual" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Experimente o CommaFeed com a conta demo: demo/demo" diff --git a/commafeed-client/src/locales/ru/messages.po b/commafeed-client/src/locales/ru/messages.po index 09c13fbb..24e76d12 100644 --- a/commafeed-client/src/locales/ru/messages.po +++ b/commafeed-client/src/locales/ru/messages.po @@ -832,6 +832,10 @@ msgstr "Переключить статус чтения текущей запи msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Попробуйте CommaFeed на демо-счете: demo/demo" diff --git a/commafeed-client/src/locales/sk/messages.po b/commafeed-client/src/locales/sk/messages.po index d7e8be3a..03a65fb8 100644 --- a/commafeed-client/src/locales/sk/messages.po +++ b/commafeed-client/src/locales/sk/messages.po @@ -832,6 +832,10 @@ msgstr "Prepne stav čítania aktuálneho záznamu" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Vyskúšajte CommaFeed s demo účtom: demo/demo" diff --git a/commafeed-client/src/locales/sv/messages.po b/commafeed-client/src/locales/sv/messages.po index 941142e5..20727580 100644 --- a/commafeed-client/src/locales/sv/messages.po +++ b/commafeed-client/src/locales/sv/messages.po @@ -832,6 +832,10 @@ msgstr "Växla lässtatus för aktuell post" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "Prova CommaFeed med demokontot: demo/demo" diff --git a/commafeed-client/src/locales/tr/messages.po b/commafeed-client/src/locales/tr/messages.po index 845f74ff..757f3441 100644 --- a/commafeed-client/src/locales/tr/messages.po +++ b/commafeed-client/src/locales/tr/messages.po @@ -832,6 +832,10 @@ msgstr "Geçerli girişin okuma durumunu değiştir" msgid "Toggle sidebar" msgstr "Kenar çubuğunu göster/gizle" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "CommaFeed'i demo hesabıyla deneyin: demo/demo" diff --git a/commafeed-client/src/locales/zh/messages.po b/commafeed-client/src/locales/zh/messages.po index fa70f6cd..9d1120e3 100644 --- a/commafeed-client/src/locales/zh/messages.po +++ b/commafeed-client/src/locales/zh/messages.po @@ -832,6 +832,10 @@ msgstr "切换当前条目的读取状态" msgid "Toggle sidebar" msgstr "" +#: src/components/KeyboardShortcutsHelp.tsx +msgid "Toggle starred status of current entry" +msgstr "" + #: src/pages/auth/LoginPage.tsx msgid "Try out CommaFeed with the demo account: demo/demo" msgstr "使用演示帐户试用 CommaFeed:demo/demo"