Capture and Auto-Save Structured Session Notes
The Workshop Notes Widget provides an embeddable rich-text note-taking area scoped to a single workshop session. Notes are auto-saved as the coordinator types, preventing data loss during intensive multi-day sessions. The widget is accessible only to the facilitating coordinator and admin roles, ensuring sensitive session content is not exposed to participants. Notes are persisted to Supabase via the workshop_notes table. The notes widget can be accessed from the session detail screen and remains available throughout the session lifecycle.
User Story
Acceptance Criteria
- Given I am on the workshop session screen, when I open the notes widget, then a rich-text editor is displayed pre-scoped to the current session
- Given I am typing in the notes widget, when I pause typing for 2 seconds, then the notes are auto-saved and a subtle save indicator is shown
- Given I have written notes and navigate away from the session, when I return to the session, then my previously saved notes are fully restored
- Given I am a peer mentor, when I attempt to view the notes widget for a session I attended as a participant, then the notes are not accessible to me
- Given the notes widget is open, when I apply formatting such as bold, bullet lists, or headings, then the formatting is preserved in the saved note
- Given an auto-save fails due to a connectivity issue, when connectivity is restored, then the notes are saved automatically and an error indicator was visible during the outage
Business Value
Prevents the institutional knowledge loss that occurs when workshop insights exist only in facilitators' personal notes or paper records. When facilitators change, session notes remain accessible in the system, ensuring continuity of the karriereverksted programme across coordinator transitions and enabling better follow-up actions for enrolled peer mentors.