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

Remove Guided configuration #880

Merged
merged 3 commits into from
Dec 5, 2024
Merged

Remove Guided configuration #880

merged 3 commits into from
Dec 5, 2024

Conversation

ezio-melotti
Copy link
Collaborator

This PR removes the unused Guided configuration and default to the Custom configuration in the configuration wizard.

This was triggered by the issues described in:

Before these changes, the welcome page had to import the wizard store in order to set the configuration type (Guided or Custom) before redirecting to the configuration wizard. This also happened in a number of other places. With only one type of configuration (Custom), this is no longer needed, and the wizard store doesn't need to be imported earlier.

@ezio-melotti ezio-melotti added the refactoring Improve the code without altering behavior label Nov 30, 2024
@ezio-melotti ezio-melotti self-assigned this Nov 30, 2024
@ezio-melotti
Copy link
Collaborator Author

See also acb2f6f.

box-sizing:border-box;
overflow:hidden;
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I did some refactoring and cleaned up the CSS while I was at it.

@@ -77,7 +77,6 @@ to the entry screens to prevent this from popping up on repeat vistors.
<script>
import {storeToRefs} from 'pinia'
import {useDashboardStore} from '../../store/modules/DashboardStore'
import {useWizardStore} from '../../store/modules/WizardStore'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By removing the guided configuration and the activeConfigType needed to select the configuration type, we no longer need to import the wizard store in the Welcome screen.

@ezio-melotti ezio-melotti merged commit c7c0f24 into master Dec 5, 2024
1 check passed
@ezio-melotti ezio-melotti deleted the rm-guided-config branch December 5, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Improve the code without altering behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant