refactor: complete post-migration cleanup

Implemented all cleanup items from CLEANUP_REPORT.md:

Legacy Code Removal:
- Removed document-controls-legacy.js wrapper
- Updated 4 test files to use DocumentControls directly
- Updated scripts/list_components.py acronym mappings
- Updated tests/test_component_listing.py expectations

Archive and Organization:
- Moved relicts/ to docs/prototypes/ with README explaining history
- Moved MIGRATION_STATUS.md to docs/migration/
- Removed IMPLEMENTATION_NOTES.md legacy references

Test Verification:
- All 68 JavaScript tests passing (Jest)
- All 3 Python component tests passing
- No breaking changes to functionality

The codebase is now cleaner with no legacy wrappers or empty
directories. Migration is complete and documented.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-16 11:43:42 +01:00
parent 6a6543228a
commit 1fe4b6b9fa
14 changed files with 59 additions and 47 deletions

View File

@@ -99,7 +99,6 @@ class MyControl extends ControlBase {
#### With TestDrive-JSUI System
- **Component Discovery**: Listed by `scripts/list_components.py`
- **TDD Testing**: Validated by `tests/test_component_listing.py`
- **Legacy Support**: `DocumentControlsLegacy` maintains backward compatibility
#### With MarkiTect md-render
- **Plugin Integration**: Ready for deployment via Makefile targets
@@ -116,7 +115,6 @@ class MyControl extends ControlBase {
#### Automated Testing
- Component listing tests ensure discovery
- Integration tests validate interaction patterns
- Legacy tests maintain backward compatibility
### Performance Considerations