Commit Graph

6 Commits

Author SHA1 Message Date
arazor72 6700e96476 Complete Sprint 2 (chat hub) and Sprint 3 (color palettes)
Sprint 2 — chat hub:
- Chat tab becomes a list of three conversations: AI assistant
  (featured, gradient card), doctor Syndaev, and clinic administrator
- data.js: new `chats` array with kind, participants, message history,
  online/unread state, time of last message, AI suggestions
- screens-chats.jsx: ChatsListScreen and ChatConversationScreen with
  per-kind UI — AI gets suggestion chips + AI-badge, doctor gets
  video-call button, operator gets phone button
- Recovery surgeon chat button routes to chat:doctor-syndaev directly
- Tab bar auto-hides on pushed chat:<id> routes
- ChatTabScreen removed from screens-misc.jsx

Sprint 3 — color palettes:
- ACCENT_OPTIONS extended with accent/accentDark/accent50,
  p300/success50/fg4 so palette switches change the full theme
  (primary + warm + accent + muted + success)
- New palette "Лагуна" from the design-system screenshot: primary
  #29AEE3 (sky blue), accent #FFA39C (coral), warm #E9E4D4 (beige)
- New palette "Бриз": Лагуна variant with primary #63BAC3 (muted
  teal) and the bright sky blue #29AEE3 demoted to p300
- All 9 screenshot colors wired: #f2fee6→success-50, #93908f→fg-4,
  #63bac3→p300 (visible as border on Clinic Stats card in Home V2)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 16:41:52 +05:00
arazor72 fa2d7f6b42 Add SPRINTS.md for sprint planning
Document for tracking sprint plans and completed work. Seeded with
Sprint 1 (initial scaffold + endoscopy, articles, home v2, search,
contacts, prices) and a template for Sprint 2 with candidate ideas.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 21:56:28 +05:00
arazor72 f9a0cb6b87 Add Home v2 with universal search, contacts, and prices screens
Home v2 leads with a search-first layout: prominent AI-badged search
field, booking CTA, quick tiles (contacts/prices/results/recovery),
upcoming appointment, clinic stats, and articles.

Search screen: real filtering across doctors, services, symptoms,
articles, and upcoming appointments (date-aware matching). Empty
state shows popular query chips and symptom list.

Contacts: clinic phone card + two address cards with CSS-mocked
building illustrations (windows, roof, sign, trees) and mini-map
(streets, park, building footprints, pin), route/call/video buttons,
transport tip.

Prices: service search + category pills, grouped listing with price
range summary, booking CTA, empty-state reset.

Exposed as "Главная 2" in Tweaks screen selector alongside
"Главная 1" (existing home variants remain under it).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 21:45:07 +05:00
arazor72 de96895e9c Add articles list and detail screens
Enriched the 4 articles in data.js with id, doctorId, hero color,
emoji, date, lede, and structured body blocks (paragraphs, headings,
bullet lists, tone-variant callouts).

New screens:
- ArticlesScreen — tag-filtered list with hero-card layout
- ArticleDetailScreen — hero block, meta row, lede, body renderer
  (p/h/ul/callout), author card linking to doctor profile, CTA to
  book the author, and "Related" footer

Home card and feed sections now link to detail and list screens.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 18:48:08 +05:00
arazor72 31b861e452 Add endoscopy result viewer screen
New screen for viewing endoscopy results: 2×2 snapshot grid with
simulated endoscopic view (radial gradient + specular highlight),
diagnosis chips, conclusion, numbered recommendations, PDF/share
actions, and full-screen image viewer with pagination.

Wired via nav route `result:<id>` from ResultsScreen and exposed in
Tweaks screen selector.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 18:32:03 +05:00
arazor72 95c9889b5d Initial scaffold: Клиника УГН mobile prototype
Ported HTML/CSS/JS design bundle from Claude Design to Vite + React.
20 screens (home 3 variants, booking flow, doctors, appointments,
results + audiogram, recovery, audio test, chat, profile, QR, telemed,
medcard, notifications). Tweaks panel with iOS/Android frames,
layout/accent/font switchers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 18:16:59 +05:00