Repository navigation
refactor(analytics): remove unused components - #427
Conversation
|
Thanks for your first pull request to Orbit. Two things that will save you a review round: A maintainer will review this shortly. Ask anything on the thread. |
|
Warning Review limit reachedNext included review available in 32 minutes. View limit detailsLimit details: You’ve used the included review currently available. This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (10)
Comment |
imshashank
left a comment
There was a problem hiding this comment.
Checked every removed module for importers on main outside the deleted set and found none, which matches the green typecheck and the 152 analytics tests. Going further than the five files in #411 and taking the private helpers and the four dead loaders in data.ts with them was the right call. Merging.
What this changes
Removes the five unused analytics components identified in #411, along with their now-unreachable private dependencies and obsolete data loaders. Live analytics lenses, shared cards, and the sprint chart remain unchanged.
Why
Closes #411
These legacy components are no longer imported by the application and add 844 lines of maintenance surface.
How you know it works
bun run typecheckbun run verify: lint, source checks, workspace typechecks, core (1,039), realtime (45), and MCP (206) tests passed; the full web test process later received SIGTRAP atline-plot.test.tsx, which passes in the focused analytics runChecklist
bun run verifyis green, all four checksany, no non-null assertionsAnything reviewers should know
No documentation changed because this removes unreachable implementation code without changing behaviour, configuration, or setup.
Greptile Summary
Removes unreachable legacy analytics components, their private chart dependency, and obsolete data-loading helpers while preserving the active lens-based analytics interface.
data.ts.Confidence Score: 5/5
The PR appears safe to merge because the removed modules and exports have no remaining consumers.
The change is limited to unreachable analytics code and obsolete private helpers, with no identified broken imports, runtime routes, public contracts, or repository-rule violations.
Important Files Changed
Reviews (1): Last reviewed commit: "refactor(analytics): remove unused compo..." | Re-trigger Greptile