Skip to content

UI and Save Management improvements#16

Closed
JaviLendi wants to merge 3 commits into
mainfrom
VLMPy
Closed

UI and Save Management improvements#16
JaviLendi wants to merge 3 commits into
mainfrom
VLMPy

Conversation

@JaviLendi
Copy link
Copy Markdown
Owner

This pull request introduces several enhancements and fixes across the VLM application, focusing on state management, user interface improvements, and internationalization support. The most notable changes are the addition of a modern language selector with Google Translate integration, improved VLM state saving and loading mechanisms, and significant CSS updates for better usability and accessibility.

UI Enhancements:

  • Updated CSS to support the new language selector, including responsive styles, button states, and flag icons for supported languages. (src/vlm/static/css/style.css)

VLM State Management Improvements:

  • Improved VLM state saving to include timestamped filenames for computed results, ensuring unique state files and better traceability. (src/vlm/app.py)
  • Refactored the VLM state loading endpoint to accept uploaded state files, update session data, and return relevant aerodynamic parameters after loading. (src/vlm/app.py)

Styling and Usability Updates:

  • Refined button styles for consistency and accessibility, including hover effects, padding, and font size adjustments. (src/vlm/static/css/style.css) [1] [2]
  • Added new CSS variables and styles for info pop-ups, settings panels, and configuration descriptions, enhancing the application's look and feel. (src/vlm/static/css/style.css) [1] [2] [3]

Configuration and Data Updates:

  • Updated cached plane variables and added a new airfoil configuration file for improved data management and reproducibility. (src/vlm/data/cache_plane_variables.txt, src/vlm/data/saved_configs/airfoil_hgj.json) [1] [2]

Miscellaneous:

  • Minor code cleanup and import additions in src/vlm/app.py.

Introduces a floating auto-translate widget using Google Translate for supported languages. Updates the landing page (welcome.html) content and labels from Spanish to English, modifies CSS for config description styling, and updates the main app entry point to use Flask's app.run. Also adds new airfoil config and state files, and updates cached plane variables.
Introduces info popups for form sections in wing.html to improve user guidance. Updates results.html and airfoil.html to streamline button groups and messaging. Refactors VLM state loading in app.py to support file uploads and session updates, and adds timestamped state saving. Minor UI and configuration management improvements across templates and styles.
@JaviLendi JaviLendi added the enhancement New feature or request label Nov 6, 2025
@JaviLendi JaviLendi closed this Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant