sirpiglr
e1e70713a2
Add detailed logging to help troubleshoot post creation failures
...
Implement client-side logging within the `createPost` function to capture API request details, response status, and potential errors, aiding in debugging the "Unexpected end of JSON input" issue.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 269a3c56-a424-46ab-8eea-6f3af8c76051
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/zMxtXds
Replit-Helium-Checkpoint-Created: true
2025-12-03 19:09:46 +00:00
sirpiglr
e5e5f1d483
Remove direct Discord post synchronization from server
...
Removes the HTTP-based Discord post synchronization logic from the server, as the Discord bot now handles this directly via polling Supabase.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: eb03098a-a2c8-4077-bc43-43ade85b9f51
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/duiWnI1
Replit-Helium-Checkpoint-Created: true
2025-12-03 18:56:42 +00:00
sirpiglr
e7cfc78c40
Add logging to track post creation and API fallback
...
Add detailed console logs to the `createPost` function to trace API calls, successful responses, errors, and fallback to direct Supabase inserts, skipping Discord synchronization.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: feb37d47-5b11-4872-820a-7df0da43eae9
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/duiWnI1
Replit-Helium-Checkpoint-Created: true
2025-12-03 03:52:19 +00:00
Builder.io
5708d5a1af
Fix remaining relative URLs in supabase-service.ts
...
cgen-40d16f1e5a7a4ca2acf3e12f48b5434e
2025-11-13 02:56:21 +00:00
Builder.io
ef51a19e8b
Fix /api/posts fetch in getPosts
...
cgen-6bac02d8a6004e35871552cd9643fb41
2025-11-13 02:56:12 +00:00
Builder.io
cec8cd0448
completionId: cgen-f699c7f411f449f1880a8150bffe7ba9
...
cgen-f699c7f411f449f1880a8150bffe7ba9
2025-11-12 05:54:40 +00:00
Builder.io
9e246d8515
completionId: cgen-d57a797de51c4d65bc098f5a30ea818c
...
cgen-d57a797de51c4d65bc098f5a30ea818c
2025-11-12 05:54:37 +00:00
Builder.io
19f334de8a
completionId: cgen-62bb5cdb686b41d7b91fdb77ebf7cd35
...
cgen-62bb5cdb686b41d7b91fdb77ebf7cd35
2025-11-05 07:21:18 +00:00
Builder.io
db87f720a1
Prettier format pending files
2025-10-18 05:09:17 +00:00
Builder.io
7bf4ce124d
Make getPosts resilient: fallback to simple select and manual profile join when relation select fails
...
cgen-ec00d05edee848cba08289f99baeac3b
2025-10-18 05:08:44 +00:00
Builder.io
011ad98ee0
Improve API fallback robustness and avoid throwing to enable demo fallback silently
...
cgen-b98e0911f28f4d11add2635b34ab43b3
2025-10-18 05:03:08 +00:00
Builder.io
97cbf921e5
Improve feed error handling, normalize error message, add API fallback for posts and demo fallback on error
...
cgen-3fa711b8691b48eeae80fbf40e57d2d6
2025-10-18 04:58:25 +00:00
Builder.io
52fffed409
Extend communityService with like/unlike/comment methods (replace getUserPosts block)
...
cgen-3e11fed29a164599bed0547c61a91742
2025-10-18 04:39:07 +00:00
Builder.io
13bd717336
Make community service rely on Supabase for reads
...
cgen-5e5b0294d5b843cdb86140eca686cef6
2025-10-01 00:57:36 +00:00
Builder.io
a4d0f26d01
Normalize supabase imports to alias
...
cgen-9b8b9c5e485d4937b822c534bba5b8b8
2025-09-30 23:22:18 +00:00
Builder.io
867619529e
Remove demo fallbacks from communityService
...
cgen-f22927c8e9144ab18e2ff6fad7b95409
2025-09-30 23:07:55 +00:00
Builder.io
f6be0e0e7e
Remove demo feed import
...
cgen-17b90f289074485fa1177c88a88ddaa3
2025-09-30 23:03:34 +00:00
Builder.io
9748c0c331
Wire client to server API for posts and onboarding to avoid RLS issues
...
cgen-4d11caba61394f70aed01c897057e1b2
2025-09-28 04:01:31 +00:00
Builder.io
d710a8f759
Seed demo posts automatically in communityService fallback
...
cgen-2fc11181be3249648d320cea3b958bb2
2025-09-28 01:03:04 +00:00
Builder.io
abaee59965
Guard Supabase realtime channel usage to prevent runtime errors
...
cgen-2bd999acc01d4c88aea6ab918f2ea3f9
2025-09-28 00:17:17 +00:00
Builder.io
15dbb11bcf
Prettier format pending files
2025-09-27 23:53:05 +00:00
Builder.io
98ff196d8c
Seed demo data and fallback for feed; move Admin link to user menu
...
cgen-772e1d3ac799495e9ca0e61214e0b2a7
2025-09-27 23:48:16 +00:00
Builder.io
7097f8408b
Prettier format pending files
2025-08-06 00:35:27 +00:00
Builder.io
c20613a8be
Create Supabase service helpers
...
cgen-b271b1ef9e5a4a1a96416f389455706a
2025-08-06 00:04:05 +00:00