Commit Graph

19 Commits

Author SHA1 Message Date
dayuan.jiang
aa330f74b3 fix: Preserve state when resizing window to mobile size
Change mobile warning from unmounting components to showing an overlay.
This prevents losing diagram and chat state when window is resized.
2025-11-17 15:18:29 +09:00
dayuan.jiang
e53f77a2a6 feat: add show/hide chat panel with Ctrl+B shortcut
- Add toggle button in chat panel header
- Implement collapsed state with thin vertical strip
- Add Ctrl+B keyboard shortcut to toggle visibility
- Canvas expands to full width when chat is hidden
- Smooth 300ms transition animation
2025-11-15 12:09:32 +09:00
dayuan.jiang
93d02a8d44 feat: add mobile detection with desktop-only message
Add responsive detection to show a message prompting users to access the application from desktop or laptop when viewing on mobile devices (screen width < 768px)
2025-11-10 09:25:56 +09:00
dayuan.jiang
bc7ef5c5d4 refactor: Move DiagramProvider to RootLayout for improved context management 2025-03-27 08:24:17 +00:00
dayuan.jiang
008bb9d486 refactor: Simplify Home component layout by integrating DiagramPageLayout functionality directly 2025-03-27 08:17:54 +00:00
dayuan.jiang
09dc466b2a minor: simplify DiagramPageLayout structure by removing unnecessary divs 2025-03-26 06:43:27 +00:00
dayuan.jiang
5c00c00584 refactor: extract all states to diagram-context. 2025-03-26 00:30:00 +00:00
dayuan.jiang
bd6946a13c minor: fix the prompt 2025-03-25 10:56:08 +00:00
dayuan.jiang
5d152c66d5 fix: flash problem 2025-03-25 08:56:24 +00:00
dayuan.jiang
d2a630929b refactor: chat-example-panel.tsx 2025-03-25 02:24:12 +00:00
dayuan.jiang
cc5c06de2e fix: diagram history 2025-03-23 14:22:40 +00:00
dayuan.jiang
6819a92921 feat: implement diagram history functionality with history dialog in ChatInput and ChatPanel 2025-03-23 13:54:21 +00:00
dayuan.jiang
1978be09f4 refactor: remove unused components and clean up ChatPanel layout 2025-03-22 12:43:24 +00:00
dayuan.jiang
ec80a6c578 refactor: remove unused WebSearchToolUI component and update onFetchChart to return a Promise 2025-03-19 09:46:30 +00:00
dayuan.jiang
51ce74400d feat: add system message for flowchart assistance and improve message handling in chat API 2025-03-19 08:40:08 +00:00
dayuan.jiang
585c3bac1f feat: enhance chat functionality with flowchart tools integration and improved UI interactions 2025-03-19 08:16:44 +00:00
dayuan.jiang
5a11c32bc4 feat: add WebSearchToolUI component and input UI, integrate Radix UI scroll area 2025-03-19 07:20:22 +00:00
dayuan.jiang
10f9459627 refactor: change extractDiagramXML to synchronous function and improve error handling in the UI 2025-03-19 06:11:04 +00:00
dayuan.jiang
e26ef731e9 initialize project with Next.js, Tailwind CSS, and essential configurations 2025-03-19 06:04:06 +00:00