Skip to content

Fix nudging for students (100%) #83

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

Merged
merged 8 commits into from
Jun 25, 2024
Merged

Fix nudging for students (100%) #83

merged 8 commits into from
Jun 25, 2024

Conversation

willm0602
Copy link

@willm0602 willm0602 commented May 7, 2024

We had an issue where nudging students using RTG slides wasn't working since we didn't have focus working for the SJR app. We normally have it called from the main.js bundle in the main codehs app, so this uses the same logic to get realTime working to enforce students to stay on their site by nuding them back to the URL from their firebase instance when it's changed

Loom demo:
https://www.loom.com/share/95fcde9540124561abca52491632bb10?sid=91a7a23b-bd7f-43f6-99fe-8169f0a48517

@willm0602 willm0602 requested review from almeidaalajoel and Dereth May 7, 2024 03:14
@willm0602 willm0602 force-pushed the will-fix-pushing branch from 4a086ce to 2f10edd Compare May 9, 2024 19:26
Will Migdol added 2 commits May 9, 2024 14:29
var FIREBASE_URL = 'https://live-dashboard-d4d0e-default-rtdb.firebaseio.com/';
var refPath = isLocal ? 'LOCAL_NAV/' : 'LIVE_NAV/';
refPath += userID;
var firebaseApp = initializeApp({

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might need to be careful here - if firebase is already on the window this can cause issues. lets hold off for now and talk about it, maybe we can loop in @john-kelly as well

Copy link

@almeidaalajoel almeidaalajoel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be prepared to send

@almeidaalajoel almeidaalajoel merged commit 1c3890c into develop Jun 25, 2024
2 checks passed
@almeidaalajoel almeidaalajoel deleted the will-fix-pushing branch June 25, 2024 22:13
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.

2 participants