169 Commits

Author SHA1 Message Date
Wolfsblvt
70a2f71e33 WI switch key controls to multi input
- Switch key/secondarykey controls to select2 input
- Custom tokenizer for regex parsing, allowing comma in regex
- Keep mobile-compatibility by switching to textarea
- select2 utility method to pre-fill options
- New inline display mode of select2 multi to save space
2024-05-07 02:01:54 +02:00
Cohee
694cf6f762 Fix field name 2024-05-06 17:27:43 +03:00
Cohee
83c77c1f18 Split group weight and trigger% 2024-05-06 17:00:42 +03:00
Cohee
75832c1ad6 Fix group removal 2024-05-05 01:08:49 +03:00
Cohee
39a54d158d Per-entry group scoring 2024-05-05 00:42:33 +03:00
Cohee
2bf9869e5f Add WI group scoring mode 2024-05-04 23:51:28 +03:00
Wolfsblvt
f0adbc3c28 WI world search allows quick-select 2024-05-02 20:04:24 +02:00
Cohee
21edb655d3 Merge branch 'staging' into scored-search-sorting 2024-05-01 12:48:26 +03:00
Cohee
51f0d1f33e
Merge pull request #2169 from Wolfsblvt/fix-wi-whole-world
Fixes WI word matching not working for non-words
2024-05-01 11:07:31 +03:00
Wolfsblvt
b33b5264e5 Improve performance of drawing WI panel
- Fix performance issue by unsubscribing events before redrawing the panel
2024-05-01 02:08:52 +02:00
Wolfsblvt
8ca50098d5 Fixes WI word matching not working for non-words
- Fixes the regex that matched WI keys as "whole words" not working correctly if the key itself was not a word
2024-04-30 23:51:47 +02:00
Wolfsblvt
d1cdd60883 Scored search sorting for personas 2024-04-30 02:27:44 +02:00
Wolfsblvt
a850352eab Scored search sorting for world info 2024-04-30 01:39:47 +02:00
Cohee
a7d3130f9a Remove non-existent foreign lorebook extensions 2024-04-29 15:33:56 +03:00
Cohee
6ac6c7cfda #2159 Move debounce constants to a separate module 2024-04-28 19:47:53 +03:00
Wolfsblvt
61e2877c4b Debounce Character and Persona search 2024-04-28 06:27:55 +02:00
Wolfsblvt
d7ade487b8 Refactor common enum for debounce timeouts 2024-04-28 06:21:47 +02:00
Wolfsblvt
6d04e93f34 Debounce WI search 2024-04-28 05:42:15 +02:00
Cohee
5ac0390446 Fix naming convention for LB extension fields 2024-04-27 21:03:55 +03:00
Cohee
413cec8a9f Merge branch 'staging' into wi-entry-inclusion-prio 2024-04-27 18:00:00 +03:00
Cohee
8e7ffab793
Merge pull request #2149 from Wolfsblvt/duplicate-wi-entries
Button to duplicate WI entries
2024-04-27 17:57:59 +03:00
Cohee
770aee4953 Adjust title widths 2024-04-27 17:52:47 +03:00
Wolfsblvt
2e562d187a Option to auto-sort tags (+UI improvements)
- Toggle to auto-sort tags alphabetically
- Init auto-sort based on current sorted state, if not chosen before
- Tag management redraw list if changes happen
- Tag management highlight renamed rows on auto-sort if they get automatically reordered
- Manual drag&drop of tags disables auto-sort option
- Small fixes to popup tag management pop drawing
- Utility function to flash highlight via CSS
2024-04-27 10:26:01 +02:00
Wolfsblvt
b64b0e3362 Button to duplicate WI entries
- Add an option to duplicate a WI entry, copying everything besides UID
- moved UI move action on new WI entry to the UI function, not inside utility
2024-04-27 06:18:26 +02:00
Wolfsblvt
dcb042681d Change group prio name, add default value set 2024-04-27 04:40:35 +02:00
Wolfsblvt
7df2f7e752 WI inclusion groups will never roll for trigger% 2024-04-27 03:44:00 +02:00
Wolfsblvt
8db39a58fb World Info inclusion group prio toggle 2024-04-27 02:23:37 +02:00
Cohee
4370db6bdc Implement World Info activation using Vector Storage 2024-04-23 03:09:52 +03:00
Cohee
022c180b62 Lint and clean-up 2024-04-15 00:39:15 +03:00
Cohee
306bff0a92 #2085 Switch to async token counters 2024-04-13 21:33:19 +03:00
Cohee
b1c2617b0d Only init scroll height of WI keys when first opening the drawer 2024-04-05 13:53:39 +03:00
Cohee
3a0ceae80a Optimize scroll height resets on WI entry render, remove silly logs 2024-04-05 13:45:28 +03:00
Cohee
274abb4749
Merge pull request #2010 from aisu-wata0/wi_min_activations_perf_fix
performance: World Info min activations skips seen buffer
2024-04-04 21:35:36 +03:00
Aisu Wata
0d57f7ea4f fix: removed recurseReset() 2024-04-04 15:19:39 -03:00
Aisu Wata
5ab9d9b863 removed some remnant debug logs 2024-04-04 03:08:17 -03:00
Aisu Wata
95c910a521 fix: WI min activations skips seen buffer 2024-04-04 02:56:39 -03:00
Cohee
bb6ac5147b Add roles to Author's Notes 2024-03-23 18:45:37 +02:00
Cohee
607df2f555 Add ability to insert role-typed prompt injections 2024-03-23 17:36:43 +02:00
Cohee
77784585ba Merge branch 'staging' into tags-as-folders-enhancements 2024-03-16 22:32:01 +02:00
Cohee
6b2374c405 Add function to write extension fields to character cards. 2024-03-12 01:49:05 +02:00
Cohee
596ab89ef7 Run macro substitution before adding text to WI recursion buffer 2024-03-10 00:52:27 +02:00
Wolfsblvt
5ac7826fec Tag Folders: Additional Fixes
- Refactored to one general printTagList method
- Made a robust getTagKeyForEntity function
- Fixed group not displaying tags if autoloaded
- Fixed added tags on character/groups not being auto sorted
- Fixed autoload of group/character that I killed
- Fixed typo
2024-03-07 23:48:50 +01:00
Cohee
d024d7c700 Allow max value for per-entry depth 2024-02-27 23:34:07 +02:00
Cohee
9e5505a7d4 Autocomplete for WI automation IDs 2024-02-25 03:54:40 +02:00
Cohee
3cedf64f66 Add autocomplete for WI inclusion groups 2024-02-24 19:04:44 +02:00
Cohee
3441667336 #1853 Add WI/Script link by entry automation id 2024-02-24 17:22:51 +02:00
Cohee
82c5042bad Prevent extra loop iterations on buffer init 2024-02-23 21:23:44 +02:00
Cohee
4baefeba68 Extend per-entry scan depth limit, add warnings on overflow 2024-02-23 21:18:40 +02:00
Cohee
e329bd8497 Fix JSdoc comments 2024-01-24 13:07:56 +02:00
Cohee
c76cc20a7d Fix default value for new fields 2024-01-24 13:00:43 +02:00