Skip to content

LG-10418: Add analytics tracking for "You will also need" IdV accordion on Sign In page#9018

Merged
jmdembe merged 8 commits intomainfrom
jd-LG-10418-idv-accordion-logging
Aug 18, 2023
Merged

LG-10418: Add analytics tracking for "You will also need" IdV accordion on Sign In page#9018
jmdembe merged 8 commits intomainfrom
jd-LG-10418-idv-accordion-logging

Conversation

@jmdembe
Copy link
Contributor

@jmdembe jmdembe commented Aug 16, 2023

🎫 Ticket

LG-10418: Add analytics tracking for "You will also need" IdV accordion on Sign In page

🛠 Summary of changes

This PR adds analytics tracking for the "You will also need" accordion on the sign in page, specifically if the user requires identity verification

@jmdembe jmdembe requested a review from a team August 16, 2023 20:08
# In rare circumstances, these writes can clobber other, more important writes.
before_action :skip_session_commit

# Please try to keep this list alphabetical as well!
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This might be an opportunity to script this?

Copy link
Contributor

Choose a reason for hiding this comment

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

We could consider adding a controller spec to check that it's sorted?

e.g.

expect(described_class::EVENT_MAP.keys).to eq(described_class::EVENT_MAP.keys.sort)

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

LGTM

# In rare circumstances, these writes can clobber other, more important writes.
before_action :skip_session_commit

# Please try to keep this list alphabetical as well!
Copy link
Contributor

Choose a reason for hiding this comment

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

We could consider adding a controller spec to check that it's sorted?

e.g.

expect(described_class::EVENT_MAP.keys).to eq(described_class::EVENT_MAP.keys.sort)

@jmdembe jmdembe merged commit df9fd75 into main Aug 18, 2023
@jmdembe jmdembe deleted the jd-LG-10418-idv-accordion-logging branch August 18, 2023 14:35
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.

3 participants