Skip to content

CO.17: Create Activity Template

Summary

Counselors create reusable activity templates from the library or while composing a session.

Role

  • Primary: Counselor

Entry Point

  • URL: /library/activities/new
  • Session editor activity creation paths.

Preconditions

  • Restricted library route is enabled.

Steps

  1. Counselor starts a new activity template.
  2. Counselor enters title, description, duration, and activity metadata.
  3. Counselor saves the activity.
  4. Frontend returns to the activity detail or parent session context.

Diagram

Edge Cases

  • Session context: Creating from a session can return to the parent session.
  • Validation: Required fields must be present before save.
  • Restricted route: Route guard blocks access when disabled.

Current Implementation Notes

  • Frontend: frontend/src/app/pages/library/activity-create.tsx

Screenshot Status

  • Not captured.