aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib/hooks (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix: preserve unsaved title changes when modifying bookmark tags in the edit ↵Adrian-Ryan Acala2025-06-071-0/+27
| | | | | | | | | | | | | | | | | dialog (#1515) * feat: preserve unsaved title changes when modifying bookmark tags Prevents loss of unsaved title edits when users interact with tag selectors or other UI elements. Adds useDialogFormReset hook to maintain form state consistency across component re-renders. Fixes #1339 * Revert unnecessary modifications --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* 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-122-2/+2
|
* 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: Implement the all highlights page. Fixes #620Mohamed Bassem2024-12-281-0/+22
|
* 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
* refactor: Extract useUpload into its own reusable hookMohamedBassem2024-09-211-0/+38
|
* feature(web): Allow uploading directly into lists/tags. Fixes #69MohamedBassem2024-04-091-21/+0
|
* feature(web): Add support for removing items from listsMohamedBassem2024-03-201-0/+21
|
* 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