feat(mobile): add post creation and comments
Post creation: gallery/camera picker (expo-image-picker) uploads each image straight to Supabase Storage via a presigned PUT (posts.getPresignedUrl + expo-file-system), then posts.create with the resulting storage keys — reachable via a new "+" header button on the Feed tab. No client-side blurhash (browser Canvas API, no RN equivalent) or AI-disclosure/mention support yet, matching the rest of mobile's plain-text captions. Comments: a dedicated screen (posts/[postId]/comments) for reading, posting, and deleting one's own comments, reachable by tapping the comment icon on a PostCard. Ported from web's PostDetailDialog comment panel, scoped down to just that panel since mobile's image full-view already has its own route.
This commit is contained in:
1 parent
c1067b3245
commit
085d2abb53
10 files changed
+543
-15
No files matched your search
@@ -13,8 +13,10 @@
|
||||
"expo": "~57.0.18",
|
||||
"expo-constants": "~57.0.16",
|
||||
"expo-dev-client": "~57.0.18",
|
||||
"expo-file-system": "~57.0.6",
|
||||
"expo-font": "~57.0.3",
|
||||
"expo-image": "~57.0.4",
|
||||
"expo-image-picker": "~57.0.16",
|
||||
"expo-linking": "~57.0.8",
|
||||
"expo-router": "^5.1.11",
|
||||
"expo-secure-store": "~57.0.2",
|
||||
|
||||
Reference in new issue
Block a user