Skip to content

webui: Improve copy to clipboard with text attachments#17969

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

webui: Improve copy to clipboard with text attachments#17969
allozaur merged 8 commits intoggml-org:masterfrom
allozaur:17834-copy-user-message-content-with-pasted-content-attachments

Conversation

@allozaur
Copy link
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
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
7 checks passed
@allozaur allozaur deleted the 17834-copy-user-message-content-with-pasted-content-attachments branch December 16, 2025 06:45
Anico2 added a commit to Anico2/llama.cpp that referenced this pull request Jan 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
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
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