Skip to content

Conversation

@brainbicycle
Copy link
Contributor

@brainbicycle brainbicycle commented Dec 5, 2025

This PR resolves DIAM-213

Description

Adds an auth screen event to fix issues with unreliable auth analytics.

Should merge this first and use the value from cohesion:
artsy/cohesion#666 😈

PR Checklist

  • I have tested my changes on the following platforms:
    • Android.
    • iOS.
  • I hid my changes behind a feature flag, or they don't need one.
  • I have included screenshots or videos at least on Android, or I have not changed the UI.
  • I have added tests, or my changes don't require any.
  • I added an app state migration, or my changes do not require one.
  • I have documented any follow-up work that this PR will require, or it does not require any.
  • I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

  • I would like at least one of the reviewers to run this PR on the simulator or device.
Changelog updates

Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

  • add auth screen analytics event - brian

Need help with something? Have a look at our docs, or get in touch with us.

@brainbicycle brainbicycle requested a review from a team December 5, 2025 01:36
@brainbicycle brainbicycle self-assigned this Dec 5, 2025

useEffect(() => {
tracking.authImpression()
tracking.authModalScreenView()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

wrapping with cohesion provider oddly seemed to affect performance, since we already have this just added it here.

araujobarret
araujobarret previously approved these changes Dec 5, 2025
gkartalis
gkartalis previously approved these changes Dec 5, 2025
dariakoko
dariakoko previously approved these changes Dec 5, 2025
Copy link
Contributor

@dariakoko dariakoko left a comment

Choose a reason for hiding this comment

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

LGTM!
I see cohesion PR has just been release, let's update cohesion version and use the ownerType.authModal

Copy link
Member

@MounirDhahri MounirDhahri left a comment

Choose a reason for hiding this comment

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

LGTM, apart from a few minor comments

</Flex>
</MotiView>
</Box>
// </KeyboardAvoidingView>
Copy link
Member

Choose a reason for hiding this comment

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

👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

just a commented out component i removed

@artsy artsy deleted a comment from ArtsyOpenSource Dec 5, 2025
@brainbicycle brainbicycle force-pushed the brian/auth-screen-tracking branch from e9d99a5 to 55c14e0 Compare December 5, 2025 14:10
@brainbicycle brainbicycle added the Squash On Green A label to indicate that Peril should squash-merge this PR when all statuses are green label Dec 5, 2025
@ArtsyOpenSource
Copy link
Contributor

This PR contains the following changes:

  • Dev changes (add auth screen analytics event - brian - brainbicycle)

Generated by 🚫 dangerJS against 55c14e0

@artsy-peril artsy-peril bot merged commit d843b40 into main Dec 5, 2025
10 checks passed
@artsy-peril artsy-peril bot deleted the brian/auth-screen-tracking branch December 5, 2025 14:37
araujobarret pushed a commit that referenced this pull request Dec 10, 2025
* add authModal screen tracking - untested

* useEffect approach to avoid render issues

* use string from cohesion

* update cohesion to fix types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Jira Synced Squash On Green A label to indicate that Peril should squash-merge this PR when all statuses are green

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants