Skip to content

Conversation

@DayuanJiang
Copy link
Owner

Summary

  • Add save button in chat input area with download icon
  • Create SaveDialog component for filename input using shadcn Dialog
  • Export current diagram as .drawio file format
  • Support custom filename with default date-based name
  • Text auto-selects on focus for easy editing

Closes #53

Test plan

  • Click save button opens dialog with default filename
  • Enter custom filename and save downloads .drawio file
  • Saved file can be opened in draw.io desktop/web app
  • Cancel button closes dialog without saving
  • Press Enter to save quickly

- Add save button in chat input area with download icon
- Create SaveDialog component for filename input
- Export current diagram as .drawio file format
- Support custom filename with default timestamp-based name

Closes #53
@vercel
Copy link

vercel bot commented Dec 3, 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 3, 2025 0:02am

@DayuanJiang DayuanJiang merged commit 45f74df into main Dec 3, 2025
2 of 4 checks passed
@DayuanJiang DayuanJiang deleted the feat/save-diagram-to-file branch December 3, 2025 12:02
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.

How to save diagram?

2 participants