๐ฌ Simulate:
Manage Specialization
Manage online course bundles โ create, edit, and delete Specializations
SCR-LMS.11 ยท UC-LMS.02
3 Specializations
Screen Flow (from flow.puml):
๐ Spec notes โ UC-LMS.02 / SCR-LMS.11 (fields, actions, requirements)
Identity
- Screen: SCR-LMS.11 โ Manage Specialization List
- Use case: UC-LMS.02 โ Manage Specialization
Brief description
Specialization list page for Program Admin to manage online course bundles. Displays all Specializations in scope โ filterable by tag / keyword. Includes Create, Edit (โ SCR-LMS.12) and Delete (โ SCR-LMS.13 dialog) actions.
Fields
search_keyword"Search" โ text ยท free text search on titlefilter_tags"Tag" โ single-select from Tag list ยท data_ref: Tag.idtitle"Specialization Name" โ text ยท data_ref: Specialization.title ยท read-onlymember_course_count"Member Courses" โ computed from SpecializationCourse count ยท read-onlytag_labels"Tag" โ computed from SpecializationTag โ Tag.name ยท read-onlyupdated_at"Last Updated" โ datetime ยท data_ref: Specialization.updated_at ยท read-only
Actions
create"Create Specialization" โ always enabled ยท โ SCR-LMS.12 (create mode)edit"Edit" โ per row ยท โ SCR-LMS.12 (edit mode) ยท triggers AF-2Adelete"Delete" โ per row ยท opens SCR-LMS.13 dialog ยท triggers AF-2Bsearch"Search" โ always enabled ยท inline filter, no dedicated UC step
Additional requirements
- Program Admin sees only Specializations in their institution's scope; Super Admin sees the entire system [refs: SS-01]
- After redirect from successful save/publish, system shows a success toast (auto-closes after 3 seconds)
- All create, edit, and delete operations are logged with the actor and timestamp [refs: SS-01]
โณ Embedded dialog: SCR-LMS.13 โ Specialization Delete Confirmation
Brief description
Confirmation dialog for deleting a Specialization. Checks active_enrollment_count first โ if > 0: block and show block_message stating why deletion is blocked; if = 0: enable the confirm delete button.
Fields
specialization_titleโ text ยท data_ref: Specialization.title ยท read-onlyactive_enrollment_countโ number ยท computed ยท read-onlyblock_messageโ text ยท visible when active_enrollment_count > 0 ยท read-only
Actions
confirm_delete"Confirm Delete" โ enabled_when: active_enrollment_count == 0cancel"Cancel" โ dismiss modal