Skip to content

Documents analytics #11#6293

Merged
gsa-manish merged 6 commits intomainfrom
LG-5929-document-analytics-11
May 5, 2022
Merged

Documents analytics #11#6293
gsa-manish merged 6 commits intomainfrom
LG-5929-document-analytics-11

Conversation

@gsa-manish
Copy link
Contributor

No description provided.

@gsa-manish gsa-manish changed the title Lg 5929 document analytics 11 WIP: Lg 5929 document analytics 11 May 3, 2022
@gsa-manish gsa-manish changed the title WIP: Lg 5929 document analytics 11 WIP: Documents analytics #11 May 3, 2022
@gsa-manish gsa-manish force-pushed the LG-5929-document-analytics-11 branch 2 times, most recently from 83cfee6 to 53f3ee7 Compare May 3, 2022 17:01
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto for this blank line

Suggested change

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this seems a little off. I'll add a ticket in the backlog to revisit constants.

@gsa-manish gsa-manish force-pushed the LG-5929-document-analytics-11 branch 4 times, most recently from 5849a60 to cb71678 Compare May 3, 2022 18:42
changelog: Analytics, Doc auth, doc auth events for vendor, form, pii, final, and warning
@gsa-manish gsa-manish force-pushed the LG-5929-document-analytics-11 branch 4 times, most recently from d97b55d to 55c01fd Compare May 4, 2022 14:40
changelog: Analytics, Doc auth, doc auth events for vendor, form, pii, final, and warning
@gsa-manish gsa-manish force-pushed the LG-5929-document-analytics-11 branch from 55c01fd to 9b5e8f0 Compare May 4, 2022 14:53
zachmargolis and others added 2 commits May 4, 2022 11:15
* 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
@gsa-manish gsa-manish force-pushed the LG-5929-document-analytics-11 branch 2 times, most recently from 1b6006f to 1078c12 Compare May 4, 2022 20:06
@gsa-manish gsa-manish changed the title WIP: Documents analytics #11 Documents analytics #11 May 4, 2022
Comment on lines 33 to 36
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should probably be @flow.analytics.idv_doc_auth_warning_visisted(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, this has been updated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codeclimate is hinting that this is untested, which was my queue to look for the usage above of the string outside of specs

@gsa-manish gsa-manish force-pushed the LG-5929-document-analytics-11 branch from 1078c12 to 1132c8b Compare May 5, 2022 13:32
…ty-idp into LG-5929-document-analytics-11

changelog: Analytics, Doc auth, doc auth events for vendor, form, pii, final, and warning
@gsa-manish gsa-manish force-pushed the LG-5929-document-analytics-11 branch from 1132c8b to 6bf3585 Compare May 5, 2022 13:59
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address these last few comments, and then LGTM go ahead and merge

**client_response.to_h.merge(
client_image_metrics: image_metadata,
async: false,
flow_path: params[:flow_path],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did we remove flow_path here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

supernit... extra space

Suggested change
# 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,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's break these on to separate lines for consistency

Suggested change
remaining_attempts:, flow_path:, attempts: nil,
remaining_attempts:,
flow_path:,
attempts: nil,

@gsa-manish gsa-manish merged commit 7928b23 into main May 5, 2022
@gsa-manish gsa-manish deleted the LG-5929-document-analytics-11 branch May 5, 2022 15:47
peggles2 pushed a commit that referenced this pull request May 5, 2022
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants