Files
Daniel DimitrovandGitHub c06e9fc63f refactor(web): Migrate Counterfactual Feature to Standard Architecture (#6972)
* docs(earn): add specification and planning documents for counterfactor refactor

* refactor(web): migrate counterfactual feature to new standard feature architecture

- Reorganize 10 components into subdirectories with barrel files
- Create public API with types, constants, and feature flag hook
- Update 47 external import sites to use @/features/counterfactual
- Rename utils.ts to safeDeployment.ts for better clarity
- Split shared CSS into component-specific modules
- Colocate tests with source code
- Enable code splitting through barrel exports

Zero behavioral changes - all tests pass, type-check clean.

* fix(web): circular imports counterfactual
2026-01-22 17:03:11 +01:00
..