Skip to content
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

Arc 2274 analytics for spa add events #2281

Merged
merged 15 commits into from
Jul 26, 2023

Conversation

gxueatlassian
Copy link
Contributor

What's in this PR?

  1. Send analytics events for various buttons
  2. Refactor some of the routes

Why

  1. Send analytics

Added feature flags

Affected issues
ARC-2274

How has this been tested?

Whats Next?

@gxueatlassian gxueatlassian requested a review from a team as a code owner July 26, 2023 04:32
@@ -96,14 +96,6 @@
"principals": [],
"allowed": true
},
{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've change to use the /public/assets to load those svgs, as those are assets from public folder, it make more sense to name it like that.

krazziekay
krazziekay previously approved these changes Jul 26, 2023
Copy link
Collaborator

@krazziekay krazziekay left a comment

Choose a reason for hiding this comment

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

Small nits, not much of an issue though.


try {

const jwtToken: string = await new Promise((res) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we reuse the getHeaders from axiosInstance? Maybe give it a different name like getAtlassianJWT.

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.

spa/src/analytics/sox-analytics-client.ts Outdated Show resolved Hide resolved
src/routes/spa/spa-router.ts Outdated Show resolved Hide resolved
krazziekay
krazziekay previously approved these changes Jul 26, 2023
@gxueatlassian gxueatlassian enabled auto-merge (squash) July 26, 2023 05:12
@gxueatlassian gxueatlassian merged commit dfb93ab into main Jul 26, 2023
3 of 4 checks passed
@gxueatlassian gxueatlassian deleted the ARC-2274-analytics-for-spa--add-events branch July 26, 2023 06:40
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