Home
🎬 Simulate:

National Training Institute

Friday, 30 October 2026

Active
Simulate Roles (multi-select · applies to sidebar)
Institute (stats + topbar update on switch)
24
Published Courses
1,240
Active Learners
38
Instructors
3
Pending Reviews
Recent Activity View all
  • Submission
    New assignment submitted — Introduction to TVET Systems
    Souphavanh Khamphone · Module 1 Case Study
    5 min ago
  • Review
    Course submitted for review — Advanced Welding Techniques
    Khamla Boupha · awaiting approval
    30 min ago
  • Enrollment
    15 learners enrolled — Electrical Engineering Fundamentals
    Cohort Batch 2026-A · total 48 learners
    2 hrs ago
  • Published
    Course published — Healthcare Safety Procedures v2.1
    Approved and now live in catalog
    4 hrs ago
  • Grades
    Grades finalized — Python for Data Analysis, Assignment 3
    Bouakham Silavong · 32 learners graded
    Yesterday
Pending Tasks 3
  • Review: Advanced Welding Techniques
    Awaiting your approval
  • Grade: Module 1 Case Study
    Souphavanh Khamphone · 5 min ago
  • Approve join request — Batch 2026-B
    2 new join requests

Screen Flow (from flow.puml):

→ switch Working Institute (AF-1A) → Staff Portal Home → navigate to task / quick link → [target page]
📝 Spec notes — UC-IDP.26 / SCR-IDP.58 (fields, actions, requirements)
Identity
  • Screen: SCR-IDP.58 — Staff Portal Home
  • Use case: UC-IDP.26 — View Staff Portal Home
Brief description

The landing page all staff roles reach after a successful staff login (UC-IDP.07) or by clicking Home in the back-office portal sidebar. Presents KPI cards (Published Courses, Active Learners, Instructors, Pending Reviews), a Recent Activity feed with tagged events, a personalised Pending Tasks panel, and Quick Links to commonly accessed pages. The page header shows the active institution name, current date, and institution status badge. A dev/QA-only simulation toolbar lets testers switch the active role and institution without re-logging in.

Fields
  • active_institute_name "Active Institute Name" — text · Institute.name · session.active_institute_name · always · read-only
  • current_date "Current Date" — date · computed · always · read-only
  • institute_status_badge "Institution Status" — enum [Active, Suspended] · Institute.status · always · read-only
  • simulate_roles "Simulate Roles" — enum [Super Admin, Program Admin, Instructor, Tag Admin, Sales Admin, Central Course Approver] · visible when runtime_mode == dev_or_qa · editable
  • simulate_institute "Simulate Institute" — enum · session.active_institute_name · visible when runtime_mode == dev_or_qa · editable
  • stat_published_courses "Published Courses" — number · computed · always · read-only
  • stat_active_learners "Active Learners" — number · computed · always · read-only
  • stat_instructors "Instructors" — number · computed · always · read-only
  • stat_pending_reviews "Pending Reviews" — number · computed · always · read-only
  • activity_event_type "Event Type Tag" — enum [Submission, Review, Enrollment, Published, Grades] · computed · always · read-only
  • activity_title "Activity Title" — text · computed · always · read-only
  • activity_subtitle "Activity Subtitle" — text · computed · always · read-only
  • activity_timestamp "Activity Timestamp" — text · computed · always · read-only
  • pending_tasks_count "Pending Tasks Count" — number · computed · always · read-only
  • task_priority "Task Priority Indicator" — enum [urgent, normal] · computed · always · read-only (urgent = red indicator, normal = yellow)
  • task_title "Task Title" — text · computed · always · read-only
  • task_subtitle "Task Subtitle" — text · computed · always · read-only
Actions
  • view_all_activity "View all" — always enabled · navigates to full activity log (cross-module)
  • open_pending_task "(pending task item)" — always enabled · navigates to task's target management page (varies by task type)
  • quick_link_course_list "Course List" — always enabled · UC-LMS.11 (Manage Course)
  • quick_link_author_course "Author Course" — always enabled · UC-CCM.01 (Author Course Content)
  • quick_link_cohorts "Cohorts" — always enabled · UC-LMS.04 (Manage Cohort)
  • quick_link_course_review "Course Review" — always enabled · UC-CCM.06 (Review and Approve Course)
  • quick_link_instructors "Instructors" — always enabled · UC-IDP.13 (Manage Institute Instructors)
  • quick_link_learners "Learners" — always enabled · UC-IDP.12 (Manage Learner Profile & Access)

Destinations per SCR-IDP.58 AR#3 (consolidated 2026-07-09; Instructors link repointed to UC-IDP.13 on 2026-07-14 when that UC was revived).

Additional requirements
  1. All statistics and the Recent Activity feed must be scoped to the active institution. Switching the active institution must reload all figures without a full page reload. [refs: SS-IDP.31]
  2. Pending Tasks are personalised to the logged-in user — only tasks requiring action from this user (based on role) are listed. Urgent items use a red indicator; normal follow-ups use a yellow indicator. The count badge reflects total actionable items.
  3. Quick Links are role-filtered: only links the user has permission to access are rendered. Inaccessible links are hidden entirely (not shown as disabled). [refs: SS-IDP.31]
  4. The Prototype simulation toolbar must not appear in production. In dev/QA/UAT: changing simulate_roles updates the sidebar in real time; changing simulate_institute reloads statistics and activity feed for the selected institute.