Commit Graph

416 Commits

Author SHA1 Message Date
f145dfcb2d fix edge cases, put toastr on a diet 2025-05-21 15:35:12 +09:00
11908f7363 Work on tl 2025-04-28 18:45:16 +07:00
ed895b7c3e Merge pull request #3889 from BismuthGlass/feature/wi_global_matches
World Info chat-independent data matching
2025-04-27 21:00:57 +03:00
6eb89bd21c fix some linting 2025-04-25 20:58:28 +02:00
05c010223b Move function above init
Well, I like that init is last in nearly all files...
2025-04-25 20:49:47 +02:00
a667e14c8b Make global WI placeholder translatable 2025-04-25 20:45:13 +02:00
470a0964f7 Initialize world info during app startup
Moves world info event binding from jQuery document-ready handler
to explicit initialization function for better control flow
Ensures world info setup occurs after core dependencies are loaded
2025-04-25 20:43:13 +02:00
421c924c22 Do not append empty joiners 2025-04-25 21:01:53 +03:00
b233cc2480 Add extra field docs 2025-04-25 03:23:14 +01:00
a3d7b540c7 Change field names to match required fields 2025-04-25 03:11:36 +01:00
6ddd395211 Move new globalScanData args to the end 2025-04-25 00:49:12 +01:00
994f51c18e Add back chat param 2025-04-24 20:22:47 +01:00
5504021374 Add missing machCharacterPersonality to World Info Definition 2025-04-24 20:21:52 +01:00
4d483e7814 Change handleOptionalSelect name 2025-04-24 20:21:24 +01:00
d7780ee4bb Fix character card lorebook imports / exports 2025-04-24 20:13:18 +01:00
4db07402c4 Change double quotes to single quotes 2025-04-20 23:26:47 +01:00
b38673a5cd Fix matching issues for depth prompt 2025-04-20 23:15:30 +01:00
14582e67a0 Fix world info entry saves for match fields 2025-04-20 22:56:06 +01:00
2683549be8 Fix save bug 2025-04-20 22:40:44 +01:00
50379f6b6e Change character note to character depth prompt 2025-04-20 21:42:48 +01:00
d2ffefd24c Implement WI matching on global data 2025-04-20 21:09:19 +01:00
7748c315d7 Add WIGlobalScanData type 2025-04-20 21:09:19 +01:00
349d46d74a Change matchCreatorNotes name 2025-04-20 21:09:19 +01:00
297cfe3098 Change matchCharacterMetadata to matchCreatorsNotes 2025-04-20 21:09:19 +01:00
750e8c89a7 Add WIEntry support for new match options 2025-04-20 21:09:19 +01:00
75d0cf828a Fix callback return types 2025-04-19 01:05:14 +03:00
e3f5949cc1 Implemented /getglobalbooks STScript command 2025-04-18 12:32:52 +03:00
c522baf4f7 Make texts translatable 2025-04-09 19:18:05 +03:00
ceceb8f3f0 Change same name logs to toast 2025-04-09 01:21:20 +02:00
6895892d5a Prevent similarily-ish world info renames
Adds validation to block renaming world info entries when new name matches existing name after ignoring case and accents

This avoids unnecessary operations and potential data duplication issues caused by superficial name changes that don't meaningfully differ in normalized form
2025-04-08 20:58:22 +02:00
74efb598f1 Merge pull request #3768 from bmen25124/move_lorebook_entry
Added move button for lorebook entries
2025-03-27 22:36:28 +02:00
62395f409f There's no ==== operator (yet) 2025-03-27 22:34:30 +02:00
561bed9cc2 Replace goofy comment 2025-03-27 22:30:06 +02:00
5f00f2beb0 Add quotes to item title being moved 2025-03-27 22:28:14 +02:00
496f86e16e Use non-strict equality instead to avoid explicit typecast 2025-03-27 22:27:23 +02:00
3ce715c52f Fix deletion from originalData 2025-03-27 22:24:39 +02:00
f4d467048b Fix type error 2025-03-27 22:20:28 +02:00
280608f061 Use real class name 2025-03-27 22:19:49 +02:00
e9c8b8c24e Save both files immediately 2025-03-27 22:17:53 +02:00
8970c8274c Removed jqueryElement.data usages 2025-03-27 14:38:54 +03:00
bc08d42d0e Progress on move entry
* Fixed header alignment
* Building HTML with browser api instead of string.
* jqueryElement.data(key, value) usages converted to jqueryElement.attr(data-key, value)
* Logs simplified
* Removed success toastry message
2025-03-27 06:21:52 +03:00
f14c73bfcc Added move button for lorebook entries 2025-03-27 04:53:16 +03:00
8d06582b58 Add expand editor for WI content
Closes #3764
2025-03-26 21:15:41 +02:00
80e1226d28 Exported reloadEditor 2025-03-23 03:40:04 +03:00
20cdcc37fc Fix fixable lints 2025-03-19 20:00:33 +02:00
8dc66bd21b Better WI type readability, fixed clone and type opeators. 2025-03-17 00:13:39 +03:00
0e41db615e New exports 2025-03-16 23:44:02 +03:00
12824bb680 Clear cached WI on deletion
Fixes #3672
2025-03-12 23:38:10 +02:00
0088333ebf WI: Fix adding empty text to recursion buffer 2025-03-03 00:05:35 +02:00
2df140a6a9 Fix world info binding and alt.greetings editor for first char in the list
Possibly fixes #3579
2025-02-28 10:16:42 +02:00