Skip to content

feat: UI/UX overhaul — design system, workspace sidebar, tool card enhancements#22

Merged
0xmrpeter merged 3 commits intoOpen-ACP:developfrom
lngdao:feat/ui-overhaul
Apr 6, 2026
Merged

feat: UI/UX overhaul — design system, workspace sidebar, tool card enhancements#22
0xmrpeter merged 3 commits intoOpen-ACP:developfrom
lngdao:feat/ui-overhaul

Conversation

@lngdao
Copy link
Copy Markdown
Contributor

@lngdao lngdao commented Apr 6, 2026

Summary

Complete UI/UX overhaul covering design system migration, workspace management, tool card interactions, and toast notifications.

Design System (shadcn/ui migration)

  • Migrated from legacy token system to shadcn/Tailwind v4 standard
  • 3-phase color token migration: inverted aliases → component migration → legacy removal
  • Typography system rewrite: rem-based font scale, Tailwind @apply utilities
  • Styles restructured to flat 4-file layout: index.css, theme.css, components.css, utilities.css
  • Added shadcn UI components: Button, Dialog, Select, Tabs, Switch, Tooltip, etc.
  • Cleaned ~30KB dead CSS, removed unused deps and components
  • Design system demo page at /ds-demo.html

Settings Dialog

  • New SettingsDialog with sidebar nav and content routing (replaces SettingsPanel)
  • Reusable SettingCard + SettingRow components
  • All pages (General, Agents, Appearance, Server, About) migrated to card layout

Workspace Sidebar

  • ID-based React keys (fixes duplicate key warnings)
  • Status dot badges: green (connected), red (error), grey (offline)
  • Right-click context menu: Copy path, Reconnect, Remove
  • Directory folder name for avatar initial

Tool Card UX

  • IN/OUT body toggles with AnimatePresence animation
  • Chevron indicator for expand/collapse state
  • Title truncated to single line with ellipsis
  • Expand-to-modal button on hover

Toast & Session

  • Sonner toast integration with close button
  • Session delete requires double-click confirmation
  • Auth header on health check, stale closure fix

Other

  • Updated app icons with new OpenACP logo
  • Component migration to shadcn patterns across all screens

Test plan

  • All screens render correctly (dark mode)
  • Workspace dot badges show correct status
  • Right-click workspace → context menu works
  • Tool card toggle + expand modal works
  • Session delete requires confirm click
  • Toast notifications appear with dismiss button
  • Settings dialog sidebar navigation works
  • Build passes: pnpm build

lngdao added 3 commits April 6, 2026 11:42
- Migrate from legacy token system to shadcn/Tailwind v4 standard
- 3-phase color token migration with typography system rewrite
- Restructure styles to flat 4-file layout
- Add shadcn UI components: Button, Dialog, Select, Tabs, Switch, etc.
- New SettingsDialog with sidebar nav replacing old SettingsPanel
- Reusable SettingCard + SettingRow components
- Design system demo page at /ds-demo.html
- Sonner toast replacing console.log stubs
- Workspace sidebar: ID-based keys, status dot badges, right-click context menu
- Tool card: toggle IN/OUT with animation, single-line title, expand-to-modal
- Session delete confirmation (double-click)
- Component migration to shadcn patterns across all screens
- Auth header on health check, stale closure fix in server resolution
@0xmrpeter 0xmrpeter merged commit ffa7b16 into Open-ACP:develop Apr 6, 2026
4 checks passed
lngdao added a commit to lngdao/OpenACP-App that referenced this pull request Apr 6, 2026
…hancements (Open-ACP#22)

Design System:
- shadcn/ui migration with Tailwind v4 color tokens and typography
- Flat 4-file CSS layout, new SettingsDialog with sidebar nav
- Design system demo page, updated app icons

Workspace Sidebar:
- Status dot badges (connected/error/offline), ID-based React keys
- Context menu: Copy path, Start/Stop server, Reconnect, Remove
- Auto-start server on clone, stop on remove

Chat & Tool Cards:
- Tool IN/OUT toggle with AnimatePresence animation + chevron
- Expand-to-modal for full output, tool title from tool_update events
- Thinking blocks: Markdown rendering, muted style, correct split across tools
- Copy button on assistant messages, Sonner toast notifications
- Session delete double-click confirmation

Infra:
- Auth header on health check, stale closure fix, invoke_cli error messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants