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

Educator version #948

Open
wants to merge 60 commits into
base: main
Choose a base branch
from

Conversation

sabrinanel3
Copy link
Contributor

No description provided.

saachibm and others added 30 commits June 18, 2024 12:54
- a Teacher can have multiple Classrooms
- a Classroom can have multiple Students
- Students are one-to-one with Users which lets them participate in Games
- Teachers are one-to-one with Users which lets them sign into the
  website (may need to revisit this part of the schema)

Co-authored-by: Tkawamura02 <tkawamura02@gmail.com>
Co-authored-by: Allen Lee <alee@users.noreply.github.com>
Co-authored-by: Scott Foster <sgfost@users.noreply.github.com>
Co-authored-by: Sabrina Nelson <sabrinanel3@users.noreply.github.com>
pending a feature flag, these routes/components will be part of an entirely different layout

Co-authored-by: sbmota <sbmota@users.noreply.github.com>
Co-authored-by: Allen Lee <alee@users.noreply.github.com>
Co-authored-by: Sabrina Nelson <sabrinanel3@users.noreply.github.com>
Co-authored-by: Allen Lee <alee@users.noreply.github.com>
Co-authored-by: sbmota <sbmota@users.noreply.github.com>
isTeacher flag gets added to the user object in client state when
needed

We should be able to get away with no other (or very minimal)
changes to the client state by repurposing the lobby object similar to
how we do so for freeplay/tournament lobbies
Co-authored-by: sgfost <sgfost@users.noreply.github.com>
* moved dev login function on the client to AuthAPI

TODO:
* add generation of a passcode for signing back in as an existing
  student. either create a new strategy or modify existing to also take
  this auth token for signing back in
* create the rest of the login flow, intermediate page for entering
  name, signing back in (passcode can be the response from a set-name
  call)

Co-authored-by: saachibm <saachibm@users.noreply.github.com>
Co-authored-by: Sabrina Nelson <sabrinanel3@users.noreply.github.com>
…in classroom lobby components for student-confirm page
+ some minor cleanup

CONTAINS MIGRATION
Co-authored-by: Sabrina Nelson <sabrinanel3@users.noreply.github.com>
Co-authored-by: saachibm <saachibm@users.noreply.github.com>
ref virtualcommons#943

Co-authored-by: Sabrina Nelson <slnels16@asu.edu>
Co-authored-by: Kelly Tran <kellytea@users.noreply.github.com>
Co-authored-by: Allen Lee <alee@users.noreply.github.com>
classroom authToken, and student rejoinCode.

+ created test suites
…dent count

Co-authored-by: Kelly Tran <kellytea@users.noreply.github.com>
STEPS TO UPDATE LOCAL ENV:

- make clean
- ./configure dev
- make .env
- (optionally) update SHARED_APP_MODE in .env, new way to set educator
  mdoe
- make deploy
Co-authored-by: Sabrina Nelson <sabrinanel3@users.noreply.github.com>
sabrinanel3 and others added 23 commits June 26, 2024 10:22
* rename ClassroomNavbar to EducatorNavbar for consistency
…ate tests for educator routes

Co-authored-by: sgfost <sgfost@users.noreply.github.com>
Co-authored-by: Kelly Tran <kellytea@users.noreply.github.com>
launches games for all students in the associated classroom lobby

* classroomId is now included in classroom lobby and game room metadata
* classroom selection is now done by id to retain a reference
* fixed some vue errors in TeacherDashboard component
* DELETE /classroom/ now responds with a 200 status on success

* prevent login form submissions from trying to redirect to a new page
adds a tournament + round for educator mode, some form of active
tournament is still needed for starting games and not breaking
everything

* prevent default on student confirmation page
…dashboard

 added inspect data route to dashboard
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.

None yet

4 participants