Commit Graph
72 Commits
Author SHA1 Message Date
newtextdoc1111 26528e65cd style: code formatting 2025-05-16 20:13:08 +09:00
newtextdoc1111 26d563926f fix: Enhance matchWord function to support wildcard prefix matching for improved tag queries 2025-05-16 20:12:49 +09:00
newtextdoc1111 9b72e84727 fix: Update normalizeTagToInsert function to handle wildcard calls correctly (#6) 2025-05-16 20:12:08 +09:00
newtextdoc1111 2bc28a28de refactor: Replace inline regex patterns with constants for better readability and maintainability 2025-05-16 03:32:51 +09:00
newtextdoc1111 2f8c805233 feat: Add wildcard tag parsing and extraction functions for enhanced tag handling 2025-05-16 03:32:32 +09:00
newtextdoc1111 b6e37d2e09 style: code formatting 2025-05-16 00:36:17 +09:00
newtextdoc1111 785dd6dd62 fix: Update key event handling for related tags UI to support ui pinning 2025-05-16 00:33:05 +09:00
newtextdoc1111 2b1baf8bfa fix: Hide related tags UI when not Ctrl+Click and not pinned 2025-05-16 00:20:28 +09:00
newtextdoc1111 e24e82e3dd fix: Track keydown events with modifiers to improve autocomplete display handling 2025-05-15 23:39:35 +09:00
newtextdoc1111 17467fb967 fix: Enhance getCurrentPartialTag to handle prompt weight modifiers and improve tag range validation 2025-05-15 16:03:54 +09:00
newtextdoc1111 c5ceca3645 fix: Remove test code 2025-05-15 03:58:10 +09:00
newtextdoc1111 a36805725f fix: Refactor getCurrentPartialTag and getTagFromCursorPosition to utilize getCurrentTagRange for improved tag extraction 2025-05-15 03:48:55 +09:00
newtextdoc1111 cc8b38f529 fix: Improve cursor position validation in getCurrentTagRange function 2025-05-15 03:48:32 +09:00
newtextdoc1111 29cb0dab7e fix: Enhance removePromptWeight function to better handle weights and preserve symbol-only tags 2025-05-15 03:48:19 +09:00
newtextdoc1111 bc4f34a99a fix: Refine weight extraction logic in getCurrentTagRange to handle simple numbers correctly 2025-05-15 00:10:19 +09:00
newtextdoc1111 d87118e3bd fix: Refactor tag insertion logic to utilize getCurrentTagRange for improved accuracy 2025-05-14 22:19:04 +09:00
newtextdoc1111 475ed85466 feat: Add function to get current tag range with handling for weights and parentheses 2025-05-14 22:18:54 +09:00
newtextdoc1111 f4c276d782 fix: Prevent tag insertion when cursor is inside a prompt strength modifier 2025-05-14 19:32:38 +09:00
newtextdoc1111 cd4901d0a5 fix: Remove unused methods from TagData class 2025-05-13 19:35:16 +09:00
newtextdoc1111 6376403757 fix: Enhance tag matching logic mainly special characters 2025-05-13 19:34:48 +09:00
newtextdoc1111 3bdc3d5482 fix: Improve mousedown event listener and documentation in AutocompleteUI class 2025-05-11 16:45:10 +09:00
newtextdoc1111 f28f0756c9 fix: Disable logging output settings by default 2025-05-10 17:46:53 +09:00
newtextdoc1111 ca963baa98 feat: Enhance tag loading logic to prevent overwriting existing tags and improve loading order 2025-05-10 15:55:22 +09:00
newtextdoc1111 1eaab8a88c refactor: Remove redundant tag existence check in insertTagToTextArea function 2025-05-10 03:59:17 +09:00
newtextdoc1111 1e1b07aff6 feat: Add styles for related tags pin toggle button and improve layout toggle logic 2025-05-10 03:59:08 +09:00
newtextdoc1111 e25b406b21 feat: Added pin button to keep related tags UI always visible 2025-05-10 03:11:58 +09:00
newtextdoc1111 11ba860c07 refactor: Improve CSV header handling and validation in loadTags function 2025-05-10 01:12:27 +09:00
newtextdoc1111 7658afa4a1 Refactor autocomplete functionality and improve tag handling
- Refactored AutocompleteUI class to use div elements instead of table for better styling and flexibility.
- Refactored RelatedTagsUI class to match AutocompleteUI
2025-05-10 00:39:48 +09:00
newtextdoc1111 5d1b227217 Change if statement block 2025-05-10 00:35:47 +09:00
newtextdoc1111 e8385184dd feat: Add related tags trigger mode setting 2025-05-09 20:50:56 +09:00
newtextdoc1111 2198a87ce2 refactor: Reorganize setting values structure 2025-05-09 20:35:52 +09:00
newtextdoc1111 219dfc666e feat: Enhance related tags UI with layout toggle and improved header structure 2025-05-09 20:20:14 +09:00
newtextdoc1111 fd381545dd fix: Prevent autocomplete from triggering on modifier key presses 2025-05-09 18:54:49 +09:00
newtextdoc1111 a5355e1b64 chore: gray out related tag if already exist in textarea 2025-05-09 18:32:50 +09:00
newtextdoc1111 5488d6ddec refactor: Update CSV file status API response structure 2025-05-09 15:18:46 +09:00
newtextdoc1111 4827b11168 fix: Adjust related tags UI positioning and styling for better responsiveness 2025-05-09 01:22:32 +09:00
newtextdoc1111 83826f0b80 fix: Reset selectedIndex to 0 when it is -1 in Autocomplete and RelatedTags UI 2025-05-09 01:22:20 +09:00
newtextdoc1111 9753a27dbc - refactor: Refactoring for code readability
- Support keyboard navigation for related tags
2025-05-09 00:00:35 +09:00
newtextdoc1111 5d0d51f2c3 fix: highlightItem calls to no argument 2025-05-08 22:20:06 +09:00
newtextdoc1111 27174964b3 feat: get csv from python api and allow extra csv loading 2025-05-08 22:09:45 +09:00
newtextdoc1111 6536ccaef1 refactor: auto formatting and reorder 2025-05-08 17:14:06 +09:00
newtextdoc1111 05cb745abd refactor: Remove deprecated keypress event handler and update keyup logic for better autocomplete behavior 2025-05-08 16:41:05 +09:00
newtextdoc1111 ca78b26cdc refactor: Simplify autocomplete event handling logic 2025-05-08 16:15:04 +09:00
newtextdoc1111 63fce9cf7a refactor: Rename similar tags to related tags and update related settings 2025-05-08 16:14:18 +09:00
newtextdoc1111 12b782ec02 feat: Add keyup and keypress event handlers for autocomplete and similar tags more natural behaviour 2025-05-08 15:26:08 +09:00
newtextdoc1111 ce3cc9594d refactor: Move getCurrentTag function to utils.js and update its implementation 2025-05-08 15:24:45 +09:00
newtextdoc1111 d099b8822c fix: Improve tag matching logic in findCompletionCandidates and insertTag functions 2025-05-08 15:23:48 +09:00
newtextdoc1111 3f014359e0 add display of cooccurrence initialize process 2025-05-08 00:11:26 +09:00
newtextdoc1111 018bd66766 refactor: Attach event listeners to ComfyUI style 2025-05-08 00:09:34 +09:00
newtextdoc1111 9123944a8c fix: Removed redundant code for exact matches 2025-05-08 00:07:35 +09:00