aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib/hooks/bookmark-search.ts (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-02-01refactor: remove unused trpc files from web and mobileMohamed Bassem1-1/+1
2026-02-01refactor: migrate trpc to the new react query integration mode (#2438)Mohamed Bassem1-13/+16
* refactor: migrate trpc to the new react query integration mode * more fixes * more migrations * upgrade trpc client
2025-11-02fix: fix crash in search input when query contains a percent. fixes #1941Mohamed Bassem1-1/+1
2025-08-24fix(web): fix query getting rest when bookmark preview is closed. fixes #1521MohamedBassem1-15/+11
2025-05-18fix(search): add new relevance sort order (#1392)xuatz1-2/+7
* fix(search): add new relevance sort order * address pr comments * some minor fixes --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
2025-04-12chore: Rename hoarder packages to karakeepMohamedBassem1-1/+1
2025-01-12feat: Add Bookmark Sorting Feature (#812)Daksh Pareek1-0/+9
* feat: add bookmark sorting by creation date - Add sort order toggle in GlobalActions component - Implement ascending/descending sort functionality - Update translations for sorting feature in all languages - Add sort order icons and dropdown menu - Maintain sort preference in URL params * feat: add bookmark sorting by creation date - Add sort order toggle in GlobalActions component - Implement ascending/descending sort functionality - Update translations for sorting feature in all languages - Add sort order icons and dropdown menu - Maintain sort preference in URL params during session Note: Sort order resets to default on page refresh, server-side persistence can be implemented in future enhancement * feat: Add global sort by date feature with shared sort order state - Implement global sort order functionality using a shared Zustand store (`useSortOrder` hook). - Update `getBookmarks` and `searchBookmarks` endpoints to accept a `sortOrder` parameter. - Refactor code to import `ZSortOrder` from shared types (`bookmarks.ts`), ensuring consistency across the codebase. - Update components (`UpdatableBookmarksGrid`, `bookmark-search`) to use the shared `useSortOrder` hook. - Remove unused `zSortBy` definition from `packages/shared/types/bookmarks.ts` to avoid confusion. - Ensure consistent naming conventions by prefixing Zod inferred types with `Z`. - Clean up code and address previous PR feedback comments. * tiny fixes and fixing TS errors --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
2025-01-04fix: Change search endpoint to accept query as raw stringMohamed Bassem1-3/+2
2024-12-31feat: Introduce advanced search capabilities (#753)Mohamed Bassem1-8/+12
* feat: Implement search filtering in the backend * feat: Implement search language parser * rename matcher name * Add ability to interleve text * More fixes * be more tolerable to parsing errors * Add a search query explainer widget * Handle date parsing gracefully * Fix the lockfile * Encode query search param * Fix table body error * Fix error when writing quotes
2024-12-22feat: Add basic pagination to searchBookmarks tRPCMohamed Bassem1-10/+22
2024-10-12fix(web): Reset search query and bulk edit when navigating away from the ↵MohamedBassem1-1/+3
current page
2024-03-16ui(web): Reduce debounce duration to 10ms in search barMohamedBassem1-1/+1
2024-03-14lint: Lint and format the entire repo with the new configsMohamedBassem1-2/+2
2024-03-14structure: Create apps dir and copy tooling dir from t3-turbo repoMohamedBassem1-0/+0
2024-03-10feature: Change top nav to include search and move add link to a modalMohamedBassem1-0/+73