Skip to content

fix(ui): wire up File menu actions and add .dat/.svg export#8

Merged
aeronauty-flexcompute merged 4 commits intomainfrom
dev
Mar 19, 2026
Merged

fix(ui): wire up File menu actions and add .dat/.svg export#8
aeronauty-flexcompute merged 4 commits intomainfrom
dev

Conversation

@aeronauty-flexcompute
Copy link
Copy Markdown
Collaborator

Summary

  • File menu items (New NACA, Import .dat, Export .dat, Export SVG) were disabled placeholders — now fully functional
  • New NACA opens the Airfoil Library panel; Import .dat triggers a file picker using the existing parser
  • Export .dat downloads the current airfoil in standard Selig format; Export SVG downloads a vector graphic of the airfoil shape
  • Bumps version to 1.1.1-dev with changelog entry

Changelog & Docs

  • flexfoil-ui/src/lib/version.ts CHANGELOG updated
  • All user-visible changes have a changelog entry
  • New/changed docs pages added or updated in docs-site/docs/ — N/A, no new solver/API behavior
  • No stale or aspirational content remains in affected docs

Test plan

  • Open File > New NACA — should focus the Airfoil Library panel
  • Open File > Import .dat — should open a file picker; importing a valid .dat loads the airfoil
  • Open File > Export .dat — should download a .dat file with the current airfoil name and coordinates
  • Open File > Export SVG — should download an .svg of the airfoil shape
  • Verify the What's New dialog shows the 1.1.1-dev entry

Made with Cursor

The four File menu items were disabled placeholders. Now:
- New NACA opens the Airfoil Library panel
- Import .dat triggers a file picker using the existing parser
- Export .dat downloads the current airfoil in standard Selig format
- Export SVG downloads the airfoil shape as a vector graphic

Made-with: Cursor
@aeronauty-flexcompute aeronauty-flexcompute merged commit b47a54e into main Mar 19, 2026
1 check passed
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