-
Notifications
You must be signed in to change notification settings - Fork 365
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
Join contest with current account #1191
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1191 +/- ##
==========================================
- Coverage 63.56% 63.38% -0.19%
==========================================
Files 233 233
Lines 17117 17139 +22
==========================================
- Hits 10881 10864 -17
- Misses 6236 6275 +39
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Sorry for the delay!
Overall the changes look good and work fine. Please see some initial comments below.
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.
Thanks! The changes look very good. I appreciate the attention to detail 🙂
I tested this form in various scenarios, and it works fine. HTML validation also passes.
Please see some small remaining comments below.
There are 2 tabs, one for creating new user and one for register with an existing account. Note that the register page sould be scrollable because of the long form inside it. So it can not use login_box class.
The previous method had 2 different forms but the new method has a single form and just disables extra fields if they're unused
I applied the above suggestions and revised translatable strings in c0b9978. Everything looks good now 🙂 I'll merge this in a few days if there are no further comments. |
Merging. |
* Update user interface to support joining to contests There are 2 tabs, one for creating new user and one for register with an existing account. Note that the register page sould be scrollable because of the long form inside it. So it can not use login_box class. * Implement logic of join contest without user creation * Add contributor's name and copyright * Check participations only when joining a contest * Disable and hide register fields when joining to contest The previous method had 2 different forms but the new method has a single form and just disables extra fields if they're unused * Clear field errors after each tab switch * Small updates Co-authored-by: Andrey Vihrov <andrey.vihrov@gmail.com>
I've implemented this feature based on the #1187 discussions.
However it's my first serious contribution to cms, so I'll be pleased if you guide me in case I've done anything wrong or unclean.