feat(amplitude): integrate AmplitudeProvider and refactor initialization logic#35415
Merged
feat(amplitude): integrate AmplitudeProvider and refactor initialization logic#35415
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #35415 +/- ##
==========================================
- Coverage 85.50% 85.50% -0.01%
==========================================
Files 4433 4434 +1
Lines 206943 206953 +10
Branches 38519 38521 +2
==========================================
+ Hits 176940 176948 +8
- Misses 26899 26901 +2
Partials 3104 3104
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ion logic - Added AmplitudeProvider to the main layout for analytics tracking. - Removed redundant AmplitudeProvider instances from common layouts. - Introduced a new init module to handle Amplitude initialization and session replay plugin setup. - Updated tests to ensure proper initialization behavior and prevent multiple initializations.
939fc61 to
b6a0062
Compare
iamjoel
approved these changes
Apr 20, 2026
HanqingZ
pushed a commit
to HanqingZ/dify
that referenced
this pull request
Apr 23, 2026
…ion logic (langgenius#35415) Co-authored-by: CodingOnStar <hanxujiang@dify.com>
asukaminato0721
pushed a commit
to asukaminato0721/dify
that referenced
this pull request
Apr 24, 2026
…ion logic (langgenius#35415) Co-authored-by: CodingOnStar <hanxujiang@dify.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Fixes #<issue number>.Summary
Checklist
make lint && make type-check(backend) andcd web && pnpm exec vp staged(frontend) to appease the lint gods