]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
allozaur/feat/chat form contenteditable (#26717)
authorAleksander Grygier <redacted>
Fri, 7 Aug 2026 18:40:10 +0000 (20:40 +0200)
committerGitHub <redacted>
Fri, 7 Aug 2026 18:40:10 +0000 (20:40 +0200)
commitfc6545d322a9ea6643f77439b31b66f403ba2cad
tree2d37bae22344d56915d59fabeb291fca71e3b624
parent1621a3d388b74856e7172fd797e69364d52b7a5b
allozaur/feat/chat form contenteditable (#26717)

* feat: Add contenteditable tokenizer for badge/code-chip chat input

* feat: Add source-space undo/redo history for the rich input

* feat: Split text glued to a closing code fence onto its own line

* feat: Add ChatFormContenteditable rich input renderer

* feat : wire the contenteditable into ChatForm with auto-switch gating
27 files changed:
tools/ui/src/lib/components/app/chat/ChatForm/ChatForm.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContenteditable.svelte [new file with mode: 0644]
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormMentionPicker.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormTextarea.svelte
tools/ui/src/lib/components/app/chat/index.ts
tools/ui/src/lib/components/app/content/MarkdownContent/MarkdownContent.svelte
tools/ui/src/lib/components/app/content/MarkdownContent/markdown-content.css
tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/file-badge.ts
tools/ui/src/lib/constants/css-classes.ts
tools/ui/src/lib/constants/mention-badge.ts
tools/ui/src/lib/enums/keyboard.enums.ts
tools/ui/src/lib/utils/code.ts
tools/ui/src/lib/utils/contenteditable-tokenizer.ts [new file with mode: 0644]
tools/ui/src/lib/utils/index.ts
tools/ui/src/lib/utils/mention-badge.ts
tools/ui/src/lib/utils/source-history.ts [new file with mode: 0644]
tools/ui/tests/client/chat-form-contenteditable-blocks.svelte.test.ts [new file with mode: 0644]
tools/ui/tests/client/chat-form-contenteditable-undo.svelte.test.ts [new file with mode: 0644]
tools/ui/tests/client/chat-form-contenteditable.svelte.test.ts [new file with mode: 0644]
tools/ui/tests/client/chat-form-enter-code-block.svelte.test.ts [new file with mode: 0644]
tools/ui/tests/client/components/ChatFormContenteditableHarness.svelte [new file with mode: 0644]
tools/ui/tests/client/components/ChatFormTestWrapper.svelte [new file with mode: 0644]
tools/ui/tests/unit/code.test.ts
tools/ui/tests/unit/contenteditable-tokenizer.test.ts [new file with mode: 0644]
tools/ui/tests/unit/contenteditable-word-jump.test.ts [new file with mode: 0644]
tools/ui/tests/unit/mention-badge.test.ts
tools/ui/tests/unit/source-history.test.ts [new file with mode: 0644]