Commit Graph

47 Commits

Author SHA1 Message Date
WASRUSGEN
c4f945f0d5 feat: wizard «Составить документ» — 3 шага, 8 типов, превью агентского договора 2026-05-28 11:23:49 +03:00
WASRUSGEN
269483ef4a feat: часы в сайдбаре, счётчик протокола, вкладка Переписка 2026-05-28 11:16:52 +03:00
WASRUSGEN
57dfde38ed risks: accordion expand — цитата из договора + исправленная формулировка + кнопка в протокол 2026-05-28 11:07:55 +03:00
WASRUSGEN
279afff27e case v2: риски (12 позиций), прогресс-шаги, загрузка документов 2026-05-28 10:55:34 +03:00
WASRUSGEN
abc6a813e7 case page: CRM redesign — header, next-step-v2, tabs (Обзор/Документы/История) 2026-05-28 10:49:53 +03:00
WASRUSGEN
4c67c6267c fix: filter bar - segmented control style, remove clutter 2026-05-28 10:35:47 +03:00
WASRUSGEN
0e943e7ed7 feat: CRM cabinet redesign
- Sidebar: sections (Обзор/Инструменты), icons, badge on Мои дела, Новый запрос button, user profile
- Main header: sticky bar with title + search + actions
- KPI cards: Всего / В работе / Срочных / Завершено (live from CT_DATA)
- Search filters table in real time
- Tab title updates in header on navigation
- Текущее дело hidden from sidebar until opened
2026-05-28 10:20:53 +03:00
WASRUSGEN
5a3bc12945 feat: Elena intake v2 - intent chips + voice input
- New greeting: lists all services, open-ended question
- 4 intent chips: Проверить / Составить / Оспорить / Доверенность
- Voice input via Web Speech API (ru-RU), mic pulse animation
- Keyword routing for free text (check vs create vs power)
- Creation flow: type selector -> Договор/Доверенность/Претензия/Другое
- Hidden mic if browser unsupported, permission error handling
2026-05-28 10:07:39 +03:00
WASRUSGEN
4647b5f7d5 fix: cases table - status = order state only (paid/wait/work/ready/done) 2026-05-28 00:33:23 +03:00
WASRUSGEN
0cc1225dc2 feat: cases list as sortable table with filters
- Filters: Все / Открытые / Закрытые / Высокий риск + Новый договор
- Single-line rows: name, type badge, date, risk chip, status, open arrow
- Sortable columns (click header = asc/desc)
- 5 demo cases incl 2 closed/archived
- Gantt removed from Мои дела (belongs to Сопровождение only)
2026-05-28 00:23:00 +03:00
WASRUSGEN
670543e1bd fix: Gantt v2 - done/active rows, accompaniment context, Elena note
- Done tasks: green bar + checkmark + strikethrough text
- Active tasks: highlighted row background
- Title renamed to 'Сопровождение договоров'
- Elena note explains the concept
- Ticker fully removed
2026-05-27 23:58:32 +03:00
WASRUSGEN
fbaaebcbfb remove: ticker strip fully removed 2026-05-27 13:23:37 +03:00
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
222ab40fcb oferta: add full bank requisites (Sberbank, r/s, BIK, k/s) 2026-05-26 20:22:27 +03:00
WASRUSGEN
434b803fdf oferta: fill OGRNIP 325784700271898 and INN 781909921730 2026-05-26 20:00:51 +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
abb2142540 Sample docs: neutral client style, ЗАЩИТА branding in footer only
All 4 sample documents redesigned — document belongs to client,
ЗАЩИТА attribution only in footer as "Подготовлено с использованием системы @wasrusgen1 | ЗАЩИТА"
2026-05-26 08:25:54 +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
WASRUSGEN
e8a5cecaff 05 токены: brand-cyan → brand-burgundy
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 10:26:09 +03:00
WASRUSGEN
00dfd41ebf 04 UI: юридический контент вместо RADAR
KPI: договора/риски/сроки; Таблица: реальные дела; Обложка: @wasrusgen1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 10:25:30 +03:00
WASRUSGEN
02eed0b260 ЗАЩИТА брендбук: первый коммит (брендбук, токены, логотип) 2026-05-25 00:15:56 +03:00