Skip to content

Conversation

@DayuanJiang
Copy link
Owner

Summary

  • Add toggle button in chat input area to switch between minimal and sketch draw.io themes
  • Show warning dialog before switching (clears messages, diagram, and history)
  • Persist theme selection in localStorage
  • Default theme is minimal (hides shapes sidebar)

Changes

  • app/page.tsx: Add drawioUi state with localStorage persistence
  • components/chat-panel.tsx: Pass drawioUi props through to ChatInput
  • components/chat-input.tsx: Add theme toggle button with confirmation dialog

- Add toggle button in chat input area to switch between min and sketch themes
- Show warning dialog before switching (clears messages and diagram)
- Persist theme selection in localStorage
- Default theme is minimal (hides shapes sidebar)
@DayuanJiang DayuanJiang merged commit 3f35c52 into main Dec 5, 2025
3 of 4 checks passed
@vercel
Copy link

vercel bot commented Dec 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
next-ai-draw-io Building Building Preview Comment Dec 5, 2025 2:10pm

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