- Added 160px max-height to select2 multiple selection, primary key, and secondary key text areas in world entries
- Enabled vertical scrolling with hidden horizontal overflow for better UX with long content
* feat: add outlet prompt support for world info entries
* feat: add outlet name field with autocomplete for world info entries
* feat: add outlet entries for world info support to WI parsing
* feat: add tooltip and validation for WI outlet name entries
* Trim macro outlet name
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* refactor: consolidate WI injection cleanup and fix strict equality comparison
* fix: update outlet macro regex pattern to use double colon delimiter
* fix: replace carriage returns with newlines in WI entry outlet tooltip
* fix: add null checks and array validation for WI outlet entries handling
* feat: add outletName field to world info entry definition schema (supports /setwientryfield command)
* fix: add outletName field to export of character lore books
* do not remove outlet name on position change, but filter out for auto complete
* Match WI extensions field name
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* outlet name being used in char WI import too
* docs: add outlet macro documentation to help template
* be explicit about risu/novel/agnai wi not supporting outlets
* Inject A/N and TC sysprompt after populating outlets
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Update UpdateAndStart.bat
* feat(client): desktop version uses select2 to search, filter, and select world info to edit
feat(client): styles for select2 to separate items and highlight
* fix(client): more aligned with current select2
fix(client): removed unecessary functions and styles
* Update WI editor layout
* Add min-width for WI sort and search
* Adjust control styling
* Update option creation logic
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Add generation type triggers to world info
* Simplify includes check
* Refactor getEntryField validation and default value handling
* Remove invalid attribute
* Check for a valid trigger
* attempt at fixing select2 spacing issue across browsers
* found the actual problem
* fixing placeholder text
* fixing placeholder text again
* removing references to the select2_multi_sameline
---------
Co-authored-by: qvink <qvink@users.noreply.github.com>
- Tied and only visible to the "delay until recursion" toggle
- Will set it to a numerical value if used, otherwise keeps true/false state of the toggle
- Implemented switch between fancy and plaintext input controls
- Fixed splitting keys into regexes index issue
- Fixed focus falsely adding text as key