feat: submission v2 — block screenshots, carousel, comment/return#446
Merged
Conversation
…return
- Backend: PATCH /submissions/{id} for teacher comment + return status
- Backend: screenshotCount param in createSubmission for multiple presigned URLs
- Backend: listSubmissions returns screenshotUrls[], teacherComment
- Frontend: capture block screenshots for all sprites with blocks on submit
- Frontend: overlay sprite costume image on top-right of each screenshot
- Frontend: image carousel (prev/next) in teacher detail panel
- Frontend: comment textarea + return button in teacher detail panel
- Frontend: orange (#ff8c1a) + ↩ mark for returned submissions in seat grid
- Frontend: submit progress indicator during screenshot capture
- Reducer unit tests for SET_SUBMISSION_STATUS action
- Export renderSVGToCanvas from blocks-screenshot.js
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
🚀 Preview deployed: https://smalruby.jp/smalruby3-editor/feature/classroom-submission-v2/ |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add renderBlocksToCanvas() to blocks-screenshot.js — renders sprite costume at top-left above blocks instead of overlaid on top-right - Update downloadBlocksAsImage() to accept optional costumeDataUri - Pass sprite costume from blocks.jsx to downloadBlocksAsImage() - Simplify classroom submission to use renderBlocksToCanvas() - Fix distorted sprite image by preserving aspect ratio Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This was referenced Apr 4, 2026
github-actions Bot
pushed a commit
that referenced
this pull request
Apr 4, 2026
…room-submission-v2 feat: submission v2 — block screenshots, carousel, comment/return
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
Related Issue
Closes #442 (remaining items except ZIP download and file size enforcement)
Test plan
npm run lintpasses🤖 Generated with Claude Code