-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
Startup Wizard - Addition of Startup Wizard #284
Conversation
camc314
commented
Nov 15, 2020
•
edited
Loading
edited
- Closes Setup wizard #269
- Left to do. Add ability to add and configure libraries in the wizard
For this step, keep in mind the mid-term plan is to remove that step from the wizard and replace it with 2 steps of plugin installs: one for features and one for providers. So I'm not sure if it's worth spending much time on adding that here :) |
Wouldn't it be better to have the add libraries step, then based on the type of libraries have a step for adding the relevant plugins (e.g. MusicBrainz for music...) |
We want the providers to be there before the library creation (otherwise scan starts and the user has to go edit the libraries) and the server will require a restart to load the plugins. So the idea is to install the plugins, then restart and, finally, gently onboard them towards adding libraries. |
5e8bdac
to
d047056
Compare
@camc314 What's the status on this? Could we merge it without the library creation, then improve it later? |
649bb1f
to
ec500f4
Compare
I've removed library creation. I think it is good enough for now. |
Brand new server, I seem to be unable to create the admin account, so I can't get further than that for testing. Some early things:
The traceback I get on the admin account is the following:
|
Adding
Agreed, but couldn't we have two width for these? The horizontal one won't work on mobile anyway, so having it become vertical on, say, But this is not blocking at all, we can look at it in further PRs, so no worries.
I was thinking of removing the
Hm, I was thing we had that in the startup, but I might have been mistaken. Seems like the setting I'm thinking about is client-side only on old web. Not needed now, but a potential future improvement for this would be to mirror the selected language here to the user preferences for the client's display language (And same for the locale).
For sure, but with the narrower form (keeping the stepper as-is), this would be doable and would look more in sync with the other pages. Again, not blocking though, we can mess with that at a later date.
Thanks, I'll re-test :) |
The wizard works perfectly now 👍 Gonna review the code later today, once I have some free time 😃 One issue I could see during the test is the |
9a5e62b
to
7e4a2c4
Compare
I've fixed making the steps editable. The
Updated, it looks better now the text prop is gone
On smaller screens, the v-stepper hides the section titles Ah I see what you mean, without dev tools open it is very wide lol. Should be a bit better now. |
components/wizard/WizardMetadata.vue
Outdated
} | ||
}); | ||
|
||
this.pushSnackbarMessage({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
<v-container fill-height> | ||
<v-row align="center" justify="center"> | ||
<v-col cols="12" sm="12" md="12" xl="8"> | ||
<h1 class="text-h4 mb-6 text-center">{{ heading }}</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we should have a header here.
Technically, the stepper already has the title. By making the stepper vertical on small screen, we can keep the headers visible and not need this.
7e4a2c4
to
9c05297
Compare
Codecov Report
@@ Coverage Diff @@
## master #284 +/- ##
=========================================
- Coverage 5.60% 5.40% -0.20%
=========================================
Files 97 102 +5
Lines 2696 2793 +97
Branches 424 429 +5
=========================================
Hits 151 151
- Misses 2538 2635 +97
Partials 7 7
Continue to review full report at Codecov.
|
9c05297
to
5711023
Compare
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
validate(value, { target }) { | ||
return value === target; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This ts-comment is not ideal, but this is what the docs show to do to ensure that passwords are equal
https://logaretm.github.io/vee-validate/advanced/cross-field-validation.html#targeting-other-fields
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have added a comment there with that before merging
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀