diff --git a/docs/design-system-update-instructions.md b/docs/design-system-update-instructions.md index ee2a2153..d25813da 100644 --- a/docs/design-system-update-instructions.md +++ b/docs/design-system-update-instructions.md @@ -1,122 +1,11 @@ # Design System Update Instructions -These changes are needed in `@cameleer/design-system` to replace workarounds in cameleer3-server's UI. +Status: Both changes below were implemented in `@cameleer/design-system` v0.1.19 and consumed by cameleer3-server. -## 1. Sidebar: Add `onNavigate` callback prop (HIGH PRIORITY) +## 1. Sidebar: `onNavigate` callback prop — DONE (v0.1.19) -### Problem +Sidebar now accepts `onNavigate?: (path: string) => void`. When provided, sidebar calls `onNavigate(path)` instead of using internal `` navigation. The server UI translates paths to its own URL structure. -The Sidebar component navigates internally using React Router `` components with hardcoded paths (`/apps/:appId`, `/apps/:appId/:routeId`, `/agents/:appId/:instanceId`). The consuming app (cameleer3-server) now uses a different URL structure (`/exchanges/:appId`, `/runtime/:appId/:instanceId`) and needs to intercept and re-route sidebar navigation. +## 2. DataTable: `fillHeight` prop — DONE (v0.1.19) -The current workaround wraps Sidebar in a `