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

Add script selection Import/Export feature #453

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

e-salad
Copy link

@e-salad e-salad commented Nov 23, 2024

This PR adds script selection import/export functionality, as requested in #429.
This is essential for users who want to roll back to a previous setup, allowing them to load their configuration and export the reversion scripts for it.

What’s included:

  • Script selections can now be exported as JSON.
  • Added "Import" option in TheRecommendationSelector.
  • Save Selection Button.

This will probably need polishing

To improve:

  • Enhance validation for imported files.
  • Ensure all data is valid before saving.
  • Abstract the file input to something similar like the FileSaverDialog.ts for better maintainability.
  • Improve the SaveSelectionButton UI to ensure consistency across web | desktop behaviour.

screenshot

- Improve validation for configuration import
- Refactor SaveSelectionButton.vue implementation
- Add floppy-disk-gear icon for SaveSelectionButton
@undergroundwires undergroundwires force-pushed the master branch 2 times, most recently from 080047d to 2f8aaf4 Compare December 4, 2024 08:01
@undergroundwires undergroundwires force-pushed the master branch 2 times, most recently from 4dd8e11 to 64feb66 Compare December 12, 2024 12:40
@e-salad e-salad marked this pull request as draft December 16, 2024 04:00
@undergroundwires undergroundwires force-pushed the master branch 3 times, most recently from 25d0d37 to e6c52db Compare December 20, 2024 19:29
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.

1 participant