Skip to content

feat(engagement): queue external-link clicks for offline retry (#171)#229

Merged
Azfe merged 2 commits into
developfrom
task/n03-04-02-offline-click-queue
Jul 10, 2026
Merged

feat(engagement): queue external-link clicks for offline retry (#171)#229
Azfe merged 2 commits into
developfrom
task/n03-04-02-offline-click-queue

Conversation

@Azfe

@Azfe Azfe commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Reuse the shared engagement queue instead of calling track-engagement directly: trackLinkClick(postId, sessionId) enqueues a link_clicked event into @engagement/queue, retried on reconnect in the same batch. Extend EngagementPayload with optional link_clicked, pass sessionId from usePostEngagement, and update the affected tests.

Closes #171

@Azfe
Azfe merged commit e0b6086 into develop Jul 10, 2026
6 checks passed
@Azfe
Azfe deleted the task/n03-04-02-offline-click-queue branch July 10, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant