mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #963] [MERGED] Paste images from clipboard #1477
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1477
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/963
Author: @cmj2002
Created: 11/25/2023
Status: ✅ Merged
Merged: 3/7/2024
Merged by: @binwiederhier
Base:
main← Head:main📝 Commits (4)
a3312f6Web: support pasting images from clipboard94781c8Preview local file before send00fe639Remove debug logging4b1468cWeb: support pasting images to PublishDialog📊 Changes
3 files changed (+60 additions, -13 deletions)
View changed files
📝
web/src/components/AttachmentIcon.jsx(+13 -11)📝
web/src/components/Messaging.jsx(+32 -1)📝
web/src/components/PublishDialog.jsx(+15 -1)📄 Description
Implement #572.
Specific behaviors:
Pasting inside the PublishDialog is ineffective.(edit: feature added)For convenience in previewing, a new feature has also been added: clicking on the icon of the attached local file will create a blob URL using
URL.createObjectURLand open it in a new tab. This feature is effective for all attached local files.This feature has already been tested in Chrome and Firefox (on Windows). Testing on Safari is still needed (I don't have Apple devices). You can test this feature at https://ntfy-clipboard.fly.dev.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.