Skip to content

CO.18: Activity Template Detail

Summary

Counselors view, edit, and delete reusable activity templates. Activity detail can be reached directly from the library or from a session context.

Role

  • Primary: Counselor

Entry Point

  • URL: /library/activities/:id

Preconditions

  • Restricted library route is enabled.
  • User has access to the activity.

Steps

  1. Counselor opens an activity.
  2. Frontend loads activity metadata.
  3. Counselor reviews instructions, duration, and tags.
  4. Counselor edits fields when allowed.
  5. Counselor saves changes or deletes the activity.

Diagram

Edge Cases

  • Parent session: Query params can return to the parent session.
  • Public items: Public library edit/delete rules apply.
  • Delete confirmation: Delete is guarded by confirmation UI.

Current Implementation Notes

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

Screenshot Status

  • Not captured.