aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/components (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(mobile): more native screensMohamed Bassem42 hours5-4/+41
|
* fix(mobile): migrate from RN image to expo-imageMohamed Bassem9 days5-32/+49
|
* chore: replace dayjs with data-fnsMohamed Bassem9 days1-5/+2
|
* feat(mobile): use native tabs for mobileMohamed Bassem9 days2-28/+3
|
* fix(mobile): fix some mobile warning after expo 54 upgradeMohamed Bassem9 days3-13/+25
|
* refactor: remove unused trpc files from web and mobileMohamed Bassem9 days4-4/+4
|
* refactor: migrate trpc to the new react query integration mode (#2438)Mohamed Bassem9 days4-37/+53
| | | | | | | | | * refactor: migrate trpc to the new react query integration mode * more fixes * more migrations * upgrade trpc client
* deps(mobile): upgrade to sdk 54Mohamed Bassem2026-01-183-484/+2
|
* fix(mobile): Reader settings preview on mobile matches reader view ↵Evan Simkowitz2026-01-181-0/+117
| | | | | | | formatting (#2365) * fix: Reader settings preview on mobile matches reader view formatting * address comments
* fix(mobile): add custom headers to card banners. fixes #2342Mohamed Bassem2026-01-111-6/+9
|
* feat(mobile): use react native sonnerMohamed Bassem2026-01-011-181/+34
|
* feat: add replace banner and attachment download (#2328)Mohamed Bassem2026-01-013-1/+42
| | | | | | | | | * feat: add replace banner and attachment download * add pdf preview in mobile app * fix menu order * fix comment
* fix(mobile): mobile modal UI issues (#2320)sergio2025-12-301-19/+30
| | | | | * fix(mobile): Make list type selector visible on Android * fix(mobile): Add native iOS overlay on Toast
* feat(mobile): make the settings menu look more native (#2307)Mohamed Bassem2025-12-294-16/+141
| | | | | | | * feat(mobile): make the settings menu look more native * more fixes * review comments
* fix(mobile): Fix title line clamp to 2 linesMohamed Bassem2025-12-201-4/+9
|
* feat: Add unified reader settings with local overrides (#2230)Evan Simkowitz2025-12-152-15/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add initial impl * fix some format inconsistencies, add indicator in user settings when local is out of sync * Fix sliders in user settings, unify constants and formatting * address CodeRabbit suggestions * add mobile implementation * address coderabbit nitpicks * fix responsiveness of the reader settings popover * Move more of the web UI strings to i18n * update translations for more coverage * remove duplicate logic/definitions * fix android font family * add shared reading setting hook between web and mobile * unify reader settings context for both web and mobile * remove unused export * address coderabbit suggestions * fix tests
* feat(mobile): proper handling for shared list permissions (#2165)Mohamed Bassem2025-11-234-102/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | * feat(mobile): Restrict bookmark editing in shared lists Apply the same ownership-based restrictions that exist in the web app to the mobile app. Users can now only edit, delete, and manage their own bookmarks, even when viewing them in shared lists. Changes: - BottomActions: Hide edit actions (lists, tags, info, delete) for non-owners - BookmarkCard: Hide favorite button and action menu for non-owners - Info page: Make title, notes, tags, and lists read-only for non-owners - NotePreview: Hide "Edit Notes" button for non-owners All restrictions are based on comparing the current user ID (from useWhoAmI) with the bookmark's userId field. * some fixes * make tags non clickable for collaborators * add leave list --------- Co-authored-by: Claude <noreply@anthropic.com>
* feat(mobile): Add highlights page to mobile app (#2156)Mohamed Bassem2025-11-232-0/+206
| | | | | | | | | | | | | | | | | | | | | | | | * feat: Add highlights page to mobile app This commit adds a new highlights page to the mobile app where users can view all their highlights with the following features: - HighlightCard component: Displays individual highlights with colored borders, text, optional notes, timestamps, and a link to the source bookmark - HighlightList component: Renders a scrollable list of highlights with pull-to-refresh and infinite scroll pagination - UpdatingHighlightList component: Handles data fetching using tRPC infinite queries with automatic cache invalidation - New /dashboard/highlights route with large header title - Added navigation link in Settings tab under "App Settings" All components follow the existing mobile app patterns and integrate with the existing highlights API. * make it a tab --------- Co-authored-by: Claude <noreply@anthropic.com>
* feat(mobile): add custom headers configuration in sign-in screen (#2103)Mohamed Bassem2025-11-081-0/+200
| | | | | | | | | | | | | | | | | | | | | | | | * feat(mobile): add custom headers configuration in sign-in screen Add ability for mobile app users to configure custom HTTP headers that are sent with every API request. This enables users to add authentication headers, proxy headers, or other custom headers required by their server setup. Changes: - Add customHeaders field to mobile app settings schema - Create CustomHeadersModal component for managing headers - Update sign-in screen with link to configure custom headers - Modify tRPC provider to merge custom headers with Authorization header The custom headers are stored securely in the app settings and persist across sessions. * fix keyboard * add custom headers to other callsites --------- Co-authored-by: Claude <noreply@anthropic.com>
* feat: display notes on bookmark card (#2083)xuatz2025-11-022-1/+92
| | | | | | | | | | | | | | | | | | | | | | | | | * feat: display notes on bookmark card * apply styling * include mobile impl * apply pr comments * add display options menu into PR * put it under app setting * cleanup * address pr comments * change the default for show notes to false * make the in-card note font lighter --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* fix: Incremental polling interval for ongoing crawlsMohamed Bassem2025-08-311-6/+2
|
* deps: Drop ronionoss iconsMohamedBassem2025-08-312-16/+12
|
* fix(mobile): Fix text bookmark editorMohamedBassem2025-08-315-0/+424
|
* feat(mobile): Retheme the mobile app (#1872)Mohamed Bassem2025-08-2618-103/+1059
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fix(mobile): Fix crash in android webviewMohamedBassem2025-08-251-2/+2
|
* feat(mobile): Add edit menu item to bookmark cardMohamedBassem2025-08-241-3/+12
|
* fix(mobile): Change the icon of the share buttonMohamedBassem2025-08-241-2/+2
|
* deps: Upgrade expo & nextjs to react 19 (#1565)Mohamed Bassem2025-08-201-31/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Attempt to upgrade expo 53 * Attempt upgrade nextjs * Fix a bunch of peer deps * upgrade some docs deps * fix typecheck * update the shadcn calendar component * more fixes * more fixes * revert ollama upgrade * update react version to use carets * remove react-select from landing * fix the typescript error caused by customFetch * upgrade the new grid user setting to nextjs 15 * mobile: enable react canary to support react 19.1 * upgrade react native menu * fix navigation context error
* fix(mobile): fix WebView deceleration rate on iOS (#1835)Landon Epps2025-08-201-0/+2
| | | | | The mobile app uses a WebView to display the bookmark preview. WebView on iOS has a "fast" deceleration rate by default, which is much slower than the system default. We should update it to "normal" to match the non-WebView screens in the app.
* feat(mobile): add context aware sharing option in mobile app (#1785)xuatz2025-07-261-1/+80
| | | | | * v1 inside menu * v2 outside menu with share icon
* fix(mobile): Fix crash when bookmark doesn't have archive or screenshot. ↵Mohamed Bassem2025-07-061-3/+7
| | | | Fixes #1584
* chore: migrate away from eslint to oxlint (#1642)xuatz2025-06-221-1/+1
| | | | | | | * chore: migrate away from eslint to oxlint * revert turbo task name lint * it seems like we can remove the seemingly default globals
* feat(mobile): Add support for viewing PDFs (#1519)Code Love2025-06-081-0/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(mobile): add react-native-pdf dependency Add react-native-pdf package to enable PDF viewing functionality in the mobile app. This will be used to display PDF bookmarks directly within the app. Part of #597 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * feat(mobile): add PDF viewer component with authentication support Add a dedicated PDFViewer component that handles downloading and displaying PDF assets with proper authentication headers. Features include: - Download progress indication - Error handling with user-friendly messages - Automatic cleanup of temporary files - Proper memory management to prevent leaks - Content type validation for PDF files Part of #597 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * feat(mobile): integrate PDF viewing in bookmark detail view Integrate the PDFViewer component to display PDF bookmarks inline. When a bookmark is a PDF asset, it now renders using the dedicated PDF viewer instead of treating it as an image. Also adds external PDF opening functionality with platform-specific handling for iOS and Android, proper filename handling, and temporary file cleanup. Additionally fixes dark mode styling for the navigation header to ensure proper contrast in both light and dark themes. Part of #597 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * revert the open externally button * use react query for downloading the pdf --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: MohamedBassem <me@mbassem.com>
* fix(mobile): Move the delete button to the end in the bookmark menuMohamedBassem2025-06-071-11/+11
|
* feat(mobile): add reader/screenshot/archive view to bookmark preview (#1509)Simon Kenny2025-06-071-0/+183
| | | | | | | | | | | * feat(mobile): add reader view by default to bookmark detail view, retaining WebView fallback * feat(mobile): add dark mode support for mobile reader view * Add selectors for different views for bookmark link --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* refactor: Move bookmark utils from shared-react to sharedMohamed Bassem2025-05-311-2/+2
|
* fix: Dont download html content by default in the bookmark grid. Fixes #1198Mohamed Bassem2025-04-131-2/+2
|
* chore: Rename hoarder packages to karakeepMohamedBassem2025-04-124-8/+8
|
* fix(mobile): Update karakeep logo and splash screenMohamedBassem2025-04-061-10/+13
|
* feat: Add PDF screenshot generation and display (#995)Ahmad Mujahid2025-02-171-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated pdf2json to 3.1.5 * Extract and store a screenshot from PDF files using pdf2pic * Installing graphicsmagick and ghostscript * Generate Missing PDF screenshot with tidyAssets worker for backward support * Display PDF screenshot instead of the PDF in web if it exists. * Display PDF screenshot in mobile app if exists. * Updated pnpm-lock.yaml * Removed console.log * Revert the unnecessary changes in package.json * Revert pnpm-lock changes * Prevent rendering PDF files if the screenshot is not generated * refactor: replace useEffect with useMemo for section initialization * feat: show PDF file download button and handle large PDFs by defaulting to screenshot view * feat: add file size to openapi spec * feature: Add Assets preprocessing in fix mode to admin actions * i18n: add reprocess_assets_fix_mode translation * i18n: Add missing ar translations * A bunch of fixes * Fix openspec schema --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* feat: Add Bookmark Sorting Feature (#812)Daksh Pareek2025-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* feat: Add delete bookmark confirmation dialog. Fixes #776 (#787)Nicole Li2024-12-311-3/+16
|
* deps(mobile): Upgrade to Expo 52 (#692)Mohamed Bassem2024-11-242-2/+5
| | | | | | | | | | | * fix(mobile): Sharing bookmark modal * WIP: Upgrade to 52 * post ugprade fixes * more fixes * fix padding in tabbar
* feat(mobile): Add support for managing tags from mobileMohamedBassem2024-11-231-0/+9
|
* ui(mobile): Replace bottom sheet with native screens (#690)Mohamed Bassem2024-11-235-427/+2
| | | | | | | | | | | | | | | * Remove bottom sheet from bookmark info page * Remove bottom sheet from manage lists page * Remove bottom sheet from new list page * Remove bottom sheet from new bookmark page * Drop bottom-sheets * Improve the look of the modals * Make the search page fade from bottom
* fix(mobile): Fix bookmarkview page on android not showing bookmark actions. ↵MohamedBassem2024-10-311-1/+4
| | | | Fixes #603
* feature(mobile): Use inline WebView for expanding bookmarksMohamedBassem2024-10-212-151/+14
|
* feature(mobile): Add proper error handling for server errorsMohamedBassem2024-09-142-2/+26
|
* feature(mobile): Show the view bookmark modal for links as wellMohamedBassem2024-09-082-5/+56
|
* feature(mobile): Allow interacting with images in the app. Fixes #352MohamedBassem2024-08-262-16/+21
|