|
|
9d29e919a9
|
feat: setup refactoring infrastructure (Phase 0)
- Created static file structure:
* static/css/components/ - reusable CSS components
* static/css/pages/ - page-specific styles
* static/js/utils/ - utility functions
* static/js/components/ - interactive components
- Created infrastructure files:
* static/css/variables.css - CSS custom properties
* static/css/components/index.css - CSS entry point
* static/js/utils/index.js - JS utilities entry point
* static/js/components/index.js - JS components entry point
- Added comprehensive tests:
* tests/test_static_files.py - 12 tests for structure, syntax, encoding
- Updated .gitignore:
* Added staticfiles/ to ignore list
* Clarified that static/ sources are tracked
- Added REFACTORING_PLAN.md:
* New strategy: extract CSS/JS before HTML decomposition
* Documented lessons learned from previous attempts
* Defined phases 0-6 for systematic refactoring
|
2025-10-28 08:29:43 +03:00 |
|