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

37
docs/prototypes/README.md Normal file
View File

@@ -0,0 +1,37 @@
# TestDrive-JSUI Prototypes
This directory contains historical HTML prototypes from the development of the control system architecture.
## Files
- **AllControlsRudimentary.html** - Early prototype showing all control panels
- **ControlFooter.html** - Footer control prototype
- **DebugControlContent.html** - Reference implementation for enhanced ControlBase behavior
- **StatusPsychadelic.html** - Status control visual prototype
## Historical Context
These prototypes were created during the development of the enhanced ControlBase architecture (documented in `IMPLEMENTATION_NOTES.md`). They served as reference implementations for:
- Icon-only collapsed state
- Expand/drag functionality
- Bottom-left corner resize
- Collapse with position restoration
- Header toggle for content visibility
## Status
These files are **archived for historical reference only**. The implemented code is now in:
- `js/controls/control-base.js` - Base control class
- `js/controls/edit-control.js` - Edit panel
- `js/controls/debug-control.js` - Debug panel
- `js/controls/status-control.js` - Status indicator
- `js/controls/contents-control.js` - Table of contents
## Notes
The DebugControlContent.html prototype was specifically referenced in the IMPLEMENTATION_NOTES.md as the source for the advanced panel behavior patterns that were implemented in the ControlBase class.
---
*Archived: December 16, 2025*