LearnX AIVisual Documentation
Internal appendix
Draggable panel Action-assisted Refresh-safe Developer notes

Internal Guided Demo System

The guided demo is an authorized training and verification layer. It highlights controls, runs safe previews, pauses before real changes, and records proof events for logged-in demo users.

Demo Studio
Demo Studio launches full-app, module, role, and public-safe tours.
Public showcase
Public showcase tours are preview-safe and do not expose locked learner data.
Guided demo pause resume flow

What The Demo Does

For buyersShows that LearnX AI is a connected LMS, not a plain CRUD admin. Buyers can inspect courses, CBT exams, assignments, certificates, tutor, commerce, reports, automations, SaaS, and API readiness.
For staff trainingWalks admins, teachers, reviewers, support, corporate managers, guardians, and students through the screens they actually use.
For developersEach step includes route, permission, anchor, sample record, extension point, and troubleshooting note.
For safetyThe demo may fill sample fields and run previews, but it never auto-submits save, delete, payment, certificate, or grade actions.

How To Launch

  1. Public preview: open /showcase and start a public-safe tour.
  2. Full demo: sign in with an authorized demo-environment account, then open /lms/demo-studio.
  3. Module demo: choose a module card such as Course Builder, CBT Assessments, Reports, Automations, or SaaS/API.
  4. Role demo: choose Admin, Academy Admin, Teacher, Reviewer, Support, Corporate, Guardian, or Student.
  5. Resume: if the browser refreshes or the buyer navigates away, click the floating demo dock or Resume Last Tour.

Panel Controls

ControlWhat it doesSafe behavior
Pause / ResumeStores the current step and minimizes the panel.Progress is saved in localStorage and mirrored server-side for logged-in users.
MinimizeTurns the panel into a floating dock.The user can keep working and resume later.
Restart StepResets checklist and safe-action progress for the current step.No business record changes.
Restart TourReturns to the first step of the active tour.Only demo progress changes.
Run Safe ActionRuns the next action such as highlight, open modal, fill safe field, or run preview.Stops at confirmation boundaries before real saves.
Open DocsOpens the module reference below.Static docs only; no LMS data mutation.

Action-Assisted Mode

The demo is intentionally not a fully automatic robot. It prepares the screen, explains what the buyer is seeing, and pauses before any real mutation.

ActionExampleAllowed?
assert_visibleConfirm the CBT command bar exists.Yes
highlight_sequenceHighlight KPI strip, table, and actions.Yes
fill_fieldsFill sample course title or report prompt.Yes, safe fields only
open_modal / open_drawerOpen Create Coupon, Assignment Rubric, or Tutor source drawer.Yes
run_previewPreview automation audience or report result.Yes
wait_for_confirmPause before save, delete, grade release, payout, payment, certificate issue.Required

Module Reference

Every live demo step links to one of these anchors. Use them during buyer calls to explain the plain workflow first, then open the developer note if the buyer asks about implementation.

ModuleLayman explanationDemo exampleDeveloper note
PublicShows the product safely before login.Start at /showcase, inspect feature journey and certificate verify CTA.Public scripts are whitelisted in config/learnx_demo.php.
DashboardsEach role gets its own command center.Admin sees platform signals; Teacher sees own courses and grading work.Routes use /dashboard/* and role permissions.
RoleShows what each user type can do.Run Teacher tour to inspect owned courses, Q&A, assignments, and earnings.Permission filtering happens before steps are returned.
AIShows prompts, usage, quota, and safe fallback states.Open AI request logs and prompt templates.AI calls are logged and prompts are versioned.
CoursesBuild, price, review, and publish learning products.Create course title “Laravel SaaS Platform Builder” and inspect readiness.Use data-demo-anchor="course-builder-workspace".
LessonsAuthor video, article, PDF, audio, live, and protected resources.Open lesson studio and preview locked content behavior.Protected media stays behind authorized routes.
StudentShows learner dashboard, course hub, player, notes, bookmarks, progress, tutor, and certificates.Resume a seeded course and inspect completion diagnostics.Student context must stay scoped to the signed-in learner.
AssessmentsShows question bank, CBT exams, result sheets, corrections, and exports.Skip Q2, answer Q3, and watch counters update.Attempts preserve randomized order and teacher visibility rules.
AssignmentsShows practical work, file submissions, rubrics, resubmissions, feedback, and grading.Preview a rubric score and stop before releasing feedback.Submission files stay protected and grading is auditable.
TutorShows private course AI tutor with source-backed answers.Ask for beginner explanation and inspect cited sources.Tutor uses bounded course context, not raw unrestricted data.
CertificatesShows eligibility, issue, PDF, QR verification, revoke, and reissue.Verify a seeded certificate and inspect public proof.Public verify exposes credential facts only.
CommunityShows reviews, Q&A, discussions, moderation, and AI drafts.Draft an instructor answer without auto-posting.Moderation actions write activity logs.
CommerceShows free/paid courses, coupons, bundles, invoices, earnings, payouts.Apply coupon and inspect earning split after discount.Sandbox payments only in this phase.
ReportsShows reports, Ask LMS, risk cards, exports, and intervention Kanban.Ask “Which students are inactive?” and create intervention card.Ask LMS maps text to safe predefined intents, never raw SQL.
AutomationsShows reminders, certificate auto-issue, run history, and Kanban.Preview an assignment due reminder audience.Commands run rules idempotently and record run items.
SaaS/APIShows tenant packages, limits, billing placeholder, API docs, and mobile readiness.Inspect X-Academy-Code login rules and tenant health.Tenant routes and API docs are separate from learner data.

Developer Integration Notes

Source files Tour definitions live in config/learnx_demo.php. The service resolves permissions, routes, demo references, docs links, and safe connected records. The vanilla browser engine lives at public/assets/js/pages/lms/guided-demo.js.
Adding a new step Add a route name, selector, permission, optional demo reference key, action list, success checks, example, developer note, and docs anchor. Then add a matching data-demo-anchor to the Blade screen.
Troubleshooting If a step opens Demo Studio instead of the target page, check the route name or demo reference. If the highlight does not appear, add the missing data-demo-anchor or update synthetic anchors. If a buyer cannot run a tour, check the run guided demo permission.

Routes

/lms/demo-studio
/lms/demo-studio/tours/{script}
/showcase/demo/tours/{script}
/lms/guided-demo/progress
/lms/guided-demo/events
/lms/guided-demo/progress/reset

Demo QA Checklist

  • Start full app tour from Demo Studio.
  • Pause, refresh browser, and resume from the dock.
  • Restart one step and one full tour.
  • Run one safe fill-field action.
  • Open docs from a guided step.
  • Run one public-safe showcase tour without login.
  • Run one student tour and one staff tour.
  • Open Demo Health and confirm routes, permissions, anchors, actions, checks, and sample data.