Archiving a Classroom
Add functionality to "archive" a Classroom. For example, once CS101-Autumn is completed, provide some way to lock the repos and potentially hide them (or provide some other visual cue that the course is over).
This request may be related to Issue #595 or a potential solution to #595 where an organization can only have a single classroom (the current behavior) but you can archive the previous classroom and create a new one for that organization.
Potential workflow:
- I have an organization named BigU-CS101.
- I create a classroom for BigU-CS101 named Fall-2015.
- At the end of the quarter, I archive Fall-2015. This locks it and prevents any new repos being created.
- I create a classroom for BigU-CS101 named Winter-2016.
At any given time, I only have a single active Classroom for the organization.
Thanks for opening this @tabinks.
@NickTikhonov This is something you might want to consider as you're thinking about how the end of an assignment / course works.
I think something like this is a great idea. I've been using Classroom for a while now, and I have lots of individual classrooms. Since the list of classrooms doesn't appear to be organized in any way I can discern, it's getting hard for me to locate my current classrooms within the larger list. Even just having that list split into "active" classrooms and "inactive" classrooms (where I can change a setting to mark a classroom as inactive) would be useful for me.
Locking down each inactive classroom so that no new repos can be created would be a bonus. I currently just disable all of the invitation links for a given classroom. While this takes a little effort to iterate through all of the assignments, it works fine.
As an added note: I use a separate GitHub organization for each course I teach. This works well for me. My main hope is to be able to mark classrooms as inactive.
This would be wonderful. Is there a script I can use to archive a classroom?
Here is a VERY hacky python script, with no error testing or anything of the sort. Use at your own risk.
Also wonderful would be the ability to archive the organization, so that it did not clutter my drop-downs on github.com.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This would be great. I teach 2 courses a term. I have one organization per class per term. I'm starting to get a long list and came over here to add an issue to sort the classrooms newest first. Archiving would be even better.
I also vote for this feature. For now, I change the organization icon to a big red X if it is a past course and some meaningful icon if it is an active course. It helps to wade through the junk. Not ideal, but without deleting the old courses, I cannot think of a better way.
@femmebot @sophshep I'd love to get your opinions on how we can design an "Archived classrooms" section or page. This is what the current main page looks like, which shows all classrooms that the teacher owns:

How are the classrooms sorted by default? Can you provide context for what underlying problems users were trying to solve?
@femmebot currently classrooms are sorted by creation date. These comments on the issue describe the problems we want to solve: https://github.com/education/classroom/issues/602#issuecomment-384097275 https://github.com/education/classroom/issues/602#issuecomment-446763379
To solve this, we're introducing classroom archiving. We already have a button in the classroom settings page (under a feature flag, doesn't do anything user-facing at the moment):

We want to provide a way for users to distinguish between their active classrooms and their archived classrooms.
I'll chime in again to second @phannan's suggestion to simply sort classrooms newest first. Right now, it looks like classrooms are sorted oldest first. If you have a lot of classrooms (which I do, since I have one classroom per course, and I teach 2-3 courses per term), then your current classrooms don't even show up on the first page, and it takes some work to get to them. I'd rather have quickest access to my most recently created classrooms (i.e. the ones I'm using this term) by having the classrooms sorted newest first, instead of having quickest access to my oldest classrooms (i.e. the ones associated with courses I taught a few years ago).
The additional suggestion to allow archiving a classroom or marking it as inactive would also be a welcome addition, since in my imagining of this feature, this would automatically disable all of the assignments for the classroom. Right now, disabling all assignments for a classroom takes a good deal of manual work. I also always forget which classrooms I've disabled assignments for, so I end up having to go back through a lot of classrooms to double check, assignment-by-assignment, whether I did indeed disable assignments for that course.
Thanks for all of your input @robwhess. I'll create another issue to add sorting functionality to the classroom dashboard, and keep in mind that we should disable all assignments when archiving.
Thanks @EricPickup!
Looking forward to this much needed feature! Super
This is almost complete. The last thing to do is filter out archived repositories on the classrooms screen (and provide some tab or other page showing the archived ones). @femmebot Could you post the design ideas you had?
Yup! Here's the link to the Figma for closer inspection of the specs: https://www.figma.com/file/97NA4vopFIccJHuzVVSO8V/Education?node-id=425%3A823
- Add a way to change views from the Classrooms dashboard so you can view active (non-archived) classrooms only. We should remember the settings for their previous sorting/view preferences.
- Archived classrooms are greyed out
- We'll probably want to add the ability to archive within the classroom settings as well.

We can already archive/unarchive within the classroom settings! This is the last missing piece, thank you @femmebot 💖
We've now fully launched the ability to archive a classroom.
You can archive a classroom from the classroom settings or from the classroom dropdown menu on the classroom listings page. For more details, you can check out the documentation.
When a classroom is archived, you cannot create or modify individual or group assignments for that classroom. You can always unarchive a classroom if you need to though. Archiving is not a destructive action.
With this feature we've also introduced a filter on the classroom listings page which allows you to filter just Active or just Archived classrooms. It will default to All.
If you identify bugs or have additional requests for this feature, please open a new issue.