Commit Graph
4 Commits
Author SHA1 Message Date
diodiogod 47f09ba89b Improve Multiline TTS Tag Editor find and replace UX
- 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
2026-04-08 10:14:25 -03:00
diodiogod 24e3f4c41d Fix history preservation and workflow data persistence
- 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
2025-11-03 22:03:25 -03:00
diodiogod 1927911d47 Add default example text to tag editor with SRT format showcase
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.
2025-10-31 23:42:54 -03:00
diodiogod b78cdbe2fc Refactor monolithic widget into modular architecture
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.
2025-10-31 16:54:22 -03:00