From 62f7d900c52784ff05d933b52379e5455ea6bd00 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 28 Sep 2025 11:03:48 +0100 Subject: feat: Add tag search and pagination (#1987) * feat: Add tag search and use in the homepage * use paginated query in the all tags view * wire the load more buttons * add skeleton to all tags page * fix attachedby aggregation * fix loading states * fix hasNextPage * use action buttons for load more buttons * migrate the tags auto complete to the search api * Migrate the tags editor to the new search API * Replace tag merging dialog with tag auto completion * Merge both search and list APIs * fix tags.list * add some tests for the endpoint * add relevance based sorting * change cursor * update the REST API * fix review comments * more fixes * fix lockfile * i18n * fix visible tags --- apps/web/lib/i18n/locales/en/translation.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'apps/web/lib/i18n') 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", -- cgit v1.2.3-70-g09d2