pediatric-ai-scribe-v3/src
Daniel Onyejesi 10620a3152 Fix delete bar always visible, slide preview modal, Marp textarea hint
Delete bar bug:
- Root cause: .lh-delete-confirm-bar{display:flex} defined after .hidden{display:none}
  so flex overrode hidden (no !important on global .hidden rule)
- Fix: remove display:flex from base rule, use .lh-delete-confirm-bar:not(.hidden){display:flex}
  so hidden class always wins regardless of CSS order

Slide preview (replace window.open + document.write approach):
- Backend /preview-slides now returns JSON: {css, slides[]} (individual <section> HTML)
- In-page full-screen modal with dark overlay, white slide frame
- Prev/Next arrow buttons, dot indicators, slide counter
- Keyboard navigation (arrow keys, Escape to close)
- Touch/swipe support for mobile
- Overlay click closes modal
- No popups required, works in all browsers

Marp textarea:
- Placeholder updated to guide users: "Click AI Generate above to create slides"
- Makes it clear AI is the primary authoring path; textarea for review/edits
2026-03-24 01:13:55 -04:00
..
db Add AI content generation to Learning Hub CMS 2026-03-24 00:17:28 -04:00
middleware v3.1: Add Learning Hub with CMS, quizzes, and 3-role user system 2026-03-23 19:32:47 -04:00
routes Fix delete bar always visible, slide preview modal, Marp textarea hint 2026-03-24 01:13:55 -04:00
utils Expand ROS/PE: pertinent negatives for WNL, clinical descriptions for abnormal 2026-03-23 23:45:09 +01:00