๐
Sub-flow: Preview Course Content
SUC-PLY-01
This page is a sub-flow invoked from another use case โ when finished, control returns to the caller.
Lesson Player
Simulate:
Reset
1.2.1 — Principles overview
Video
Read-only preview โ not tracked
Screen Flow (SUC-PLY-01):
Spec notes โ SUC-PLY-01 / SCR-PLY.01 Lesson Player (Preview Mode)
Identity
- Sub-use case: SUC-PLY-01 โ Preview Course Content
- Screen: SCR-PLY.01 โ Lesson Player (shared with UC-PLY.01 โ same rendering per content type)
Brief description
Read-only building block reused by 3 host use cases โ opens the Lesson Player in a new browser tab, showing the content identified by the calling use case with no lock states, no resume position, and no progress tracking. Quiz and Assignment content items render inline as static read-only previews (disabled inputs, no submission). Content shown is the exact version the instructor submitted (UC-CCM.06), or the course's current approved/published content (UC-LMS.11, UC-LMS.19) โ never the instructor's in-progress draft.
Regions
- Navigation tree โ all items shown as accessible, no lock icons
- Active content info
- Content viewer (type-adaptive: html / image / video / pdf / docx / xlsx / external_link / scorm / quiz / assignment)
- Viewer controls (video only)
- Sequential navigation (โ Previous / Next โ / Finish Preview)
- Resources panel (pinned bottom of sidebar) and item supplementary links (below viewer) โ shown in Preview context same as the learner view, read-only, no completion tracking (T-0231, 2026-07-08 โ previously hidden in Preview context, which contradicted "exactly as a learner would see it")
Still not shown in Preview context (learner-progress-only regions, per SCR-PLY.01 field visibility rules): Forum tab, resume position, completion %, save status, SCORM completion status.
Actions
select_content_itemโ enabled for every item regardless of state (review_context == true, no lock conditions)expand_collapse_module,switch_localeโ alwaysplay_pause,seek,toggle_fullscreen,toggle_captions,change_speed,toggle_transcriptโ video onlyopen_external_linkโ external_link onlydownload_fileโ image / pdf / docx / xlsxopen_supplementary_resource"Open resource" โ always enabled (shown in Preview context, T-0231); no completion is recorded, in either contextretry_loadโ enabled on load error (generic SCR-PLY.01 behavior, not tied to any alternative flow)close_player"โ Close" โ always; closes the preview tab, returns to the host page (SCR-CCM.10, SCR-LMS.06, or SCR-LMS.53)go_to_next_item"Next โ" โ advances across lesson boundaries; label changes to "Finish Preview" at the last item โ closes the tab and returns to the host pagego_to_prev_item"โ Previous" โ enabled when a previous item exists
Additional requirements
- No progress records are created or updated during a preview session. All content items are accessible immediately โ no sequential lock, no quiz lock. Quiz and Assignment content items are shown as static read-only previews. A "Preview Mode" badge is displayed persistently in the player header.
ReturnUrl context
- Current returnUrl:
/review-and-approve-course/ - Fallback when empty:
/ - On Close or Finish Preview โ
/review-and-approve-course/โ there is no separate cancel signal; this SUC never creates or updates data, so there is nothing to roll back on exit - Propagation:
?returnUrl=โฆcarried on all in-page navigation links
Sub-flow context
- SUC ID: SUC-PLY-01 ยท SUC Name: Preview Course Content
- Invoked by (per
use-cases.yamlincludes:):- UC-CCM.06 (Review and Approve Course) โ "Preview Course" button on the Course Review Page (SCR-CCM.10)
- UC-LMS.11 (Manage Course) โ "Review Content" button on the Course Detail page (SCR-LMS.06)
- UC-LMS.19 (Manage Course Library) โ "Preview Content" action on the Course Library Detail page (SCR-LMS.53)