pediatric-ai-scribe-v3/public/js
Daniel Onyejesi ac8cc38e3b Render presentations as slides in Learning Hub viewer
- New GET /api/learning/content/:slug/slides (authMiddleware only)
  Renders Marp markdown via marp-core, returns {css, slides[]} for
  any authenticated user — no moderator access required

- showViewer: when content_type === 'presentation', hides the body card
  and shows a presentation card with title, slide count, and View Slides button
  Auto-opens the slide modal immediately on load; button allows re-opening

- openSlidesFromSlug(): fetches slides from user-accessible endpoint
  then opens the existing slide preview modal (arrow keys, swipe, dots)

- Viewer already correctly hides feed/categories/search when viewing content;
  "Back to Feed" button returns to the main list
2026-03-24 03:04:14 -04:00
..
admin.js Dedicated CMS page, responsive email templates, security fixes in auth 2026-03-23 20:13:22 -04:00
app.js Fix WebDAV selection, pdf-parse, prompt(), CSP, security issues 1/2/4/5 2026-03-24 02:28:43 -04:00
auth.js Fix login flash, quiz in presentations, revert viewer body, feed labels 2026-03-24 02:50:31 -04:00
chartReview.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
encounters.js Fix: chart review New clears all fields/notes, date context for AI, Bedrock vendor model-only models 2026-03-23 18:12:07 +01:00
hospitalCourse.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
learningHub.js Render presentations as slides in Learning Hub viewer 2026-03-24 03:04:14 -04:00
liveEncounter.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
memories.js Feat: admin CMS, save/resume encounters, user templates, SSHADESS, well visit notes, sick visit, ROS/PE checklists, ICD-10 diagnoses 2026-03-22 16:43:39 -04:00
milestones.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
milestonesData.js v3.0: Add multi-provider Bedrock models, newborn milestones, Converse API 2026-03-23 22:13:19 +01:00
nextcloud.js Fix WebDAV selection, pdf-parse, prompt(), CSP, security issues 1/2/4/5 2026-03-24 02:28:43 -04:00
pediatricScheduleData.js Add growth velocity, feeding guidance, BMI classification to well visits 2026-03-23 23:11:24 +01:00
shadess.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
sickVisit.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
soap.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
voiceDictation.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
wellVisit.js Fix vaccine/catchup tabs and serve Quill locally 2026-03-23 22:59:47 -04:00