Skip to content

feat: enhance app creation tracking with source and template ID#36369

Merged
CodingOnStar merged 3 commits into
mainfrom
feat/amplitude-create-app
May 19, 2026
Merged

feat: enhance app creation tracking with source and template ID#36369
CodingOnStar merged 3 commits into
mainfrom
feat/amplitude-create-app

Conversation

@CodingOnStar
Copy link
Copy Markdown
Contributor

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

  • Updated tracking parameters in various components to include 'source' and 'templateId' for app creation events.
  • Modified test cases to validate the new tracking structure.
  • Adjusted the DSL import success callbacks to pass the app mode for better tracking accuracy.

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

CodingOnStar added 2 commits May 19, 2026 11:35
- Updated tracking parameters in various components to include 'source' and 'templateId' for app creation events.
- Modified test cases to validate the new tracking structure.
- Adjusted the DSL import success callbacks to pass the app mode for better tracking accuracy.
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. javascript Pull requests that update javascript code refactor labels May 19, 2026
@github-actions github-actions Bot added the web This relates to changes on the web. label May 19, 2026
@CodingOnStar CodingOnStar changed the title refactor: enhance app creation tracking with source and template ID feat: enhance app creation tracking with source and template ID May 19, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.96%. Comparing base (2d5186f) to head (a965dc7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #36369   +/-   ##
=======================================
  Coverage   85.96%   85.96%           
=======================================
  Files        4455     4455           
  Lines      211543   211575   +32     
  Branches    39527    39541   +14     
=======================================
+ Hits       181847   181881   +34     
+ Misses      26482    26480    -2     
  Partials     3214     3214           
Flag Coverage Δ
dify-ui 94.59% <ø> (ø)
web 86.56% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@CodingOnStar CodingOnStar changed the title feat: enhance app creation tracking with source and template ID feat: enhance app creation tracking with source and template ID May 19, 2026
@CodingOnStar CodingOnStar enabled auto-merge May 19, 2026 05:01
@CodingOnStar CodingOnStar added this pull request to the merge queue May 19, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 19, 2026
Merged via the queue into main with commit b0a3399 May 19, 2026
33 checks passed
@CodingOnStar CodingOnStar deleted the feat/amplitude-create-app branch May 19, 2026 05:09
zhangtaodemama added a commit to zhangtaodemama/langgenius-dify-bfaadcb0c706 that referenced this pull request May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code lgtm This PR has been approved by a maintainer refactor size:L This PR changes 100-499 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants