Commit Graph
46 Commits
Author SHA1 Message Date
Anh Tri PhamandCohee 35b1801e6e feat(client): desktop version uses select2 to search, filter, and select (#4359)
* 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>
2025-08-10 14:39:25 +03:00
Cohee 87ece15faf Fix phantom scroll in WI entry editor 2025-07-23 21:15:02 +03:00
Cohee c292f64163 Add generation type triggers to world info (#4286)
* 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
2025-07-20 00:22:54 +03:00
Cohee 13ed0d3ad9 Add height limit to global WI picker
Closes #4278
2025-07-17 21:47:59 +03:00
qvinkandqvink b3bc065713 Select2 visual bug fix (#4207)
* 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>
2025-06-26 20:24:21 +03:00
Cohee 9bcbe957af Refactor transition durations to use CSS variables 2025-06-07 16:40:30 +03:00
Cohee 9a82b688ba WI: Split entry header and editor 2025-06-06 02:10:49 +03:00
Crow bb9f765ce3 Add pointer cursor to Additional Matching Sources drawer header 2025-04-25 03:17:13 +01:00
Crow 7b1baed0d7 Revert world_entry_form_control css class changes 2025-04-24 20:16:10 +01:00
Crow 5bed367a32 Add controls for different WI matching targets
To accomodate new settings, the WI Entry panels were reworked
slightly to add a drawer. Both Global and Entry settings are
present.
2025-04-20 21:09:19 +01:00
Wolfsblvt eeed072ebb Add UI element for delay recursion level
- 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
2024-09-15 22:15:24 +02:00
RossAscends e77dd96bb7 add color to toggle on state 2024-08-10 13:12:46 +09:00
RossAscends 0dce445375 fix toggle logic and cursors 2024-08-10 13:07:07 +09:00
Cohee 358d40f502 Restyle WI activation settings 2024-05-31 23:54:24 +03:00
Cohee 9e10022014 I want my 5px back... 2024-05-16 23:11:59 +03:00
Wolfsblvt 97de520f9a Fix switchy button to top-right 2024-05-16 00:25:11 +02:00
Cohee eb57289b2a Non-Chromium browsers require padding to wrap around 2024-05-16 00:38:32 +03:00
Cohee 912fd36e29 Set proper height of fancypants button instead of 100% 2024-05-16 00:32:58 +03:00
Cohee f0af503b4a Transition to full opacity on hover 2024-05-16 00:22:09 +03:00
Cohee 3d023a5cf6 Add opacity to fancypants switch button
Want it to be more subtle yet still visible
2024-05-16 00:18:27 +03:00
Cohee cd90e252bf Add 1px height 2024-05-15 01:23:44 +03:00
Wolfsblvt 00ce078630 WI key input mode switch fancy/plaintext
- Implemented switch between fancy and plaintext input controls
- Fixed splitting keys into regexes index issue
- Fixed focus falsely adding text as key
2024-05-14 04:51:22 +02:00
Wolfsblvt eb273a1873 WI key dropdown templating shows all keys
- Cache all keys for the loaded lorebook
- Key selection dropdown shows all keys and how often they are used already
- More templating changes
2024-05-08 20:34:53 +02:00
Wolfsblvt fda0e886e4 WI custom styling for regex keys
- WI custom style for regex keys
- moved select2 styling to its own file
2024-05-07 05:44:18 +02:00
Cohee 408151c9cb Use menu_button style colors 2024-05-02 22:50:07 +03:00
Wolfsblvt f0adbc3c28 WI world search allows quick-select 2024-05-02 20:04:24 +02:00
Cohee 2b071bed90 Format style 2024-05-01 10:25:42 +03:00
Wolfsblvt 9d8ebd7bd2 WI search bar now flexibly scales width 2024-04-30 21:35:27 +02:00
Cohee 890ae4bba9 Optimize WI layout 2023-11-04 17:44:43 +02:00
RossAscends e9ba20f13c WI Entry transitions: all >>> opacity 2023-10-06 06:27:49 +09:00
RossAscends 4189da19b1 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-10-06 05:56:47 +09:00
RossAscends ad3f8e7bf4 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-10-06 05:56:45 +09:00
Cohee 0dfe46a162 Add WI title backfill button 2023-10-05 23:56:31 +03:00
RossAscends edeb804128 fix WI Entry control titles for mobile 2023-10-06 05:55:39 +09:00
Cohee 96be2ebf35 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-05 21:13:23 +03:00
Cohee fc90843207 Add WI sort dropdown 2023-10-05 21:13:18 +03:00
RossAscends 5307ee5d17 WI: Prob%, Memo to header, Keywords to main 2023-10-06 03:02:43 +09:00
RossAscends 30e5a31591 Position, Depth, Order Inputs to WI Entry header 2023-10-05 23:40:48 +09:00
RossAscends 995b4d07ff WI: 🔵>🟢 & 🟡>🟢 2023-10-05 20:10:16 +09:00
valden80andCohee 6df0c2acf3 Better wi 2 (#1203)
* Update world-info.css

* Update index.html

* V-center Wi delete

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-10-01 15:46:06 +03:00
RossAscends 2879e2701f Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-10-01 10:23:39 +09:00
RossAscends 7771ecb0d0 WI disable/constant checkboxes to tristate select 2023-10-01 10:21:19 +09:00
valden80 cc9f452699 Better wi cards (#1200) 2023-09-30 23:19:49 +03:00
Cohee 92686d4ba8 Optimize WI editor header. Add entries search 2023-08-22 01:51:31 +03:00
Cohee 069a07a139 Add pagination for WI entries #964 2023-08-21 21:10:11 +03:00
RossAscends 334dcc7454 WIP splitting of style.css 5.6k --> 3.5k lines 2023-08-20 15:49:27 +09:00