Skip to content
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

Dev/config presets issue 8 #54

Merged
merged 3 commits into from
Feb 28, 2025
Merged

Dev/config presets issue 8 #54

merged 3 commits into from
Feb 28, 2025

Conversation

Dexus
Copy link
Member

@Dexus Dexus commented Feb 28, 2025

This pull request introduces a new feature for managing configuration presets, along with several UI and style improvements. The most important changes include adding preset management functionality, updating the UI to support the new feature, and making various style adjustments to enhance the user interface.

Preset Management Functionality - fixes #8 :

  • Added functions loadPresets, savePreset, and deletePreset in main.js to handle preset operations.
  • Introduced IPC handlers for loading, saving, and deleting presets in main.js.
  • Implemented preset management UI components and logic in main/index.html, including buttons and modal dialogs for saving, loading, and deleting presets. [1] [2]

UI and Style Improvements:

  • Updated main/index.html to exclude certain elements from event listeners to prevent conflicts with the new preset functionality. [1] [2] [3]
  • Made various style adjustments in main/style.css to improve the layout and appearance of the application, including changes to the sidebar, buttons, dropdowns, and table headers. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Other Changes:

  • Adjusted the mutation rate input range in main/index.html to allow for a wider range of values.
  • Commented out unused code related to the imports element in main/index.html.
  • Added additional structure to the partstools and sheetdialog sections in main/index.html for better layout consistency.

@Dexus Dexus added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Feb 28, 2025
@Dexus Dexus added this to the v1.5.0 milestone Feb 28, 2025
@Dexus Dexus merged commit 3e1fe76 into main Feb 28, 2025
5 checks passed
@Dexus Dexus deleted the dev/config-presets-issue-8 branch February 28, 2025 17:51
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.

💡 Settings presets
1 participant