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
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
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
d4725dfebc
feat: Add option to hide aliases in autocomplete and related tags display ( #33 )
2025-10-18 02:38:00 +09:00
newtextdoc1111
7b89683bfc
fix: Change to toLowerCase to simplify string normalization
2025-07-28 15:45:23 +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
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
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
newtextdoc1111
e072832216
fix: Improve sorting logic in searchCompletionCandidates for better tag matching
2025-07-16 08:01:11 +09:00
newtextdoc1111
a374ca6c11
feat: Refactor autocomplete data handling to build FlexSearch index after tags are loaded
2025-07-16 08:00:24 +09:00
IceSandwich
8750b5dcac
fix indents
2025-07-14 14:48:20 +08:00
IceSandwich
456bc59240
improve performance by changing the search engine to flexsearch
2025-07-14 14:36:01 +08:00
newtextdoc1111
944ecff9ce
fix: Implement maximum tag length check for performance issue
2025-07-13 22:21:21 +09:00
newtextdoc1111
d97900de4e
fix: Adjust item highlighting timing in autocomplete and related tags UI ( #17 )
2025-05-27 20:21:30 +09:00
newtextdoc1111
9fdbe9a1a9
fix: Update autocomplete display when KeyUp event key is "Process"
2025-05-23 13:02:35 +09:00
newtextdoc1111
421112eb41
feat: Refactor tag source handling and enhance UI with icon support for autocomplete suggestions
2025-05-19 12:21:33 +09:00
newtextdoc1111
053ee9b7a6
feat: Refactor autocomplete and data loader logic to support multiple tag sources (e.g. e621) ( #8 )
2025-05-18 05:46:59 +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
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
d87118e3bd
fix: Refactor tag insertion logic to utilize getCurrentTagRange for improved accuracy
2025-05-14 22:19:04 +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
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
1eaab8a88c
refactor: Remove redundant tag existence check in insertTagToTextArea function
2025-05-10 03:59:17 +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
fd381545dd
fix: Prevent autocomplete from triggering on modifier key presses
2025-05-09 18:54:49 +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
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
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
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