-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Add support for requiring a phone number for particular categories. #4520
Conversation
5e071f1
to
5cf129f
Compare
Codecov Report
@@ Coverage Diff @@
## cbd-jadu-reviewed #4520 +/- ##
=====================================================
+ Coverage 69.02% 70.23% +1.21%
=====================================================
Files 359 42 -317
Lines 27147 4952 -22195
Branches 4174 0 -4174
=====================================================
- Hits 18737 3478 -15259
+ Misses 7179 1474 -5705
+ Partials 1231 0 -1231
|
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.
Looks good, needs a bit more work for the logged out use.
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.
I think (though feel free to suggest otherwise) the default being hidden was preferable, but that's all, looks good :)
@@ -1283,14 +1293,23 @@ $.extend(fixmystreet.set_up, { | |||
|
|||
reporting_required_phone_email: function() { | |||
var fem = $('#form_email'); | |||
var fem_optional = $('#js-optional-email'); |
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.
Probably good to have this behaviour all here and self contained anyway :)
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.
Only the one query is all :)
76f67b0
to
419e9da
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.
Woo (note as tidying up staging, I force pushed cbd-jadu-reviewed to fix the thing I mentioned due to my review comment, so might need a rebase etc)
db2c993
to
431d991
Compare
Closes https://github.com/mysociety/societyworks/issues/3747