You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Development server (ALWAYS use for testing UI changes):**
44
+
```bash
45
+
bun run dev # Start dev server with hot reload (http://localhost:3000)
46
+
```
47
+
**IMPORTANT:** Use `bun run dev` at CCS root level for always up-to-date code. Do NOT use `ccs config` during development as it uses the globally installed (outdated) version.
48
+
43
49
## UI Quality Gates (React Dashboard)
44
50
45
51
**The ui/ directory has IDENTICAL quality gates to the main project.**
- ✅ **Auto-formatting**: 31 UI files auto-formatted for consistent styling.
593
+
- ✅ **Fast Refresh Exports**: Resolved `react-refresh/only-export-components` by extracting `buttonVariants`, `useSidebar`, and `useWebSocketContext` to separate files.
594
+
- ✅ **React Hooks Issues**: Fixed `react-hooks/purity` (`Math.random()` in `useMemo` for `sidebar.tsx`) and `react-hooks/set-state-in-effect` (`use-theme.ts`, `settings.tsx`).
595
+
- ✅ **useWebSocket Hook Restructure**: Addressed `react-hooks/immutability` errors and dependency array warnings in `use-websocket.ts`.
596
+
- ✅ **TypeScript Strict Mode**: Implemented null-check for `document.getElementById('root')` in `src/main.tsx` for strict mode compliance.
597
+
- ✅ **Duplicate Directory Removal**: Cleaned up extraneous `ui/@/` directory.
591
598
- ✅ **CLIProxy Card Padding**: Removed excessive padding from CLIProxy cards for better visual integration.
592
-
- ✅ **CLIProxy Dashboard Layout**: Improved overall layout and styling of the CLIProxy dashboard for enhanced user experience.
593
-
- ✅ **Dropdown Styling**: Refined dropdown component styling for consistency and readability.
599
+
- ✅ **CLIProxy Dashboard Layout**: Improved overall layout and styling of the CLIProxy dashboard.
0 commit comments