Skip to content

webui: Improve copy to clipboard with text attachments - #17969

Merged
allozaur merged 8 commits into
ggml-org:masterfrom
allozaur:17834-copy-user-message-content-with-pasted-content-attachments
Dec 16, 2025
Merged

allozaur merged 8 commits into
ggml-org:masterfrom
allozaur:17834-copy-user-message-content-with-pasted-content-attachments

Conversation

@allozaur

Copy link
Copy Markdown
Contributor

Close #17834

  • Implemented functionality that allows to copy & paste user message including the pasted text
  • Added a Setting that disables separation of prompt text + attached text and copies/pastes all as a single text string
  • Rearranged copy utils into copy.ts file & supplimented with unit tests
  • Reorganized unit tests location in webui project

Demo

demo.mp4

@allozaur

Copy link
Copy Markdown
Contributor Author

@ggerganov please take a look at this one when u have a moment

@allozaur
allozaur force-pushed the 17834-copy-user-message-content-with-pasted-content-attachments branch from ec61ab6 to 6dce495 Compare December 16, 2025 06:37
@allozaur
allozaur merged commit 3034836 into ggml-org:master Dec 16, 2025
@allozaur
allozaur deleted the 17834-copy-user-message-content-with-pasted-content-attachments branch December 16, 2025 06:45
blime4 referenced this pull request in blime4/llama.cpp Feb 5, 2026
* 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
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
* 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
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
* 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
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
* 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
MrLordCat referenced this pull request in MrLordCat/llama.cpp-rdna-lab Jul 16, 2026
* 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
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: webui: copy prompt with the "pasted" attachment

3 participants