- Created a new `docs/planning/` directory to better organize architecture and implementation planning documents. - Moved existing planning documents into the new directory for improved accessibility. - Updated `README.md` to reflect the new document structure and added references to the organized planning documents. - Enhanced overall documentation management for easier navigation and maintenance.
90 lines
1.8 KiB
Markdown
90 lines
1.8 KiB
Markdown
# REFACTORING DOCUMENTATION
|
|
|
|
**Purpose**: This directory contains refactoring plans, migration guides, and architectural refactoring documentation.
|
|
|
|
---
|
|
|
|
## Directory Structure
|
|
|
|
```
|
|
docs/refactor/
|
|
├── README.md # This file
|
|
├── routes/ # Route refactoring plans
|
|
├── folder-structure/ # Folder structure refactoring plans
|
|
└── migrations/ # Migration guides for refactoring
|
|
```
|
|
|
|
---
|
|
|
|
## Refactoring Plans
|
|
|
|
### Current Refactoring Status
|
|
|
|
**Phase 0: Foundation & Credit System**
|
|
- [ ] Credit-only model migration
|
|
- [ ] Plan model simplification
|
|
- [ ] Module settings system
|
|
|
|
**Phase 1: Service Layer Refactoring**
|
|
- [ ] Domain-driven structure
|
|
- [ ] Service layer implementation
|
|
- [ ] Model migrations
|
|
|
|
**Phase 2: Automation System**
|
|
- [ ] AutomationRule model
|
|
- [ ] ScheduledTask model
|
|
- [ ] Celery integration
|
|
|
|
**Phase 3: Site Builder**
|
|
- [ ] Site Builder models
|
|
- [ ] File management service
|
|
- [ ] Sites folder access
|
|
|
|
**Phase 4: Linker & Optimizer**
|
|
- [ ] Content model extensions
|
|
- [ ] Multiple entry points
|
|
- [ ] Workflow implementation
|
|
|
|
**Phase 5: Sites Renderer**
|
|
- [ ] Sites container
|
|
- [ ] Layout system
|
|
- [ ] Template system
|
|
|
|
**Phase 6: Site Integration**
|
|
- [ ] SiteIntegration model
|
|
- [ ] Multi-destination publishing
|
|
- [ ] Integration adapters
|
|
|
|
**Phase 7: UI Components**
|
|
- [ ] Global component library
|
|
- [ ] Module settings UI
|
|
- [ ] Site management UI
|
|
|
|
**Phase 8: Universal Content Types**
|
|
- [ ] Content type extensions
|
|
- [ ] Taxonomy support
|
|
- [ ] Product/Service pages
|
|
|
|
---
|
|
|
|
## Route Refactoring
|
|
|
|
See `routes/` directory for route refactoring plans.
|
|
|
|
---
|
|
|
|
## Folder Structure Refactoring
|
|
|
|
See `folder-structure/` directory for folder structure refactoring plans.
|
|
|
|
---
|
|
|
|
## Migration Guides
|
|
|
|
See `migrations/` directory for step-by-step migration guides.
|
|
|
|
---
|
|
|
|
**Last Updated**: 2025-01-XX
|
|
|