pediatric-ai-scribe-v3/src
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
..
db Add AI content generation to Learning Hub CMS 2026-03-24 00:17:28 -04:00
middleware Revert auth to localStorage tokens, fix slide padding, AI panel options 2026-03-24 01:57:59 -04:00
routes Render presentations as slides in Learning Hub viewer 2026-03-24 03:04:14 -04:00
utils Expand ROS/PE: pertinent negatives for WNL, clinical descriptions for abnormal 2026-03-23 23:45:09 +01:00