Commit graph

19 commits

Author SHA1 Message Date
AeThex
1a4321a531 fix: await Discord SDK voice subscribes and add missing Activity API endpoints
Some checks failed
Build / build (push) Has been cancelled
Deploy / deploy (push) Has been cancelled
Lint & Type Check / lint (push) Has been cancelled
Security Scan / semgrep (push) Has been cancelled
Security Scan / dependency-check (push) Has been cancelled
Test / test (18.x) (push) Has been cancelled
Test / test (20.x) (push) Has been cancelled
- Await SPEAKING_START/SPEAKING_STOP subscribes so try-catch handles 4006 scope errors
- Add GET /api/feed and POST /api/feed/:id/like (community posts alias for Activity)
- Add DELETE /api/activity/polls/:id (soft-delete via is_active=false)
- Add POST /api/activity/challenges/:id/claim (marks challenge progress as completed)
- Add GET /api/activity/badges (all badges, no userId required)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 02:24:32 +00:00
sirpiglr
3feb3d91d9 Add a way to display participants in an activity
Define interfaces for participant and voice state, fetch and subscribe to participant updates, and display participants in a new component within the Activity page.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 4414273a-a40f-4598-8758-a875f7eccc1c
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/139vJay
Replit-Helium-Checkpoint-Created: true
2025-12-13 04:51:25 +00:00
sirpiglr
0cd72d3ddc Add proper external link handling for Discord activities
Update DiscordActivityContext to include an `openExternalLink` function that uses the Discord SDK to open external URLs, replacing `window.open` calls to avoid popup blocking issues within the Discord client.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: d3965bf1-4405-4725-8fa0-b46ffd1f2824
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE
Replit-Helium-Checkpoint-Created: true
2025-12-08 21:04:49 +00:00
sirpiglr
6454eb224e Update Discord activity features and documentation
Refactors Discord activity integration to use new SDK authentication methods, updates API endpoints for token exchange and OAuth, and revises documentation for clarity.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: e54ac654-1faa-42a2-b227-b7df7908c2b7
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE
Replit-Helium-Checkpoint-Created: true
2025-12-08 00:44:36 +00:00
Builder.io
9dc954c273 Fix API_BASE definition in DiscordActivityContext.tsx
cgen-21330814c81248ce9920ae7b7fd93b6b
2025-11-13 03:00:32 +00:00
Builder.io
da3a8c7c8e Add API_BASE to DiscordActivityContext.tsx
cgen-976eb5b1c3764e02ae10f7eff0d921e2
2025-11-13 03:00:23 +00:00
Builder.io
d403a96b20 Prettier format pending files 2025-11-10 02:53:29 +00:00
Builder.io
9dbd8a9c2b completionId: cgen-a83f13cacbd34e0eb7fdd790680e1ef4
cgen-a83f13cacbd34e0eb7fdd790680e1ef4
2025-11-10 02:52:02 +00:00
Builder.io
890744574b Prettier format pending files 2025-11-09 23:43:44 +00:00
Builder.io
d5b871bbe5 completionId: cgen-2fdb870a51f54b57a1bcda5063a1bd09
cgen-2fdb870a51f54b57a1bcda5063a1bd09
2025-11-09 23:40:48 +00:00
Builder.io
2e4c958fff completionId: cgen-47627fcd65e1492788cb700f51a99223
cgen-47627fcd65e1492788cb700f51a99223
2025-11-09 23:40:38 +00:00
Builder.io
a04f1cb786 completionId: cgen-34f04021fe2d4c7daf28440dcabef431
cgen-34f04021fe2d4c7daf28440dcabef431
2025-11-09 23:40:24 +00:00
Builder.io
9e1120eb79 Add discordSdk.authenticate() call to properly authenticate session
cgen-43188a35f30a4b0d93f08cbbfd8402f8
2025-11-09 21:46:56 +00:00
Builder.io
51cddfdefa Prettier format pending files 2025-11-09 04:02:13 +00:00
Builder.io
196b15b72d completionId: cgen-72c59ec68f654f7497827a841dc37f4c
cgen-72c59ec68f654f7497827a841dc37f4c
2025-11-09 03:55:05 +00:00
Builder.io
17c9fc4cfa Prettier format pending files 2025-11-08 21:01:53 +00:00
Builder.io
e9a7c48ca8 completionId: cgen-1c574c08591442d481a4ef2cedf614df
cgen-1c574c08591442d481a4ef2cedf614df
2025-11-08 20:59:50 +00:00
Builder.io
294a2920da completionId: cgen-ed6c365d9b8e404b869193275ec63edf
cgen-ed6c365d9b8e404b869193275ec63edf
2025-11-08 20:59:24 +00:00
Builder.io
a5d641b930 Create Discord Activity SDK context for managing activity state
cgen-5be6375b8ca2443caa1ee3a047e28a67
2025-11-08 20:51:18 +00:00