]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
webui: Improve copy to clipboard with text attachments (#17969)
authorAleksander Grygier <redacted>
Tue, 16 Dec 2025 06:38:46 +0000 (07:38 +0100)
committerGitHub <redacted>
Tue, 16 Dec 2025 06:38:46 +0000 (07:38 +0100)
commit3034836d36bfd4ba1d1cc9173c9bef2c70ffd136
treee60f9148d523ef595af7e3d45c6693eb8e34b05a
parenta20979d433e3c8b63a6ba20ed5956ced16f65058
webui: Improve copy to clipboard with text attachments (#17969)

* feat: Create copy/paste user message including "pasted text" attachments

* chore: update webui build output

* chore: update webui static output

* fix: UI issues

* chore: update webui static output

* fix: Decode HTML entities using `DOMParser`

* chore: update webui build output

* chore: update webui static output
19 files changed:
tools/server/public/index.html.gz
tools/server/webui/README.md
tools/server/webui/package.json
tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentPreview.svelte
tools/server/webui/src/lib/components/app/chat/ChatForm/ChatForm.svelte
tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessage.svelte
tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettings.svelte
tools/server/webui/src/lib/components/app/misc/SyntaxHighlightedCode.svelte
tools/server/webui/src/lib/constants/settings-config.ts
tools/server/webui/src/lib/utils/clipboard.ts [new file with mode: 0644]
tools/server/webui/src/lib/utils/copy.ts [deleted file]
tools/server/webui/src/lib/utils/index.ts
tools/server/webui/src/lib/utils/latex-protection.test.ts [deleted file]
tools/server/webui/src/lib/utils/model-names.test.ts [deleted file]
tools/server/webui/tests/server/demo.spec.ts [deleted file]
tools/server/webui/tests/unit/clipboard.test.ts [new file with mode: 0644]
tools/server/webui/tests/unit/latex-protection.test.ts [new file with mode: 0644]
tools/server/webui/tests/unit/model-names.test.ts [new file with mode: 0644]
tools/server/webui/vite.config.ts