- add inline find/replace controls with keyboard shortcuts and match navigation
- add replace and replace all flows with persistent search options and highlighting
- add collapsible left panel control while preserving existing resize behavior
- refine panel handle interaction and styling to avoid splitter conflicts during drag
- Add immediate state.text update on input to ensure full text is saved to localStorage
- Use onConfigureCallCount to properly distinguish page reloads from new workflow loads
- Track lastWorkflowValue to detect when a different workflow file is opened
- Preserve undo/redo history across page reloads within same session
- Reset history to 1/1 when opening a different workflow (as expected)
- Ensure multiple tag editor nodes in same workflow maintain separate data
- Remove debug console.log statements
New tag editor nodes now display helpful examples including:
- Basic character and parameter tag syntax
- Pause tag usage
- SRT subtitle format with timing and tags
Allows users to immediately see syntax highlighting in action.
Major refactoring to improve code maintainability:
- Reduced main widget file from 1677→900 lines (46% reduction)
- Extracted UI builders into separate modules:
* widget-ui-builder.js (237 lines) - History, Character, Language, Validation sections
* widget-parameter-section.js (237 lines) - Parameter controls with dynamic inputs
* widget-preset-system.js (102 lines) - Preset management
- All original functionality preserved with identical behavior
- Parameter tag insertion now working with full event handler
- Note: Language selector currently only displays, doesn't auto-add to tags (design limitation)
Modules are properly organized with clear separation of concerns while maintaining all original logic and event handling.