Checkpoint before line-grid scrolling refactor
This commit is contained in:
@@ -21,7 +21,6 @@ export class DebugUtilsModule extends BaseModule {
|
||||
|
||||
// Make utilities available globally for console access
|
||||
window.DebugUtils = {
|
||||
testTextPipeline: this.testTextPipeline.bind(this),
|
||||
testSocketConnection: this.testSocketConnection.bind(this),
|
||||
testTTS: this.testTTS.bind(this),
|
||||
forceReconnect: this.forceReconnect.bind(this)
|
||||
@@ -32,26 +31,6 @@ export class DebugUtilsModule extends BaseModule {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the text processing pipeline with sample text
|
||||
* @param {string} text - Test text to process
|
||||
* @returns {boolean} - Success status
|
||||
*/
|
||||
testTextPipeline(text = "This is a test sentence. Let's see if it displays correctly!") {
|
||||
console.log("Debug: Testing text pipeline with:", text);
|
||||
|
||||
// Get the text buffer module properly through dependency system
|
||||
const textBuffer = this.getModule('text-buffer');
|
||||
if (!textBuffer) {
|
||||
console.error("Debug: TextBuffer module not found");
|
||||
return false;
|
||||
}
|
||||
|
||||
textBuffer.addText(text);
|
||||
console.log("Debug: Text added to buffer");
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the socket connection
|
||||
* @returns {boolean} - Success status
|
||||
|
||||
Reference in New Issue
Block a user