Commit Graph
47 Commits
Author SHA1 Message Date
relhamdi 30fed09bb3 Use updated updateSlotVisibility and debounce 2026-05-28 10:32:34 +02:00
relhamdi accad0c689 Update updateSlotVisibility by removing nodes from the end; add debounce utils 2026-05-28 10:32:18 +02:00
relhamdi fa79822c2b Add js for PromptRouter node 2026-05-27 00:01:36 +02:00
relhamdi 3eac431e82 Extract updateSlotVisibility function into utils 2026-05-26 23:59:02 +02:00
relhamdi 39946c3939 Extract hideWidget function into utils 2026-05-26 23:49:36 +02:00
relhamdi ff6bbeb612 Adjust coloration to be active also when input is not empty 2026-05-25 14:06:04 +02:00
relhamdi c5867014dd Adjust coloration to be active only when a node is connected 2026-05-25 13:59:33 +02:00
relhamdi ba4bfab965 Add coloration on selected input in PromptSwitch 2026-05-25 13:53:31 +02:00
relhamdi 54d4887705 Fix comment 2026-05-25 13:53:18 +02:00
relhamdi 483d3529b5 Update slot visibility logic to not hide slots < current slot 2026-05-25 11:29:32 +02:00
relhamdi 2f1507c31a Fix removing empty elements to avoid trailing commas 2026-05-25 11:17:50 +02:00
relhamdi d6f5be3bb4 Add guards against trailing empty spaces 2026-05-25 11:13:20 +02:00
relhamdi e507518d80 Extract node names into const 2026-05-22 17:59:06 +02:00
relhamdi 7d965ab3bc Extract default text color into constants 2026-05-22 17:57:25 +02:00
relhamdi d5893c84a7 Remove extra_options and clean up 2026-05-22 17:50:49 +02:00
relhamdi fe23011bd2 Add js for new cartesian product syntax 2026-05-22 17:42:14 +02:00
relhamdi 4e75064b1c Add js for extra_options 2026-05-21 23:40:51 +02:00
relhamdi d3aeb56a0b Fix PromptLayoutFiller regex pattern to properly break coloration if linebreak in match 2026-05-21 16:43:14 +02:00
relhamdi fe42c78662 Add keydown listener for enter to add proper line break in editor 2026-05-21 16:42:41 +02:00
relhamdi 63ed8e85e2 Fix createEditor function definition using destructuration 2026-05-21 13:53:09 +02:00
relhamdi 63af11db01 Transform functions in const functions 2026-05-21 13:25:43 +02:00
relhamdi 53a513e4e8 Add js for PromptLayoutFiller 2026-05-21 11:47:41 +02:00
relhamdi 4b121af475 Add more delimiters to detect selected word under caret 2026-05-21 11:42:03 +02:00
relhamdi 54724055db Export buildRangeFromOffsets, getSelectedOrWordAtCaret, adjustWeight and editor keydown listener in utils 2026-05-21 11:27:24 +02:00
relhamdi f9d2492189 Fix options not resetting when option text is emptied 2026-05-21 11:09:45 +02:00
relhamdi b3f05777d4 Centralize onInput and onPaste editor listeners in utils 2026-05-21 01:16:50 +02:00
relhamdi 156b9f6b1d Fix exports 2026-05-21 01:13:15 +02:00
relhamdi 38964d57c7 Extract editor creation in utils 2026-05-21 00:52:16 +02:00
relhamdi afd53e3046 Extract escapeHtml, walkTextNodes, saveCaretPosition, restoreCaretPosition into utils file 2026-05-21 00:34:21 +02:00
relhamdi 84d3d40f68 Move COLORS const at the top 2026-05-21 00:26:51 +02:00
relhamdi af907960bd Add js for PromptOptionPicker node 2026-05-21 00:18:19 +02:00
relhamdi de9b765c9e Extract hookWidget utils into separate file 2026-05-21 00:17:14 +02:00
relhamdi 87223ab627 Extract helpers for walking over text nodes 2026-05-20 11:21:55 +02:00
relhamdi 73a0b8eb9d Add keyboard shortcuts to adjust selected text weight 2026-05-20 11:08:29 +02:00
relhamdi c6a76223ab Add guard against html injection with paste that could disturb html coloring 2026-05-19 23:38:23 +02:00
relhamdi 27aff8c0fc Add color for preset references 2026-05-19 23:22:43 +02:00
relhamdi 69412337b0 Restore saved preset on load 2026-05-18 01:36:10 +02:00
relhamdi b5e6da0589 Add all-time coloration in div 2026-05-18 01:32:51 +02:00
relhamdi 94213cd80a Add guards on parseNames against bootup namesWidget values 2026-05-18 01:21:26 +02:00
relhamdi 466fb88f6b Fix openTag, separator and closeTag undeclared 2026-05-18 01:15:51 +02:00
relhamdi 8a1dfe0c89 Extract pattern build and preset count in helpers 2026-05-18 00:28:36 +02:00
relhamdi 7523609f47 Update preset_names to fill a dropdown preset_name in place of preset_index 2026-05-18 00:19:11 +02:00
relhamdi 9a2551e0b1 Add looping over preset_index values 2026-05-17 13:58:58 +02:00
relhamdi ca0456272d Rework js file with new version 2026-05-17 13:41:18 +02:00
relhamdi 06d70c8853 Change web extension name 2026-01-25 12:33:09 +01:00
relhamdi 5c25b06a0a Add dynamic color for separators and presets within tags 2026-01-25 12:32:33 +01:00
relhamdi 9795c01e78 Add JS widget to add color to prompt tags in text field of PromptPresetSelector 2026-01-24 22:12:03 +01:00