Skip to content

feat: Enable some Amplitude autocapture events #3731

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

Merged
merged 4 commits into from
Feb 13, 2025

Conversation

spalmurray-codecov
Copy link
Contributor

Enables Amplitude autocapture for attribution, sessions, and page views.

@spalmurray-codecov spalmurray-codecov marked this pull request as ready for review February 12, 2025 19:34
@codecov-staging
Copy link

codecov-staging bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3731   +/-   ##
=======================================
  Coverage   98.84%   98.84%           
=======================================
  Files         826      826           
  Lines       14867    14877   +10     
  Branches     4229     4222    -7     
=======================================
+ Hits        14695    14705   +10     
  Misses        166      166           
  Partials        6        6           
Files with missing lines Coverage Δ
src/services/events/__mocks__/events.ts 100.00% <ø> (ø)
src/services/events/amplitude/amplitude.ts 100.00% <100.00%> (ø)
src/services/events/events.ts 100.00% <100.00%> (ø)
src/services/events/types.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (ø)
Pages 98.51% <ø> (ø)
Services 99.24% <100.00%> (+<0.01%) ⬆️
Shared 99.37% <ø> (ø)
UI 99.07% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77d59ae...c6850eb. Read the comment docs.

Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.84%. Comparing base (77d59ae) to head (c6850eb).
Report is 5 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3731   +/-   ##
=======================================
  Coverage   98.84%   98.84%           
=======================================
  Files         826      826           
  Lines       14867    14877   +10     
  Branches     4229     4222    -7     
=======================================
+ Hits        14695    14705   +10     
  Misses        166      166           
  Partials        6        6           
Files with missing lines Coverage Δ
src/services/events/__mocks__/events.ts 100.00% <ø> (ø)
src/services/events/amplitude/amplitude.ts 100.00% <100.00%> (ø)
src/services/events/events.ts 100.00% <100.00%> (ø)
src/services/events/types.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (ø)
Pages 98.51% <ø> (ø)
Services 99.24% <100.00%> (+<0.01%) ⬆️
Shared 99.37% <ø> (ø)
UI 99.07% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77d59ae...c6850eb. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.84%. Comparing base (77d59ae) to head (c6850eb).
Report is 5 commits behind head on main.

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3731   +/-   ##
=======================================
  Coverage   98.84%   98.84%           
=======================================
  Files         826      826           
  Lines       14867    14877   +10     
  Branches     4221     4222    +1     
=======================================
+ Hits        14695    14705   +10     
  Misses        166      166           
  Partials        6        6           
Files with missing lines Coverage Δ
src/services/events/__mocks__/events.ts 100.00% <ø> (ø)
src/services/events/amplitude/amplitude.ts 100.00% <100.00%> (ø)
src/services/events/events.ts 100.00% <100.00%> (ø)
src/services/events/types.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (ø)
Pages 98.51% <ø> (ø)
Services 99.24% <100.00%> (+<0.01%) ⬆️
Shared 99.37% <ø> (ø)
UI 99.07% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77d59ae...c6850eb. Read the comment docs.

Copy link

codecov-public-qa bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.84%. Comparing base (77d59ae) to head (c6850eb).
Report is 5 commits behind head on main.

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3731   +/-   ##
=======================================
  Coverage   98.84%   98.84%           
=======================================
  Files         826      826           
  Lines       14867    14877   +10     
  Branches     4229     4230    +1     
=======================================
+ Hits        14695    14705   +10     
  Misses        166      166           
  Partials        6        6           
Files with missing lines Coverage Δ
src/services/events/__mocks__/events.ts 100.00% <ø> (ø)
src/services/events/amplitude/amplitude.ts 100.00% <100.00%> (ø)
src/services/events/events.ts 100.00% <100.00%> (ø)
src/services/events/types.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (ø)
Pages 98.51% <ø> (ø)
Services 99.24% <100.00%> (+<0.01%) ⬆️
Shared 99.37% <ø> (ø)
UI 99.07% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77d59ae...c6850eb. Read the comment docs.

@spalmurray-codecov spalmurray-codecov force-pushed the spalmurray/amplitude-autocapture branch from ad3a826 to c06cea9 Compare February 13, 2025 13:08
@codecov-staging
Copy link

codecov-staging bot commented Feb 13, 2025

Bundle Report

Changes will increase total bundle size by 1.05kB (0.01%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-staging-system 6.26MB 479 bytes (0.01%) ⬆️
gazebo-staging-esm 6.31MB 570 bytes (0.01%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-staging-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 464 bytes 573.66kB 0.08%
assets/vendor_amplitude-legacy.*.js 15 bytes 137.84kB 0.01%

Files in assets/index-legacy.*.js:

  • ./src/services/events/amplitude/amplitude.ts → Total Size: 2.07kB

  • ./src/services/events/events.ts → Total Size: 425 bytes

view changes for bundle: gazebo-staging-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 552 bytes 491.48kB 0.11%
assets/vendor_amplitude.*.js 18 bytes 138.9kB 0.01%
assets/downshift.*.BIHVpKrcj5YjUGVPBv9m2.js (New) 27.76kB 27.76kB 100.0% 🚀
assets/downshift.*.D0MoAg2vtANedwWSrimxU.js (Deleted) -27.76kB 0 bytes -100.0% 🗑️

Files in assets/index.*.js:

  • ./src/services/events/amplitude/amplitude.ts → Total Size: 2.07kB

  • ./src/services/events/events.ts → Total Size: 425 bytes

Copy link

codecov bot commented Feb 13, 2025

Bundle Report

Changes will increase total bundle size by 1.05kB (0.01%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 6.26MB 479 bytes (0.01%) ⬆️
gazebo-production-esm 6.31MB 570 bytes (0.01%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-production-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 552 bytes 491.48kB 0.11%
assets/vendor_amplitude.*.js 18 bytes 138.9kB 0.01%
assets/downshift.*.BIHVpKrcj5YjUGVPBv9m2.js (New) 27.76kB 27.76kB 100.0% 🚀
assets/downshift.*.D0MoAg2vtANedwWSrimxU.js (Deleted) -27.76kB 0 bytes -100.0% 🗑️

Files in assets/index.*.js:

  • ./src/services/events/amplitude/amplitude.ts → Total Size: 2.07kB

  • ./src/services/events/events.ts → Total Size: 425 bytes

view changes for bundle: gazebo-production-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 464 bytes 573.66kB 0.08%
assets/vendor_amplitude-legacy.*.js 15 bytes 137.84kB 0.01%

Files in assets/index-legacy.*.js:

  • ./src/services/events/amplitude/amplitude.ts → Total Size: 2.07kB

  • ./src/services/events/events.ts → Total Size: 425 bytes

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Feb 13, 2025

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
c06cea9 Thu, 13 Feb 2025 13:15:42 GMT Expired Expired
dfb7cb5 Thu, 13 Feb 2025 13:37:54 GMT Expired Expired
c6850eb Thu, 13 Feb 2025 15:12:25 GMT Cloud Enterprise

@spalmurray-codecov spalmurray-codecov force-pushed the spalmurray/amplitude-autocapture branch from c06cea9 to dfb7cb5 Compare February 13, 2025 13:31
@spalmurray-codecov spalmurray-codecov force-pushed the spalmurray/amplitude-autocapture branch from dfb7cb5 to c6850eb Compare February 13, 2025 15:02
@spalmurray-codecov spalmurray-codecov added this pull request to the merge queue Feb 13, 2025
Merged via the queue into main with commit 7eded14 Feb 13, 2025
62 checks passed
@spalmurray-codecov spalmurray-codecov deleted the spalmurray/amplitude-autocapture branch February 13, 2025 19:15
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.

4 participants