Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable real-time poll Insert for fetching polls #144

Closed
wants to merge 4 commits into from

Conversation

tunny17
Copy link
Collaborator

@tunny17 tunny17 commented Jan 29, 2024

What does this PR do?

This PR adds a realtime feature to the way the polls are being fetched.

Fixes #131

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Chore (refactoring code, technical debt, workflow improvements)
  • Enhancement (small improvements)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change adds a new database migration
  • This change requires a documentation update

How should this be tested?

  • To test this feature, you open your poll from course/lessons/lesson, create and poll, publish it and the student will see the poll on his/her page in realtime without having to refresh.

Checklist

Required

  • Filled out the "How to test" section in this PR
  • Self-reviewed my own code
  • Commented on my code in hard-to-understand bits
  • Ran pnpm build
  • Checked for warnings, there are none
  • Removed all console.logs
  • Merged the latest changes from main onto my branch with git pull origin main
  • My changes don't cause any responsiveness issues

Appreciated

  • If a UI change was made: Added a screen recording or screenshots to this PR
  • Updated the ClassroomIO Docs if changes were necessary

Copy link

vercel bot commented Jan 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2024 8:32am
classroomio-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2024 8:32am
classroomio-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2024 8:32am
classroomio-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2024 8:32am
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2024 8:32am
landingpage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2024 8:32am

Copy link

github-actions bot commented Jan 29, 2024

Thank you for following the naming conventions for pull request titles! 🙏

@github-actions github-actions bot added the good first issue Good for newcomers label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Load published polls with Supabase realtime
2 participants