Commit Graph

79 Commits

Author SHA1 Message Date
WASRUSGEN
01edc3bee1 feat: MS Project-style Gantt at bottom of Мои дела tab
- Split view: left table (num/name/dur/start/end) + right timeline grid
- 11 rows: 3 contracts as groups, 8 subtasks
- Color-coded bars: done/active/urgent/pending/group
- Today marker (red line), weekend columns shaded
- Scrollable on mobile, renders on cabinet open
2026-05-27 13:08:55 +03:00
WASRUSGEN
7453e6bf64 feat: Gantt timeline in cabinet Sroki tab, ticker hidden from start
- Replaced deadline list with MS Project-style Gantt chart
- 4 cases with color-coded bars (overdue/urgent/warn/ok)
- Today marker, date ticks, scrollable on mobile
- Legend with status colors
- Ticker on start screen hidden
2026-05-27 12:48:53 +03:00
WASRUSGEN
e67ecde340 feat: deadline ticker strip on start screen
- Fixed bottom bar with scrolling contract statuses
- Demo items + real last_order from localStorage
- Pauses on hover, syncs visibility with screen transitions
2026-05-27 12:17:17 +03:00
WASRUSGEN
4f4dc6c330 feat: returning client greeting screen on start
- New clients: existing flow unchanged
- Returning clients (localStorage history): greeting text, last order card, primary CTA to cabinet
- ykFinish() saves last order to zashita_last_order in localStorage
- checkReturning() runs on DOMContentLoaded
2026-05-27 11:07:03 +03:00
WASRUSGEN
95c3e2ec49 pay: ЮKassa widget (card + SBP, mockup-ready, prod hook marked) 2026-05-27 10:30:49 +03:00
WASRUSGEN
1b7c818c4a consult: AI-powered, remove live lawyer references 2026-05-27 00:09:51 +03:00
WASRUSGEN
f72fd02b91 fix: remove CSS from script block (JS crash fix) 2026-05-27 00:03:06 +03:00
WASRUSGEN
56ae8b8f9d cabinet: mobile responsive layout (sidebar -> top tabs on mobile) 2026-05-26 23:23:29 +03:00
WASRUSGEN
d636d220e6 fix: Оплатить -> order-status; add cabinet button on start screen 2026-05-26 23:15:00 +03:00
WASRUSGEN
7b7dd67d1d order-status screen: post-pay confirmation with stepper, Elena msg, dynamic content 2026-05-26 22:57:24 +03:00
WASRUSGEN
a0fd25b879 Pay screen: dynamic contract type subtitle from detection 2026-05-26 19:52:46 +03:00
WASRUSGEN
5911290f13 CTYPES: labor->consult, supply->reply, other->consult recommendations 2026-05-26 09:49:24 +03:00
WASRUSGEN
3cffddf37b Add 2 new deliverables: Консультация + Ответ контрагенту
Derived from custom request analytics (top user asks).
Both have full DELIVS entries, PLAN_PITCH instructions (3 plans each),
appear after 4 main cards with 'или другой формат' separator.
Also fix: missing comma in PLAN_PITCH caused JS to not load.
2026-05-26 09:43:00 +03:00
WASRUSGEN
3ca2b0485b Add custom requests analytics screen
- /custom-admin screen: stats (total, types, added count)
- Word frequency analysis: top-15 words with counts, top word highlighted
- Request cards: ctype badge, timestamp, text, Add to System / Copy buttons
- Added requests shown faded with green checkmark
- Export: CSV download, JSON copy to clipboard
- Stats pill click opens analytics instead of clearing
2026-05-26 09:33:31 +03:00
WASRUSGEN
92734a7e58 Pay screen: per-plan detailed instructions in Elena block
Each plan click shows step-by-step guide: what you receive,
exact text to send to counterparty, how to handle objections.
12 combinations (4 deliverables × 3 plans), numbered steps, timing.
2026-05-26 09:30:48 +03:00
WASRUSGEN
19005c28a7 Add custom request: voice/text input + localStorage analytics
- "Нужен другой формат?" toggle after 4 deliverable cards
- Textarea + Web Speech API microphone button (ru-RU)
- On submit: Elena confirms, logs to zashita_custom_delivs in localStorage
- Stats pill shows logged custom requests for analysis
2026-05-26 09:22:01 +03:00
WASRUSGEN
3606781cb7 Sample docs: protocol, redact, clean, partner + sample links on deliverable cards 2026-05-26 02:53:59 +03:00
WASRUSGEN
2c3baee704 Deliverable descriptions on cards: intro from Elena + per-ctype text on each button 2026-05-26 02:36:53 +03:00
WASRUSGEN
04c7974184 Elena pitch: contextual 3-option script per contract type after risks 2026-05-26 02:13:54 +03:00
WASRUSGEN
fb19d6afd4 CTYPES: detect contract type after scan, show contextual comment + highlight recommended deliverable 2026-05-26 02:02:50 +03:00
WASRUSGEN
bebc6bf463 Scan flow: upload step + scan animation 2026-05-26 01:16:43 +03:00
WASRUSGEN
a038b32f4f SVG logo from brandbook in hero and topbars 2026-05-25 23:06:07 +03:00
WASRUSGEN
d410b00cce Psychology-first pay screen pitches 2026-05-25 21:50:13 +03:00
WASRUSGEN
53602ee912 Psychology-first dialog: Elena as ally from first message
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 16:02:21 +03:00
WASRUSGEN
b847e0fab1 Marketing copy: psychology-first hero text
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 15:47:04 +03:00
WASRUSGEN
01a94c7ed2 Hero layout: logo top, photo middle, text bottom on mobile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 15:31:21 +03:00
WASRUSGEN
86487aa3ae Fix: add logos folder + mobile hero keeps photo
- logos/elena-photo.jpg, elena-scene-welcome.jpg — were missing on GH Pages
- Mobile hero: photo on top (240px), text below — not hidden
- logo-wasrusgen1-real.svg added

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 15:22:51 +03:00
WASRUSGEN
13560deb4f Responsive: mobile media queries + Telegram MiniApp support
- @media (max-width:600px): hero one-col, hide portrait,
  intake/deliverables no avatar indent, touch targets 52-56px,
  actbar stacks, next-step wraps, pay tighter padding
- TMA: telegram-web-app.js, tg.ready()/expand(), BackButton,
  safe-area-inset-bottom, .back-link hidden in TMA
- back buttons marked .back-link

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 15:15:51 +03:00
WASRUSGEN
f2433aa1ad Add mockup, oferta, privacy + sync tokens.css
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 14:49:37 +03:00