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

Open
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
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