relhamdi
|
d24b38d5b0
|
Add option parsing utils and tests
|
2026-05-22 17:41:55 +02:00 |
|
relhamdi
|
b158698139
|
Add syntax to do cartesian product on options in PromptOptionPicker
|
2026-05-22 17:41:31 +02:00 |
|
relhamdi
|
bfcaa1ec1c
|
Fix relative import paths
|
2026-05-21 23:46:06 +02:00 |
|
relhamdi
|
27450914c3
|
Add tests for cleanup in PromptLayoutFiller
|
2026-05-21 23:41:32 +02:00 |
|
relhamdi
|
cae4e86118
|
Add cleanup widget in PromptLayoutFiller
|
2026-05-21 23:41:15 +02:00 |
|
relhamdi
|
4e75064b1c
|
Add js for extra_options
|
2026-05-21 23:40:51 +02:00 |
|
relhamdi
|
6fc670a47d
|
Update PromptOptionPicker tests
|
2026-05-21 23:40:36 +02:00 |
|
relhamdi
|
6baed7921d
|
Add extra_options widget field
|
2026-05-21 23:40:01 +02:00 |
|
relhamdi
|
433af90413
|
Update cleanup widget tooltip
|
2026-05-21 23:35:22 +02:00 |
|
relhamdi
|
11b150aae6
|
Add tests for new clean_prompt helper
|
2026-05-21 23:32:35 +02:00 |
|
relhamdi
|
41f8bf6d16
|
Remove clean_prompt match tests and add generic ones
|
2026-05-21 23:32:19 +02:00 |
|
relhamdi
|
a86d449cf4
|
Add utils clean_prompt and cover more cases
|
2026-05-21 23:31:31 +02:00 |
|
relhamdi
|
f99e5344d5
|
Extract clean_prompt function in utils
|
2026-05-21 23:31:06 +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
|
3d383146f1
|
Fix todos
|
2026-05-21 13:14:15 +02:00 |
|
relhamdi
|
c4633a4e75
|
Update README with PRomptOptionPicker and PromptLayoutFiller nodes
|
2026-05-21 12:03:15 +02:00 |
|
relhamdi
|
53a513e4e8
|
Add js for PromptLayoutFiller
|
2026-05-21 11:47:41 +02:00 |
|
relhamdi
|
92a15f7861
|
Register PromptLayoutFiller
|
2026-05-21 11:47:29 +02:00 |
|
relhamdi
|
2cf6187235
|
Add tests for PromptLayoutFiller
|
2026-05-21 11:47:11 +02:00 |
|
relhamdi
|
5353d7a576
|
Add new PromptLayoutFiller node
|
2026-05-21 11:46:58 +02:00 |
|
relhamdi
|
4b121af475
|
Add more delimiters to detect selected word under caret
|
2026-05-21 11:42:03 +02:00 |
|
relhamdi
|
285c102e97
|
Fix typo
|
2026-05-21 11:41:33 +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
|
517372f3f8
|
Declare PromptOptionPicker node
|
2026-05-21 00:16:38 +02:00 |
|
relhamdi
|
359abd4a0f
|
Add tests for PromptOptionPicker
|
2026-05-21 00:16:15 +02:00 |
|
relhamdi
|
ecce1dce7e
|
Add new PromptOptionPicker node
|
2026-05-21 00:16:00 +02:00 |
|
relhamdi
|
8a04bd8e8a
|
Merge pull request #1 from relhamdi/v2
PromptPresetSelector V2
v0.2.0
|
2026-05-20 11:34:19 +02:00 |
|
relhamdi
|
a5c601cfac
|
Update version to 0.2.0
|
2026-05-20 11:23:24 +02:00 |
|
relhamdi
|
c3b83d8bac
|
Update README with keyboard shortcuts
|
2026-05-20 11:22:12 +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
|
efee258829
|
Update README with preset references
|
2026-05-19 23:27:46 +02:00 |
|
relhamdi
|
6b4d7a4f70
|
Extract preset_names into own category
|
2026-05-19 23:26:05 +02:00 |
|
relhamdi
|
27aff8c0fc
|
Add color for preset references
|
2026-05-19 23:22:43 +02:00 |
|
relhamdi
|
b05da19827
|
Add tests for preset references
|
2026-05-19 23:22:26 +02:00 |
|
relhamdi
|
9427250ea1
|
Add feature to references previous presets with
|
2026-05-19 23:22:00 +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 |
|