Skip to content

CO.26: Share Assessment

Summary

Counselors enable public sharing for a published assessment, configure default expiration, and copy a share link that opens the shared assessment landing page.

Role

  • Primary: Counselor
  • Secondary: Guest

Entry Point

  • Assessment detail share dialog.
  • Public URL generated for /assessments/share/:token.

Preconditions

  • Assessment exists.
  • Assessment must be published before sharing is enabled.

Steps

  1. Counselor opens the share dialog.
  2. Counselor toggles sharing on.
  3. Backend enables share settings and returns a share URL.
  4. Counselor optionally sets default expiration.
  5. Counselor copies the share link.
  6. Guest opens the shared assessment landing page.

Diagram

Edge Cases

  • Draft assessment: Share dialog blocks enabling sharing until published.
  • Clipboard failure: UI shows copy error.
  • Expiration: Shared landing rejects expired links.

Current Implementation Notes

  • Frontend: frontend/src/features/assessments/components/share-assessment-dialog.tsx

Screenshot Status

  • Not captured.