Repository navigation
perf(dashboard): lazy-load usage analytics charts - #4466
Merged
diegosouzapw merged 6 commits intoJun 21, 2026
Merged
diegosouzapw merged 6 commits into
diegosouzapw merged 6 commits into
Conversation
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
diegosouzapw
force-pushed
the
fix/dashboard-recharts-lazy-4436
branch
from
June 21, 2026 11:37
330dcce to
12cf707
Compare
tkgo11
pushed a commit
to tkgo11/OmniRoute
that referenced
this pull request
Sep 23, 2026
Thanks @KooshaPari! Rebased onto release/v3.8.32. Recharts now lazy-loads (public analytics API preserved, source-guard test included).
tkgo11
pushed a commit
to tkgo11/OmniRoute
that referenced
this pull request
Sep 23, 2026
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.
Summary
Related Issues
Validation
npx prettier --write src/shared/components/analytics/charts.tsx src/shared/components/analytics/index.tsx src/shared/components/analytics/chartColors.ts src/shared/components/analytics/rechartsCore.tsx src/shared/components/analytics/rechartsUsageCharts.tsx src/shared/components/analytics/rechartsDonuts.tsx tests/unit/shared/analytics-recharts-lazy.test.tsnpx eslint src/shared/components/analytics/charts.tsx src/shared/components/analytics/index.tsx src/shared/components/analytics/chartColors.ts src/shared/components/analytics/rechartsCore.tsx src/shared/components/analytics/rechartsUsageCharts.tsx src/shared/components/analytics/rechartsDonuts.tsx tests/unit/shared/analytics-recharts-lazy.test.ts --quietnode --import tsx/esm --test tests/unit/shared/analytics-recharts-lazy.test.tsnpm run check:file-sizenpm run typecheck:core -- --pretty falsenpm run build(passes; existingopen-sse/services/browserPool.tsdynamic dependency warnings remain)npx lint-staged, docs sync,npm run check:any-budget:t11,node scripts/check/check-tracked-artifacts.mjsnpm run test:unitnpm run test:coverageTests Added Or Updated
tests/unit/shared/analytics-recharts-lazy.test.tsto guard that Recharts is only imported through the lazy loader boundary.Coverage Notes
src/shared/components/analytics/.Reviewer Notes
open-sse/services/browserPool.tsdynamic dependency warning; this PR does not touch that path.Integration Tests (2/2)failure is inherited from upstreammainat base SHAd0396c2and fails the samechat-pipeline.test.tsandmemory-pipeline.test.tstests there.