From 898932d5d778a531917f646df152d967d9d30d11 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Sat, 7 Mar 2026 14:55:24 +0300 Subject: [PATCH] Update changelog with reka-vueuse refactor --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86bf3ecc1..239f04b78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,12 @@ ### Improvements +- Refactor mobile drawer tabs to use reka-ui `TabsRoot`/`TabsList`/`TabsTrigger`/`TabsContent` instead of hand-rolled role/aria attributes +- Refactor inline rename to use element refs instead of `document.querySelector` — shared `useInlineRename` composable with generic type param, `cancel()` for Escape (discards instead of committing), ref-callback focus pattern +- Refactor layout width/height sizing dropdowns to use `AppSelect` — removes ~80 lines of manual dropdown state and `onClickOutside` handlers +- Add shared UI style primitives (`src/components/ui/`) with tailwind-variants: `menuContent`/`menuItem`/`menuSeparator`, `selectTrigger`/`selectContent`/`selectItem`, `uiButton`, `panelSurface` — reduces class duplication across menus, context menus, selects, and buttons +- Use `useBreakpoints` for canvas ruler visibility instead of manual `matchMedia` listener +- Use `useEventListener` for global error handlers in toast with idempotent guard - Split tools into domain files (read, create, modify, structure, variables, vector, analyze) — easier to navigate and extend - Replace inline type definitions with named types (`Color`, `Vector`, `SceneNode`) across the codebase - Split 3200-line `renderer.ts` into `packages/core/src/renderer/` with 10 focused files (scene, overlays, fills, strokes, shapes, effects, rulers, labels)