Repository navigation
chore(Tracking): Remove the unused page-view tracking - #9126
talissoncosta wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
147099c to
04cb75f
Compare
Docker builds report
|
There was a problem hiding this comment.
All reported issues were addressed across 23 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Removes dead no-op page-view tracking calls and their page/modal constants, replacing the tracking hook with a focused useSaveLastEnvironment hook that preserves lastEnv persistence. The diff is deletion-only and behavior-preserving.
Turn on auto-fix | Re-trigger cubic
✅ oss · depot-ubuntu-latest-arm-16 — run #23855 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
🗂️ Previous results✅ oss · depot-ubuntu-latest-16 — run #23855 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ private-cloud · depot-ubuntu-latest-16 — run #23850 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23850 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #23850 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #23850 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23847 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23846 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ private-cloud · depot-ubuntu-latest-16 — run #23846 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ private-cloud · depot-ubuntu-latest-16 — run #23847 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #23846 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #23847 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
|
Visual Regression29 screenshots compared. See report for details. |
5181da3 to
b10dc67
Compare
b10dc67 to
5edf758
Compare
703b881 to
8d9479a
Compare
5edf758 to
378f463
Compare
8d9479a to
06cb4c8
Compare
trackPage only fed Universal Analytics. usePageTracking becomes useSaveLastEnvironment, keeping the lastEnv storage it also did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
378f463 to
ee94af4
Compare
docs/if required so people know about the feature.Changes
Stacked on #9127, which removes Universal Analytics and leaves
API.trackPageas a no-op. On hold with it.API.trackPageand its 18 call sites. Effects that only tracked the page are deleted.usePageTrackingbecomesuseSaveLastEnvironment, keeping the one thing it still did: saving the last-used environment (lastEnv) from the features page.Constants.pagesandConstants.modalslabels, which only fedtrackPage.Deletions only, no behaviour change.
How did you test this code?
npm run test:unitpasses. No new type errors./: the app should still return to the last environment.