feat: classroom phase 2 remaining — ZIP download, file size, return notify, student leave#457
Merged
Merged
Conversation
Teacher can download all submitted projects as a ZIP file from the class detail footer. Uses JSZip for client-side ZIP generation. Each student's files (project.sb3, thumbnail, screenshots) are organized in seat-number folders. Closes #449 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Validate .sb3 file size before uploading to prevent oversized files. Shows localized error message with actual file size in MB. Closes #450 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Backend: verify-session now returns latest submission status + comment - Frontend: student status screen shows returned (↩) with teacher comment - Frontend: refresh button (↻) for manual status reload - Frontend: yellow comment box for teacher feedback display Closes #451 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Student "Leave" now calls DELETE /members/me with sessionToken auth to remove the membership record server-side. Teacher's seat grid will show the seat as empty (gray) on next refresh. Closes #455 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…m-phase2-remaining # Conflicts: # packages/scratch-gui/src/locales/en.js # packages/scratch-gui/src/locales/ja-Hira.js # packages/scratch-gui/src/locales/ja.js
…-phase2-remaining # Conflicts: # packages/scratch-gui/src/locales/en.js # packages/scratch-gui/src/locales/ja-Hira.js # packages/scratch-gui/src/locales/ja.js
…-phase2-remaining
|
🚀 Preview deployed: https://smalruby.jp/smalruby3-editor/feature/classroom-phase2-remaining/ |
When a student leaves a classroom, their submission data should still be visible in the teacher's grid view. Previously, leaving caused the seat to reset to empty regardless of submission status. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Show underline on teacher grid cells for seated students (active within 1 hour) - Show seated/not-seated badge in teacher detail panel - Track lastActiveAt on membership, update on verify-session - Make configurable via env vars: SESSION_ACTIVE_TTL_SECONDS, PRESIGNED_URL_UPLOAD_EXPIRY, PRESIGNED_URL_DOWNLOAD_EXPIRY, JOIN_RATE_LIMIT_WINDOW_SECONDS, JOIN_RATE_LIMIT_MAX_ATTEMPTS Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 tasks
github-actions Bot
pushed a commit
that referenced
this pull request
Apr 5, 2026
…room-phase2-remaining feat: classroom phase 2 remaining — ZIP download, file size, return notify, student leave
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Combined PR for 4 classroom improvements:
Test plan
🤖 Generated with Claude Code