Attachments forums

Re: 🖥️ Creating your own HomeLAB for trading

xard777, Tue Mar 03, 2026 1:39 am

HomeLAB v3.3 Local Input Bug Fix
Walkthrough
I've resolved the issue where the Local department button was incorrectly reporting empty input and the GUI wasn't resetting properly after a project clear.

Changes Made
🧠 Smarter Input Validation
Brittle Check Removed: The system no longer looks for the keyword "Type". This was causing false-positives if your actual query mentioned things like "data type" or "type of model".
Exact Placeholder Matching: The code now performs an exact comparison against the defined placeholder strings (Type Local request here...), ensuring that any actual user text—even if it contains the word "type"—is accepted.
✨ UX Improvements
Auto-Clearing Placeholders: Added FocusIn events to both input boxes. The placeholder text now automatically vanishes when you click the box, so you don't have to manually delete it.
Auto-Restoring Placeholders: If you click away and haven't typed anything, the placeholder safely returns.
🧹 True "Clean Slate"
GUI Reset Synchronization: When you click 🧹 Clear Blackboard and confirm the archival of your project, the system now automatically calls Clear Input. This ensures your screen is as fresh as the underlying files, preventing any "ghost" text from the previous project.
Verification Results
Validation Test: Verified that input_widget.get("1.0", "end-1c") is used to avoid trailing newline issues during validation.
Placeholder Test: Clicking into the box clears the prompt; clicking out restores it if empty.
Clear Test: Confirmed
confirm_clear_blackboard
now triggers a GUI clear.

Best,
Xard777
All files in topic