aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/components/bookmarks/BookmarkCard.tsx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(mobile): proper handling for shared list permissions (#2165)Mohamed Bassem2025-11-231-81/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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: display notes on bookmark card (#2083)xuatz2025-11-021-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
|
* feat(mobile): Retheme the mobile app (#1872)Mohamed Bassem2025-08-261-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* 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
|
* 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
* 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
* fix(mobile): Move the delete button to the end in the bookmark menuMohamedBassem2025-06-071-11/+11
|
* refactor: Move bookmark utils from shared-react to sharedMohamed Bassem2025-05-311-2/+2
|
* chore: Rename hoarder packages to karakeepMohamedBassem2025-04-121-4/+4
|
* 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 delete bookmark confirmation dialog. Fixes #776 (#787)Nicole Li2024-12-311-3/+16
|
* 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-231-13/+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
* feature(mobile): Use inline WebView for expanding bookmarksMohamedBassem2024-10-211-10/+11
|
* feature(mobile): Show the view bookmark modal for links as wellMohamedBassem2024-09-081-3/+3
|
* feature(mobile): Change the view bookmark page to be a modal and add tags andMohamedBassem2024-08-261-48/+52
| | | | notes
* ui(mobile): Change the add/edit note editor dialogs to be bottom sheetsMohamedBassem2024-08-261-1/+10
|
* feature(mobile): Allow editing notes from the mobile appMohamedBassem2024-08-251-0/+12
|
* fix(mobile): Allow expanding the text by clicking on bookmark cardMohamedBassem2024-08-241-37/+34
|
* feat(mobile): Add ability to manage listsMohamedBassem2024-07-281-0/+20
|
* refactor: added the bookmark type to the database (#256)kamtschatka2024-07-011-6/+7
| | | | | | | | | | | | | | | | | * refactoring asset types Extracted out functions to silently delete assets and to update them after crawling Generalized the mapping of assets to bookmark fields to make extending them easier * Added the bookmark type to the database Introduced an enum to have better type safety cleaned up the code and based some code on the type directly * add BookmarkType.UNKNWON * lint and remove unused function --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* ui(mobile): Add horizontal margins to the bookmark cardsMohamedBassem2024-05-121-1/+5
|
* feature: Download images and screenshotsMohamedBassem2024-04-201-33/+36
|
* refactor: Move the shared types to the shared packageMohamedBassem2024-04-181-1/+1
|
* mobile: Add dark mode supportMohamedBassem2024-04-171-9/+32
|
* feature: Add title to bookmarks and allow editing them. Fixes #27MohamedBassem2024-04-151-1/+8
|
* feature: Extract hook logic into separate package and add a new action bar ↵MohamedBassem2024-04-071-16/+9
| | | | in bookmark preview
* mobile(android): Getting the android app ready for submissionMohamedBassem2024-03-291-2/+2
|
* Feature: Add support for uploading images and automatically inferring their ↵Mohamed Bassem2024-03-191-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tags (#2) * feature: Experimental support for asset uploads * feature(web): Add new bookmark type asset * feature: Add support for automatically tagging images * fix: Add support for image assets in preview page * use next Image for fetching the images * Fix auth and error codes in the route handlers * Add support for image uploads on mobile * Fix typing of upload requests * Remove the ugly dragging box * Bump mobile version to 1.3 * Change the editor card placeholder to mention uploading images * Fix a typo * Change ios icon for photo library * Silence typescript error
* feat(mobile): Add tag viewing pageMohamedBassem2024-03-151-2/+3
|
* mobile: Revamp bookmark card's action barMohamedBassem2024-03-151-56/+89
|
* mobile: Revert the margins around the cardsMohamedBassem2024-03-151-2/+2
|
* lint: Lint and format the entire repo with the new configsMohamedBassem2024-03-141-7/+8
|
* structure: Create apps dir and copy tooling dir from t3-turbo repoMohamedBassem2024-03-141-0/+243