aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/app/dashboard/search.tsx (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-11/+22
* refactor: migrate trpc to the new react query integration mode * more fixes * more migrations * upgrade trpc client
2025-11-14fix: remove incorrect array destructuring in mobile search (#2124)Mohamed Bassem1-1/+1
The search was crashing because of incorrect array destructuring on the useDebounce hook return value. useDebounce returns a string, not an array, so using `const [query] = useDebounce(...)` caused query to be undefined when the search string was empty. This resulted in passing { text: undefined } to the tRPC endpoint, which failed Zod validation expecting a string. Fixed by removing the array destructuring: const query = useDebounce(...) Co-authored-by: Claude <noreply@anthropic.com>
2025-09-28feat: Add tag search and pagination (#1987)Mohamed Bassem1-1/+1
* 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
2025-08-26feat(mobile): Retheme the mobile app (#1872)Mohamed Bassem1-28/+24
* Add nativewindui * migrate to nativewindui text * Replace buttons with nativewindui buttons * Use nativewindui search input * fix the divider color * More changes * fix manage tag icon * fix styling of bookmark card * fix ios compilation * fix search clear * fix tag pill border color * Store theme setting in app settings * fix setting color appearance * fix coloring of search input * fix following system theme * add a save button to info * fix the grey colors on android * fix icon active tint color * drop the use of TextField
2025-07-14feat: adding search history #1541 (#1627)lexafaxine1-14/+115
* feat: adding search history * fix popover should close when no matched history * remove unnecessary react import * replace current Input component with CommandInput for better UX * add i18n for recent searches label * fix bug * refactor local storage logic to make code reusable * using zod schema to validate search history and revert debounce change * Consolidate some of the files --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
2024-12-22feat: Add basic pagination to searchBookmarks tRPCMohamed Bassem1-4/+11
2024-11-23ui(mobile): Remove the dedicated search page and add a search bar in homeMohamedBassem1-24/+23
2024-09-14feature(mobile): Add proper error handling for server errorsMohamedBassem1-4/+10
2024-05-12ui(mobile): Add horizontal margins to the bookmark cardsMohamedBassem1-1/+1
2024-04-17mobile: Add dark mode supportMohamedBassem1-1/+1
2024-03-30format: Add missing lint and format, and format the entire repoMohamedBassem1-1/+1
2024-03-29mobile(android): Getting the android app ready for submissionMohamedBassem1-3/+4
2024-03-20fix(mobile): Fix flicker on searchMohamedBassem1-21/+28
2024-03-17refactor: Prepare for pagination by dropping querying bookmarks by idMohamedBassem1-1/+1
2024-03-15ui(mobile): New header style in the appMohamedBassem1-14/+22
2024-03-15mobile: Revert the margins around the cardsMohamedBassem1-1/+1
2024-03-14lint: Lint and format the entire repo with the new configsMohamedBassem1-3/+2
2024-03-14structure: Create apps dir and copy tooling dir from t3-turbo repoMohamedBassem1-0/+0
2024-03-13mobile: Add borders and padding to the cardsMohamedBassem1-2/+4
2024-03-13mobile: Bump version to 1.1.0MohamedBassem1-0/+33