Commit Graph
141 Commits
Author SHA1 Message Date
newtextdoc1111 1c4e081f9a refactor: Comment out debug logs 2025-11-22 16:49:42 +09:00
newtextdoc1111 9c57062011 docs: Update shouldAutoFormat doc comment 2025-11-22 16:49:24 +09:00
newtextdoc1111 38975c11ab refactor: Extract node info retrieval into a separate function for cleaner event handlers 2025-11-22 00:05:14 +09:00
newtextdoc1111 e7eab66d8f feat: Enhance shouldAutoFormat logic to include single-letter placeholders in numeric checks 2025-11-21 19:25:35 +09:00
newtextdoc1111 26772ac8dd feat: Add manual formatting trigger and settings for auto-formatting 2025-11-21 19:05:22 +09:00
newtextdoc1111 f68c0c7dc2 feat: Implement auto-formatting block logic 2025-11-20 22:00:15 +09:00
newtextdoc1111 9f8078c408 refactor: Reorganized the AutoFormatterEventHandler class to make it consistent with other code 2025-11-20 16:12:39 +09:00
BlakeNeko 2715f1f165 Merge branch 'newtextdoc1111:main' into feature/auto_format_on_blur 2025-11-18 11:53:17 +08:00
BlakeNeko 56f506110d refactor: use AutoFormatterEventHandler to maintain architectural consistency, format code indent 2025-11-18 11:15:02 +08:00
BlakeNeko e8b0e44cf4 fix: Remove an invalid setting option 2025-11-15 23:31:59 +08:00
BlakeNeko e622148b27 fix: Update settings to support internationalization properly 2025-11-15 22:25:48 +08:00
BlakeNeko 7a279d71c3 refactor: Moving the enableAutoFormat setting 2025-11-15 22:15:59 +08:00
BlakeNeko ee8b265173 feat: Preserving the previous cursor position 2025-11-15 22:13:59 +08:00
BlakeNeko 80d254c6b4 refactor: Move formatPromptText and formatTextareaOnBlur functions from utils.js to auto-formatter.js 2025-11-15 22:11:46 +08:00
newtextdoc1111 f2920add1d fix: Add tagCategory data attribute for CSS styling 2025-11-13 18:44:43 +09:00
newtextdoc1111 cacee5ddad fix: Use index-based approach for tag data retrieval 2025-11-13 17:01:03 +09:00
BlakeNeko 7f23b02812 feat: add a helper function and trigger it on textarea blur 2025-11-13 11:24:57 +08:00
BlakeNeko edbea2bb43 feat: add auto format settings 2025-11-13 11:21:14 +08:00
BlakeNeko 70f916b825 feat: implement prompt auto-formatter function
- Splits text by lines and cleans up tags separated by commas
- Removes redundant spaces and empty tags
- Ensures each valid line ends with a comma and space
- Preserves empty lines for readability
2025-11-13 11:11:02 +08:00
newtextdoc1111 397c90275f docs: Add auto insert comma setting to README 2025-11-12 21:37:14 +09:00
newtextdoc1111 2c8877060c feat: Added translations for new settings 2025-11-12 21:05:46 +09:00
newtextdoc1111 d6f53ebb0f fix: Update setting IDs to follow i18n-friendly naming conventions 2025-11-12 20:35:13 +09:00
newtextdoc1111 2552e8d746 feat: Implement addWeightToLora function (#46) 2025-11-12 20:19:27 +09:00
newtextdoc1111 96ba7d8055 feat: Add auto insert comma setting for tag insertion (#44) 2025-11-12 20:00:35 +09:00
newtextdoc1111 fe42e198d2 fix: Fix tag normalization to handle multi-tags (#36) 2025-10-29 14:52:31 +09:00
newtextdoc1111 aca0ed6326 feat: Add setting to replace underscores with spaces in tag insertion (#39) 2025-10-24 06:16:11 +09:00
newtextdoc1111 5a4ded44b8 feat: Add testing support for autocomplete functions 2025-10-22 08:29:48 +09:00
newtextdoc1111 295d0c0cdc fix: Add null checks to autocomplete functions 2025-10-22 04:15:13 +09:00
newtextdoc1111 37ce793208 fix: Include hyphens in tag encoder split regex 2025-10-22 04:06:56 +09:00
newtextdoc1111 2386fc7aa0 fix: Optimize CSV loading process 2025-10-22 04:01:59 +09:00
newtextdoc1111 937c5bb283 fix: Fix TagData creation for invalid tag in RelatedTagsUI 2025-10-19 23:39:45 +09:00
newtextdoc1111 d4725dfebc feat: Add option to hide aliases in autocomplete and related tags display (#33) 2025-10-18 02:38:00 +09:00
newtextdoc1111 3cb5a41cc8 fix: Temporarily comment out CSV update check button until remote file detection is properly implemented 2025-10-14 23:46:41 +09:00
newtextdoc1111 7b89683bfc fix: Change to toLowerCase to simplify string normalization 2025-07-28 15:45:23 +09:00
newtextdoc1111 72b9bd94ee fix: Improved the encoder to provide more accurate suggestions 2025-07-28 14:05:49 +09:00
newtextdoc1111 67b7b334b8 feat: Add embeddings and loras autocompletion 2025-07-28 05:21:57 +09:00
newtextdoc1111 5b6fb8f490 refactor: Separates autocomplete logic into two methods: "sequentialSearch" and "searchWithFlexSearch" 2025-07-23 12:39:52 +09:00
newtextdoc1111 83dc2585ed fix: Correct formatting 2025-07-23 11:14:23 +09:00
newtextdoc1111 bf7823e985 fix: Increase the search result limit for FlexSearch to provide more accurate suggestions. 2025-07-23 11:12:23 +09:00
newtextdoc1111 6c29336435 feat: Optimized FlexSearch document and encoder settings to improve autocompletion 2025-07-23 07:47:52 +09:00
newtextdoc1111 bafce3ca47 fix: Remove unused Charset import from FlexSearch module 2025-07-19 09:29:14 +09:00
newtextdoc1111 6e7ebdae0a feat: Add tooltip for 'Use Fast Search' setting 2025-07-19 08:41:48 +09:00
newtextdoc1111 bd12dd933f docs: Add comment to fast search code 2025-07-19 08:39:07 +09:00
IceSandwich 6b34f3876f change flexSearchLimit to flexSearchLimitMultiplier 2025-07-17 20:51:59 +08:00
IceSandwich 59938c08d0 calculate the search limit from CSV files 2025-07-17 11:12:24 +08:00
IceSandwich 9c6215139b display actual candidate count when using fast search 2025-07-17 10:12:15 +08:00
IceSandwich cfda834141 Merge branch 'dev' into fast_search 2025-07-17 09:59:44 +08:00
IceSandwich b4175e700b fix the issue when input in tag and alias at the same time 2025-07-16 15:46:22 +08:00
IceSandwich b6c03233ba fix the behavior of matching words 2025-07-16 14:20:51 +08:00
IceSandwich 385f9d1c4f remove period handling completely 2025-07-16 10:58:03 +08:00