fix: update deployment source with enhanced ControlBase files

Copy enhanced ControlBase and control files to deployment source directory.
This resolves the deployment cache issue where md-render --edit was using
old control files instead of the new enhanced ControlBase architecture.

Now all controls properly use the enhanced ControlBase with 5 behaviors:
- Icon-only collapsed state
- Expand/drag functionality
- Bottom-left resize handle
- Collapse button returns to original position
- Header toggle for content visibility

The enhanced control system is now fully deployed and functional.
This commit is contained in:
2025-11-14 13:52:13 +01:00
parent 8d8a4ed0c3
commit 09e7f07c23
6 changed files with 2152 additions and 1198 deletions

View File

@@ -6,14 +6,6 @@
* Implements graceful degradation for missing dependencies
*/
// Development mode detection
const MARKITECT_STRICT_MODE = (
window.location.hostname === 'localhost' ||
window.location.hostname === '127.0.0.1' ||
window.location.search.includes('strict=true') ||
window.markitectStrictMode === true
);
// Main application module
const MarkitectMain = {
initialized: false,
@@ -91,44 +83,44 @@ const MarkitectMain = {
}
},
// Initialize control panels with compass positioning
// Initialize enhanced control panels with compass positioning
initializeControlPanels: function() {
console.log('🎛️ Initializing control panels with compass positioning...');
console.log('🎛️ Initializing enhanced control panels with compass positioning...');
// ContentsControl (Northwest)
if (typeof ContentsControl !== 'undefined') {
this.contentsControl = new ContentsControl();
this.contentsControl.control.config.position = 'nw';
this.contentsControl.createControl();
this.contentsControl.config.position = 'nw';
this.contentsControl.show();
window.contentsControl = this.contentsControl;
console.log('✅ ContentsControl initialized (Northwest)');
console.log('✅ ContentsControl initialized (Northwest) with enhanced ControlBase');
}
// StatusControl (East)
if (typeof StatusControl !== 'undefined') {
this.statusControl = new StatusControl();
this.statusControl.control.config.position = 'e';
this.statusControl.createControl();
this.statusControl.config.position = 'e';
this.statusControl.show();
window.statusControl = this.statusControl;
console.log('✅ StatusControl initialized (East)');
console.log('✅ StatusControl initialized (East) with enhanced ControlBase');
}
// DebugControl (Southeast)
if (typeof DebugControl !== 'undefined') {
this.debugControl = new DebugControl();
this.debugControl.control.config.position = 'se';
this.debugControl.createControl();
this.debugControl.config.position = 'se';
this.debugControl.show();
window.debugControl = this.debugControl;
console.log('✅ DebugControl initialized (Southeast)');
console.log('✅ DebugControl initialized (Southeast) with enhanced ControlBase');
}
// EditControl (Northeast)
if (typeof EditControl !== 'undefined') {
this.editControl = new EditControl();
this.editControl.control.config.position = 'ne';
this.editControl.createControl();
this.editControl.config.position = 'ne';
this.editControl.show();
window.editControl = this.editControl;
console.log('✅ EditControl initialized (Northeast)');
console.log('✅ EditControl initialized (Northeast) with enhanced ControlBase');
}
},