Uh oh!
There was an error while loading. Please reload this page.
Settings: new user row replaced by a modal - #23529
Conversation
kesselb
commented
Oct 16, 2020
/compile amend / |
kesselb
commented
Oct 16, 2020
I have the same issue from time to time. Usually fixed by rm -rf node_modules. Maybe not bad to use node 12.x. Super cool enhancement and much better then before 👍 |
c4a2556 to
3ad7608CompareSimounet
commented
Oct 16, 2020
I tried to clean my env but it's not working. I'm running Node v12.14.1. |
9580d81 to
71c6c9cCompareAndyXheli
commented
Oct 21, 2020
@jancborchardt What do you think about this? |
71c6c9c to
9d40928CompareSimounet
commented
Oct 22, 2020
kesselb
commented
Oct 22, 2020
cc @skjnldsv any idea why the form validation triggers on modal open? |
skjnldsv
commented
Oct 22, 2020
Probably a chaining events. Make sure you use an event stop on the button |
Uh oh!
There was an error while loading. Please reload this page.
kesselb
commented
Oct 22, 2020
Or it's probably the default behaviour 🤔 https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_validation Each element with required get the :invalid state. |
skjnldsv
commented
Oct 22, 2020
Ah, I misunderstod "form validation". I understood that as "submit". :) |
9d40928 to
901c829CompareSimounet
commented
Oct 22, 2020
I get what was bothering me. Previous style override the red border so I put that here. It's not perfect but it's better than having red border without touching anything. |
AndyXheli
commented
Oct 22, 2020
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| .modal__content::v-deep .multiselect__single { | ||
| text-align: left; | ||
| box-sizing: border-box; | ||
| } | ||
| .modal__content::v-deep .multiselect__content-wrapper { | ||
| box-sizing: border-box; | ||
| } |
There was a problem hiding this comment.
Seems like an odd change, why was it needed?
There was a problem hiding this comment.
Because of the default border of 1px on each side. Without changing the box sizing, I have 2 extra pixels.
skjnldsv
left a comment
There was a problem hiding this comment.
A few comments. Please abuse comments on your css code, especially v-deeps. Otherwise we don't know why you had to do it and maintaining is complicated :)
Same for other functions, it's a good habit to put more comments. It will get stripped for the build anyway, file size doesn't matter here.
Simounet
commented
Oct 23, 2020
Ahah, some people love comments where some others don't. I will remember that they are appreciated here. :) |
901c829 to
d29f986Compare
This comment has been minimized.
This comment has been minimized.
e44c87f to
075201bCompareAndyXheli
commented
Feb 26, 2021
@Simounet is there still an issue with the code ? |
skjnldsv
commented
Mar 2, 2021
I think the acceptance test fail is valid. |
julien-nc
left a comment
There was a problem hiding this comment.
Code looks sane, the modal is much nicer!
075201b to
220fd3fCompareSimounet
commented
Mar 2, 2021
I rebased and push. Just waiting for the CI. |
danxuliu
commented
Mar 8, 2021
Sorry a lot for the delay. #25991 updates the browser used in the acceptance tests to a recent version. With that recent version the dialog works as expected :-) However, turns out that the header test was wrong! It was trying to add the user "user1", but that user is already added when installing and configuring the server, so it is already added in all tests. Thus, even if the dialog worked properly, the test would also fail because adding the user would fail, the dialog would not be closed, and the following steps would fail. The header test is fixed by #25990 Due to all that this pull request should be rebased on master once #25990 and #25991 are both merged and everything should then work (I have also added a fixup commit to this pull request to do a minor adjustment). |
Simounet
commented
Mar 8, 2021
I can't wait to see this PR merged! Thanks for the reply. I don't get why you removed my test to check if the modal is not here. Is it somewhere else on your PRs? |
kesselb
commented
Mar 16, 2021
Hi @Simounet, mind to rebase your branch another time? |
66a1241 to
fcba309Comparefcba309 to
e01bdd7Comparedanxuliu
commented
Apr 21, 2021
#25991 has been finally merged, so I took the liberty to rebase this pull request to latest master :-)
Sorry, I missed the question. I removed the check because I think that it is not strictly needed in that scenario. When possible the acceptance tests should not go into specific details like whether a modal is used or not, and in this case it should be enough to just verify that the user was indeed added to the list to continue. Of course it could happen that the modal was not properly closed, so a check for that could still be added in the scenarios related to user creation, or inside the step |
AndyXheli
commented
Apr 21, 2021
this is finally happening 🙏🏻😁 super excited |
Signed-off-by: Simounet <contact@simounet.net>
e01bdd7 to
45c3b2aCompareAll tests passed! Well done!! 🎉 🚀 |
Simounet
commented
Apr 21, 2021
Glad to see this finally merged! Thank you everyone for your support in my first real PR on this amazing piece of software. |
AndyXheli
commented
Apr 21, 2021
Thank you so much brother for making this happen. Definitely will 😁 have a nice day. |

Hi there,
I know that I have to commit the compiled files but I need some help here.
make watch-jschanges files without me touching anything.Another issue is that on modal opening, the HTML validation displays error on password and mail inputs. Did I miss something here because it wasn't an issue before.
Here is a screenshot of the result:

Linked to #23397.
Have a good night and stay safe.