summaryrefslogtreecommitdiff
path: root/internal/i18n/golden_test.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-29 13:45:19 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-29 13:45:19 +0200
commit6964ee56de01f9769a39ba480dc787339b642f7a (patch)
treece20ba33e56a414e96e81a3d9d438c373534027e /internal/i18n/golden_test.go
parent8ab0502569264478697bf3dbd060eadb82459647 (diff)
downloadlectio-6964ee56de01f9769a39ba480dc787339b642f7a.tar.gz
lectio-6964ee56de01f9769a39ba480dc787339b642f7a.zip
tui(reader): filter bookmarks by tag, and show tags in the list
Bookmarks stored tags but the list neither showed them nor let you use them. Now each row shows "Ref — note #tag1 #tag2", and `/` opens a live tag filter (case-insensitive substring over a bookmark's tags): type to narrow, Enter keeps the filter while j/k navigate the filtered list, Esc clears it. Navigation, open and delete all act on the visible (filtered) list. Reuses the store's existing tag data; help keybar (en/pl) updated; test covers filter/keys.
Diffstat (limited to 'internal/i18n/golden_test.go')
-rw-r--r--internal/i18n/golden_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/i18n/golden_test.go b/internal/i18n/golden_test.go
index e6dc00a..0dc87dd 100644
--- a/internal/i18n/golden_test.go
+++ b/internal/i18n/golden_test.go
@@ -36,7 +36,7 @@ var enUI = UI{
ReaderNoMatch: "(no matching books)",
ReaderMarkPrompt: "note (enter to save, esc to cancel)",
ReaderBookmarksTitle: "bookmarks",
- ReaderBookmarksKeys: "j/k move enter open d delete esc back q quit",
+ ReaderBookmarksKeys: "j/k move enter open d delete / tag esc back q quit",
ReaderNoBookmarks: "no bookmarks yet — press m while reading",
ReaderMarkVerseKeys: "↑/↓ pick verse enter add note esc cancel",
ReaderConfirmDelete: "Delete this bookmark?",
@@ -122,7 +122,7 @@ var plUI = UI{
ReaderNoMatch: "(brak pasujących ksiąg)",
ReaderMarkPrompt: "notatka (enter zapisz, esc anuluj)",
ReaderBookmarksTitle: "zakładki",
- ReaderBookmarksKeys: "j/k ruch enter otwórz d usuń esc wróć q wyjście",
+ ReaderBookmarksKeys: "j/k ruch enter otwórz d usuń / tag esc wróć q wyjście",
ReaderNoBookmarks: "brak zakładek — naciśnij m podczas czytania",
ReaderMarkVerseKeys: "↑/↓ wybierz werset enter notatka esc anuluj",
ReaderConfirmDelete: "Usunąć zakładkę?",