Conversation
83cfee6 to
53f3ee7
Compare
app/services/analytics_events.rb
Outdated
There was a problem hiding this comment.
ditto for this blank line
There was a problem hiding this comment.
Hmmmm this is an interesting case, it makes me rethink our position about constants... we should file a ticket to see if we can clean this up the new world of documented methods
There was a problem hiding this comment.
Yes, this seems a little off. I'll add a ticket in the backlog to revisit constants.
5849a60 to
cb71678
Compare
changelog: Analytics, Doc auth, doc auth events for vendor, form, pii, final, and warning
d97b55d to
55c01fd
Compare
changelog: Analytics, Doc auth, doc auth events for vendor, form, pii, final, and warning
55c01fd to
9b5e8f0
Compare
* Remove @identity.idp.event_name - As of #6294, having it will cause build breakage since it's an unknown tag * Remove blank lines * Add clearer comments for each event
changelog: Analytics, Doc auth, doc auth events for vendor, form, pii, final, and warning
1b6006f to
1078c12
Compare
There was a problem hiding this comment.
this should probably be @flow.analytics.idv_doc_auth_warning_visisted(
There was a problem hiding this comment.
Nice catch, this has been updated.
app/services/analytics_events.rb
Outdated
There was a problem hiding this comment.
codeclimate is hinting that this is untested, which was my queue to look for the usage above of the string outside of specs
1078c12 to
1132c8b
Compare
…ty-idp into LG-5929-document-analytics-11 changelog: Analytics, Doc auth, doc auth events for vendor, form, pii, final, and warning
1132c8b to
6bf3585
Compare
| **client_response.to_h.merge( | ||
| client_image_metrics: image_metadata, | ||
| async: false, | ||
| flow_path: params[:flow_path], |
There was a problem hiding this comment.
why did we remove flow_path here?
There was a problem hiding this comment.
I believe we need to keep it/bring it back otherwise we lose data
| # @param [Integer] remaining_attempts | ||
| # @param [String] user_id | ||
| # @param [String] flow_path | ||
| # The document capture image uploaded was locally validated during the IDV process |
There was a problem hiding this comment.
supernit... extra space
| # The document capture image uploaded was locally validated during the IDV process | |
| # The document capture image uploaded was locally validated during the IDV process |
| def idv_doc_auth_submitted_image_upload_form( | ||
| success:, | ||
| errors:, | ||
| remaining_attempts:, flow_path:, attempts: nil, |
There was a problem hiding this comment.
let's break these on to separate lines for consistency
| remaining_attempts:, flow_path:, attempts: nil, | |
| remaining_attempts:, | |
| flow_path:, | |
| attempts: nil, |
* LG-5929-document-analytics-11 * Patch: analytics events 11 (#6303) * Remove @identity.idp.event_name - As of #6294, having it will cause build breakage since it's an unknown tag * Remove blank lines * Add clearer comments for each event Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
No description provided.