-
Notifications
You must be signed in to change notification settings - Fork 233
Separate Import Profile modal from Profiles.vue #1384
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
Conversation
e0d1e5a
to
97a1264
Compare
76412b4
to
ad6178f
Compare
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.
Didn't review the code yet since there's some issues that need fixing:
- Import from code button seems to do nothing
- If I cancel the file selection dialog while importing from a file, the modal just stays closed (IDK how this worked before). Clicking the import profile button then does nothing
- Leaving and returning to the profile view then instantly opens the modal again
- When updating a profile and selecting the profile X from the dropdown, the button still says "Update profile: Y"
- At least sometimes when selecting the profile from the dropdown, error is logged in console:
[vuex] unknown mutation type: profiles/setSelectedProfile
. I assume the import doesn't then do what it's expected
5424ee9
to
022597d
Compare
As discussed in the daily:
|
022597d
to
d49b528
Compare
Abovementioned usability issue fixed ✅ |
@VilppeRiskidev an awkwardly handled niche case:
I don't remember if this worked before or if it's caused by the refactoring. Maybe check if it can be fixed quickly either way? |
d49b528
to
e389f20
Compare
This now works similarly to how it used to work (= I fixed the breaking modal). May not be perfect UX, as it still creates the profile even if the import wasn't successful. |
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.
Aforementioned issue is fixed. There's a minor niche issue which I think has existed before the changes here so fixing it is outside of the current scope.
97a1264
to
e6f6b65
Compare
e389f20
to
b3c549b
Compare
Force pushed to fix merge conflicts. |
No description provided.