feat(editor): ExportModal + TimeTravelModal + InfoPanel merge + fixes

UI redesign matching prototype (Ordinis (3) dump):
- ExportModal: format (CSV/JSON/Excel/SQL) + scope (all/filtered/selected) +
  column toggles + encoding/delimiter + preview filename per redesign line
  1059-1092. CSV uses backend mutation, JSON client-side from filtered rows,
  Excel/SQL disabled (backend pending).
- TimeTravelModal: full-page compare СЕЙЧАС vs ТОЧКА ВО ВРЕМЕНИ + quick
  presets (сейчас/неделя/месяц/год/при создании) + step toggle версия/день
  + slider + tabs (Что изменилось / Записи на момент / Структура и поля) +
  "Открыть как readonly" CTA. Replaces inline TimeTravelPicker.
- InfoPanel ← используют merge: rich rows с field path + active records
  count + onClose policy chip (BLOCK/WARN/CASCADE). Inline
  DictionaryDependentsPanel above records table removed (one source of truth).
- Sidebar logo: match redesign/ui-kit.html .brand SVG (outer ring + inner
  faded ring + orbit dot offset right cx=22.5). ORDINIS Tektur tracking 0.22em
  + MDM smaller mute 0.32em.
- Bg neutralized: #fbf8ee Earth cream → #faf9f5 warm neutral default
  (per user preference, Earth cream still described in comment как opt-in).
- WorkflowBanner: Case 1 Live (approvalRequired=false) returns null —
  permanent "Опубликовано" banner = noise, status already visible в
  InfoPanel scope/version/updatedAt. Banner показывается только когда
  есть actionable state.

Critical bug fixes:
- fix(CascadeConfirmDialog): infinite render loop "Maximum update depth
  exceeded". useEffect had cascadeMut (TanStack Query mutation wrapper) в
  deps — wrapper identity changes every render → effect fires → reset() →
  store update → render → loop. Extract stable `reset` reference перед
  useEffect. Симптомы у user: создание/редактирование записи не работали.
- fix(semantic-release): add missing peer dep
  conventional-changelog-conventionalcommits (9.3.1). semantic-release 22+
  больше не bundles preset. Без неё release job падал с
  "Cannot find module 'conventional-changelog-conventionalcommits'".
This commit is contained in:
Zimin A.N.
2026-05-11 19:01:57 +03:00
parent e15a3916bf
commit 5a2220d779
10 changed files with 1109 additions and 83 deletions
+8 -8
View File
@@ -14,18 +14,18 @@
/* === DESIGN TOKENS — Light theme (Earth, default :root) === */
:root {
/* Earthy light v2synced с redesign/ui-kit.html prototype.
* Page bg #fbf8ee warm cream (handoff design intent). Если жёлтый кажется
* слишком насыщенным — пользователь может переключить на claude-light
* (нейтральный warm white) через ThemeSwitch. */
/* Earthy light v3neutralized page bg per user preference.
* Прошлая версия #fbf8ee (handoff intent) казалась слишком жёлтой; теперь
* используем нейтральный warm white #faf9f5. Полную Earth cream версию
* можно вернуть через [data-theme="earth-cream"] (opt-in). */
--color-ink: #1a1714;
--color-ink-2: #52483d;
--color-mute: #8c8276;
--color-bg: #fbf8ee;
--color-bg: #faf9f5;
--color-surface: #ffffff;
--color-surface-2: #f4eedc;
--color-line: #e3dccb;
--color-line-2: #efe9d8;
--color-surface-2: #f5f3ec;
--color-line: #e6e1d4;
--color-line-2: #efeae0;
--color-navy: #3a2818;
--color-accent: #b05a2e;
--color-accent-bg: rgb(176 90 46 / 11%);