aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib/hooks/bookmark-search.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix: fix crash in search input when query contains a percent. fixes #1941Mohamed Bassem2025-11-021-1/+1
|
* fix(web): fix query getting rest when bookmark preview is closed. fixes #1521MohamedBassem2025-08-241-15/+11
|
* fix(search): add new relevance sort order (#1392)xuatz2025-05-181-2/+7
| | | | | | | | | | | * fix(search): add new relevance sort order * address pr comments * some minor fixes --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* chore: Rename hoarder packages to karakeepMohamedBassem2025-04-121-1/+1
|
* feat: Add Bookmark Sorting Feature (#812)Daksh Pareek2025-01-121-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>
* fix: Change search endpoint to accept query as raw stringMohamed Bassem2025-01-041-3/+2
|
* feat: Introduce advanced search capabilities (#753)Mohamed Bassem2024-12-311-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
* feat: Add basic pagination to searchBookmarks tRPCMohamed Bassem2024-12-221-10/+22
|
* fix(web): Reset search query and bulk edit when navigating away from the ↵MohamedBassem2024-10-121-1/+3
| | | | current page
* ui(web): Reduce debounce duration to 10ms in search barMohamedBassem2024-03-161-1/+1
|
* lint: Lint and format the entire repo with the new configsMohamedBassem2024-03-141-2/+2
|
* structure: Create apps dir and copy tooling dir from t3-turbo repoMohamedBassem2024-03-141-0/+73