-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Enhance the parameter control GUI to support saving the current parameters as a preset and loading them from a file.
Requirements
- Add option in the parameter control GUI to save the current parameters as a preset.
- Presets should be saved as plain text files using a custom file extension (suggested:
.pgsp
- Plant Growth Simulation Preset). - Implement a file filter in the load dialog to allow only
.pgsp
files to be selected. - Include validation logic when loading a preset file to ensure file integrity and correct format before applying parameters.
- Provide user feedback for invalid or corrupted preset files.
Acceptance Criteria
- Users can save the current parameters to a
.pgsp
file through the GUI. - Users can load parameters from a
.pgsp
file via the GUI. - Only
.pgsp
files are shown in the open dialog for loading presets. - An error message is displayed if an invalid or corrupted preset file is loaded.
Notes
- The
.pgsp
extension is suggested for clarity, but open to alternatives. - Validation should prevent partial or erroneous parameter application.
- Consider including version or checksum information in the preset file for future compatibility.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request