Skip to content

Archived Rooms#292

Open
esopp wants to merge 14 commits intomathematicalthinking:developmentfrom
esopp:archived-room
Open

Archived Rooms#292
esopp wants to merge 14 commits intomathematicalthinking:developmentfrom
esopp:archived-room

Conversation

@esopp
Copy link
Contributor

@esopp esopp commented Apr 29, 2020

  • Adds the ability to archive rooms, and restore rooms from the archived state.
    • Users who have edit access to the room can archive/restore the room.
    • Users on the MyVMT page can filter their rooms by active/archived state. Default is for only active rooms to be shown.
  • On the community page, adds the ability to filter rooms by state:
    • Active/Archived ( for regular users)
    • Active/Archived/Trashed (for admins)
  • There is no "Enter" option for archived rooms, only a "Replayer" button.
    • If a user tries to enter an archived room (e.g., if the url to enter the room was posted somewhere on the web), the error message, "Cannot enter workspace for archived room," will be shown.
  • There is no "Restore" option for trashed rooms
  • In the comminity.js test, check for the ability to filter for active and archived rooms
  • In the create.js test, check that a user can archive and restore a room they have created, and check that they can filter Active/Archived rooms on their MyVMT page.

Note: When this version is put into effect, run the one-time migration: NODE_ENV=production node addIsArchivedToRooms.js from vmt/server/db_migrations/

@anzook anzook changed the base branch from main to development November 5, 2021 16:05
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