diff options
Diffstat (limited to 'apps/web/lib')
| -rw-r--r-- | apps/web/lib/bulkTagActions.ts | 7 | ||||
| -rw-r--r-- | apps/web/lib/i18n/locales/en/translation.json | 12 |
2 files changed, 16 insertions, 3 deletions
diff --git a/apps/web/lib/bulkTagActions.ts b/apps/web/lib/bulkTagActions.ts index aa49f4f1..4904e257 100644 --- a/apps/web/lib/bulkTagActions.ts +++ b/apps/web/lib/bulkTagActions.ts @@ -46,7 +46,12 @@ const useBulkTagActionsStore = create<TagState>((set, get) => ({ }, setVisibleTagIds: (visibleTagIds: string[]) => { - set({ visibleTagIds }); + set({ + visibleTagIds, + selectedTagIds: get().selectedTagIds.filter((id) => + visibleTagIds.includes(id), + ), + }); }, isTagSelected: (tagId: string) => { return get().selectedTagIds.includes(tagId); diff --git a/apps/web/lib/i18n/locales/en/translation.json b/apps/web/lib/i18n/locales/en/translation.json index 561c4e5a..ce8d2839 100644 --- a/apps/web/lib/i18n/locales/en/translation.json +++ b/apps/web/lib/i18n/locales/en/translation.json @@ -88,7 +88,8 @@ "relevant_first": "Most Relevant First", "newest_first": "Newest First", "oldest_first": "Oldest First" - } + }, + "load_more": "Load More" }, "highlights": { "no_highlights": "You don't have any highlights yet." @@ -450,10 +451,17 @@ "drag_and_drop_merging": "Drag & Drop Merging", "drag_and_drop_merging_info": "Drag and drop tags on each other to merge them", "sort_by_name": "Sort by Name", + "sort_by_usage": "Sort by Usage", + "sort_by_relevance": "Sort by Relevance", "create_tag": "Create Tag", "create_tag_description": "Create a new tag without attaching it to any bookmark", "tag_name": "Tag Name", - "enter_tag_name": "Enter tag name" + "enter_tag_name": "Enter tag name", + "no_custom_tags": "No custom tags yet", + "no_ai_tags": "No AI tags yet", + "no_unused_tags": "You don't have any unused tags", + "no_unused_tags_match_your_search": "No unused tags match your search", + "no_tags_match_your_search": "No tags match your search" }, "search": { "is_favorited": "Is Favorited", |
