Repository navigation
v2.1.0 - Critical Bug Fix & Modal UX Enhancement
π Release v2.1.0 - Critical Bug Fix and Modal UX Enhancement
β Critical Bug Fix
Fixed the "No input field found to insert script" error that prevented users from inserting AI-generated scripts back into textarea fields. This was a critical issue affecting core functionality.
Root causes identified and fixed:
- Input elements marked as
processedwere being filtered out - Empty input fields were being rejected
- Timing issue: input element stored after AI response instead of before
- CSS interference causing cursor/text misalignment
- Insert button wrappers causing styling conflicts
π Major Improvements
Always Show Modal - Better UX than Insert buttons
- Two editable textareas: original prompt (top) and generated script (bottom)
- Edit prompt and click "Improve Further" for iterative refinement
- "Use Script" button remembers correct textarea and inserts properly
- Modal stays open during iterations with beautiful loading animation
Enhanced Modal Experience
- {+} AI Code Buddy branding matching icon design
- ESC key to close modal
- Copy button now closes modal automatically
- Removed redundant Close button (X remains)
- Toast notifications now appear above modal overlay
- Big, bold loading animation with Apra Labs branded spinner
CSS Improvements
- Fixed CSS interference with page input fields
- Removed .claude-button-wrapper * reset that was causing issues
- Cursor and text now properly aligned in page inputs
- Hover-based button visibility (30% opacity default)
π§ͺ Testing & Quality
- Added comprehensive test suite: input-element-detection.test.js
- 5 test cases covering the critical bug scenarios
- Extensively tested on RPort terminal interface
- All core functionality verified working
π Documentation
- Added site-permissions.html user guide
- Added test-azure-api.js for Azure OpenAI validation
- Improved code comments and documentation