Skip to content

Add real-time staff polls - #20

Open
owenqwenstarsky wants to merge 1 commit into
mainfrom
feat/poll-realtime-sse
Open

Add real-time staff polls#20
owenqwenstarsky wants to merge 1 commit into
mainfrom
feat/poll-realtime-sse

Conversation

@owenqwenstarsky

Copy link
Copy Markdown
Member

Summary

  • add staff-only poll creation with durable, changeable votes and compact accessible results
  • replace five-second polling with replica-safe PostgreSQL LISTEN/NOTIFY and authorized SSE refresh signals
  • add dedicated vote/stream rate limits, live hidden-poll staff verification, reconnect reconciliation, and slow fallback polling
  • update poll creation, thread badges, component/route/integration tests, and the two-viewer browser journey

Verification

  • npm test — 650 tests passed
  • npm run test:coverage — coverage thresholds passed
  • npm run lint
  • npm run typecheck
  • npm run build
  • PostgreSQL poll notification integration passed for insert, update, and delete
  • poll feature E2E passed, including two-second cross-viewer updates, vote changes, reconnect recovery, and mobile layout

Closes #19

@CompactAIOfficial CompactAIOfficial added enhancement New feature or request triaged labels Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add poll support for staff posts

2 participants