android icon indicating copy to clipboard operation
android copied to clipboard

Directly copy & share from notification bar

Open emdoe opened this issue 6 years ago • 1 comments

It would be more convenient if gotify provides two buttons (copy and share the contents) in the notification bar (under the pushing message, just like "mark as read" and "reply" for IM apps). Correspondingly, a useful option could be that the click of one of these buttons will also automatically clear the notification. However, the hard problem for this feature could be concluded as “what to copy” since I think many users wouldn’t like to share the text organized by markdown. However, copying entire message in plain text will omit the images as well as saving the message as a html file would not be handy for most users. IMO a possible solution could be providing users two options including share and open (see my comment below). If the message just contains a link of one image, (saves and) shares this image. Otherwise shares plain text. Besides, when users click the notification and open the gotify app, provides them an option (e.g., long press the message) to export whole text as markdown or plaintext to the storage.

Besides, it would be great if the app allows users to choose the copy whether or not including the title.

Thanks for consideration.

emdoe avatar Sep 27 '19 11:09 emdoe

For the issue https://github.com/gotify/server/issues/119, I think one of the possible solutions could be providing an option for users to open the link contained in the push message.

emdoe avatar Sep 28 '19 10:09 emdoe

Closing as not needed as there aren't many upvotes or comments from other users.

jmattheis avatar Feb 02 '23 14:02 jmattheis