From ec549f9c52b81ca73ed4c84f595d0f646f9b3a08 Mon Sep 17 00:00:00 2001 From: Alex Korytskyi Date: Sun, 8 Mar 2026 19:32:52 +0000 Subject: [PATCH 1/2] fix: apply limits to algolia and npm search output, fix visual issues --- app/components/Package/Card.vue | 1 - app/components/PaginationControls.vue | 14 ++++- app/composables/npm/search-utils.ts | 1 + app/composables/npm/useAlgoliaSearch.ts | 6 +- app/composables/npm/useSearch.ts | 81 ++++++++++++++----------- app/composables/npm/useUserPackages.ts | 4 +- app/composables/useGlobalSearch.ts | 2 +- app/composables/useSettings.ts | 4 +- app/pages/search.vue | 22 ++++++- i18n/locales/en.json | 4 +- i18n/schema.json | 6 ++ shared/types/npm-registry.ts | 3 + shared/types/preferences.ts | 4 +- 13 files changed, 100 insertions(+), 52 deletions(-) diff --git a/app/components/Package/Card.vue b/app/components/Package/Card.vue index 6c601cde1f..1f9b916b61 100644 --- a/app/components/Package/Card.vue +++ b/app/components/Package/Card.vue @@ -161,7 +161,6 @@ const numberFormatter = useNumberFormatter()