-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implement #7 import/export of nodes #67
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This basically works functionality wise but would appreciate some input when it comes to UI/UX with the modal etc. |
really nice work! i'll clean this up today — excited to get this out. |
Hi - sorry if this is a bother, but I'd love to see this get merged if someone has the capacity to do so! I use Flux regularly and would like to share trees with others. Sharing GPT prompts is so helpful for teammates or just the general public. In particular, my use case is that I am learning Python w/ GPT's assistance, and I would like to export my Flux trees so that I can easily embed them into a personal blog about what I'm learning and building. Understand you're very busy! Thanks for the great tool! |
Checklist
fix #7
PR-Codex overview
This PR adds an ExportModal component for importing and exporting data, including logic for adjusting node positions to avoid overlapping when importing. It also includes minor changes to App.tsx and NavigationBar.tsx.
Detailed summary
ExportModal
componentgetExportData
andimportData
functions toApp.tsx
nodesOverlap
andadjustPosition
functions toApp.tsx
adjustPositionImportedNodes
function toApp.tsx
exportModalOpen
prop toNavigationBar.tsx
App.tsx