Two service screens accessible via Tweaks screen selector:
- DEV · Палитра — every color role grouped (primary / accent / warm /
status / text / surfaces) with swatch, role name, CSS var name,
hex code, and usage note. Key-color banner at top. Dynamic values
(primary/accent/warm/success-50/fg-4/p300) recompute from
ctx.palette when the user flips the color in Tweaks.
- DEV · Примеры — rendered components (buttons, chips, surfaces,
status blocks, text hierarchy, avatars, badges, inputs, segmented
control, shadow/radius scale) each labeled with the CSS vars it
uses, so devs can read the theme visually.
Plumbed the active palette object via ctx.palette from App.jsx.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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>
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>
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>
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>