Commit Graph
65 Commits
Author SHA1 Message Date
relhamdi a68ea708da Rename _combo widget to combo 2026-05-30 19:37:40 +02:00
relhamdi 5278076b4a Remove old lines for widget hiding 2026-05-30 19:34:37 +02:00
relhamdi 7c97c23e55 Remove unused var 2026-05-30 19:31:44 +02:00
relhamdi c4e6cacdcf Refactor using utils functions 2026-05-30 19:31:27 +02:00
relhamdi c208df630e Fix import and comments 2026-05-30 19:24:16 +02:00
relhamdi 702cfe8baa Reorganize file 2026-05-30 19:06:43 +02:00
relhamdi 3f7fa17107 Add new registerNode waitForWidget waitForWidgets functions 2026-05-30 19:04:41 +02:00
relhamdi 03926b874a Use new centralize constants 2026-05-30 18:59:03 +02:00
relhamdi ab2217f2b0 Remove unused line 2026-05-30 18:51:49 +02:00
relhamdi 4aea7f944b Centralize color constants 2026-05-30 18:51:16 +02:00
relhamdi bddf47b73f Add js for QuickCombo 2026-05-30 17:33:28 +02:00
relhamdi 4da59ff056 Use sets to notify other parents of a child when a parent changes the selected value 2026-05-30 15:10:28 +02:00
relhamdi 77dba8679e Fix desynced router and subrouter selections 2026-05-30 14:18:35 +02:00
relhamdi 83a6000506 Add label syntax for PromptOptionPicker 2026-05-29 00:34:20 +02:00
relhamdi 91bb5d22f1 Restore router and sub router values from python first 2026-05-28 11:26:14 +02:00
relhamdi 20e1af249b Add support for sub router in PromptRouter 2026-05-28 11:03:00 +02:00
relhamdi 06fa5e7c25 Refresh PromptRouter combo when node titles have changed 2026-05-28 10:41:35 +02:00
relhamdi c5c61553ac Add empty_value only if options are empty 2026-05-28 10:35:22 +02:00
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