💡 Idea
A new type of action for copying a specified value to the clipboard.
I'm currently writing a program that scans my emails for one time passcodes, and when found, sends a notification of the code to my phone so I don't need to check my email. It would be nice if there was a button I could click that would copy the code to my clipboard. In the app you can hold to copy the entire contents of the notification, but I want to copy it directly from the notification and don't want to open another app to get the code. I also may want more information in the notification that I don't want copied, such as the app the code is for.
The new action could look like
{
"action": "copy",
"label": "Copy",
"value": "1234",
}
Where the value (in this case "1234") gets copied to the system clipboard.
💻 Target components
The server would need to handle the new action type. I'm not sure if the apps would need to handle the new action copying to clipboard, or if the OS would handle that with whatever the server sends.
I'm open to working on this if the idea is approved.
💡 Idea
A new type of action for copying a specified value to the clipboard.
I'm currently writing a program that scans my emails for one time passcodes, and when found, sends a notification of the code to my phone so I don't need to check my email. It would be nice if there was a button I could click that would copy the code to my clipboard. In the app you can hold to copy the entire contents of the notification, but I want to copy it directly from the notification and don't want to open another app to get the code. I also may want more information in the notification that I don't want copied, such as the app the code is for.
The new action could look like
{ "action": "copy", "label": "Copy", "value": "1234", }Where the value (in this case "1234") gets copied to the system clipboard.
💻 Target components
The server would need to handle the new action type. I'm not sure if the apps would need to handle the new action copying to clipboard, or if the OS would handle that with whatever the server sends.
I'm open to working on this if the idea is approved.