Repository navigation
ShortSwitch v1.3.1
This patch release improves Activities results, question interactions, mobile layouts, and administrative review without changing the Activities database schema or breaking existing published versions.
Activity results
- Attempts are now ordered by their latest completion time, with newer completed attempts shown first.
- Added the actual Activity completion timestamp to attempt details.
- Added slide numbering to question analytics and individual responses.
- Simplified question labels by removing redundant “Question N” text.
- Individual choice responses now display every available option.
- Correct answers are highlighted in green.
- Incorrect participant selections are highlighted in red while the correct answer remains visible.
- Replaced raw response JSON with readable, question-specific result presentation.
- Added authorized deletion of individual attempts.
- Delete response actions now use clear destructive styling.
- Fixed duplicate Expired status badges.
- Expired attempts that still require manual grading continue to show both Expired and Awaiting manual grading states.
Matching questions
- Improved the mobile Matching layout with clearer numbered groups.
- Connected pairs now share a stable visual number.
- Matching can be started from either the left or right side.
- Selecting an already connected item again removes its pair.
- Removed the redundant “Your matches” debugging-style list.
- Improved wrapping and responsiveness for long matching labels.
- Prevented long text from widening or breaking the mobile Activity layout.
Ordering questions
- Improved pointer and touch reordering behavior.
- Added a full-card drag preview and correctly sized placeholder.
- Restricted dragging to the dedicated handle.
- Preserved keyboard-accessible move controls.
- Improved long-text wrapping on narrow screens.
Question editor
- Added smooth pointer-based reordering for question options.
- Unified question-option movement controls with the existing slide controls.
- Updated Up and Down controls to use the standard Activities icons.
- Updated option deletion to use the same destructive icon and styling as slide deletion.
- Prevented accidental editor activation during drag operations.
Security and dependencies
- Updated
@fastify/staticto10.1.10. - Updated its production glob dependency chain.
- Attempt deletion remains protected by authentication, CSRF validation, and Activity ownership checks.
- Correct-answer data remains restricted to authenticated administrative result endpoints.
- Public Activity payloads continue to exclude private answer keys.
Compatibility
- No database schema changes.
- No destructive migrations.
- Existing Activities and published versions remain compatible.
- Existing legacy Live data and URLs remain unchanged.
- Existing Links and Pages behavior remains unchanged.
- No Docker Compose changes are required.
Verification
- TypeScript checks pass.
- All 163 automated tests pass.
- Production client and server builds pass.
- Production HTTP and compression verification passes.
- Dependency audit completed after the Fastify static update.
- Docker no-cache build and isolated health check pass.
- Activities loopback load scenarios with 50, 200, and 500 fictional participants pass.