It would be super convenient if we can quickly run commands from the notification bar without have to open KDE Connect then choose Run commands blahblah... I mean something like this: http://media02.hongkiat.com/android-notification-features/interact-from-notification.jpg But replace the "Archive" and "Reply" buttons with our run commands.
(In reply to trmdi from comment #0) > It would be super convenient if we can quickly run commands from the > notification bar without have to open KDE Connect then choose Run commands > blahblah... > > I mean something like this: > http://media02.hongkiat.com/android-notification-features/interact-from- > notification.jpg > But replace the "Archive" and "Reply" buttons with our run commands. It has been implemented but not exactly like this. We've added a button that launches run commands interface.
(In reply to Anjani Kumar from comment #1) > (In reply to trmdi from comment #0) > > It would be super convenient if we can quickly run commands from the > > notification bar without have to open KDE Connect then choose Run commands > > blahblah... > > > > I mean something like this: > > http://media02.hongkiat.com/android-notification-features/interact-from- > > notification.jpg > > But replace the "Archive" and "Reply" buttons with our run commands. > > It has been implemented but not exactly like this. We've added a button that > launches run commands interface. Anjani, the reporter is aware of this and is suggesting to have the commands be in the notification itself, instead of how it is now: click "run commands" button in notification, open app which shows the commands, then click the command you want. They want it to be: open notifications, and see the exact command in the notification itself as a button, and run it right there and then. Instead of having to do 2 extra clicks to run it. See the picture attached, its showing how the Gmail app uses 2 buttons with actions right in the notification and this is what they want. What might make it weird is that you might end up with too many commands and it wouldn't be possible to have buttons for all of them. So then, which one goes into the notifications if this was implemented? You would need to implement some way to say that only X, Y, and Z commands should have direct buttons in the notification
(In reply to kdebugtracker from comment #2) > (In reply to Anjani Kumar from comment #1) > > (In reply to trmdi from comment #0) > > > It would be super convenient if we can quickly run commands from the > > > notification bar without have to open KDE Connect then choose Run commands > > > blahblah... > > > > > > I mean something like this: > > > http://media02.hongkiat.com/android-notification-features/interact-from- > > > notification.jpg > > > But replace the "Archive" and "Reply" buttons with our run commands. > > > > It has been implemented but not exactly like this. We've added a button that > > launches run commands interface. > > Anjani, the reporter is aware of this and is suggesting to have the commands > be in the notification itself, instead of how it is now: click "run > commands" button in notification, open app which shows the commands, then > click the command you want. > > They want it to be: > open notifications, and see the exact command in the notification itself as > a button, and run it right there and then. Instead of having to do 2 extra > clicks to run it. See the picture attached, its showing how the Gmail app > uses 2 buttons with actions right in the notification and this is what they > want. > > What might make it weird is that you might end up with too many commands and > it wouldn't be possible to have buttons for all of them. So then, which one > goes into the notifications if this was implemented? You would need to > implement some way to say that only X, Y, and Z commands should have direct > buttons in the notification Well, there are only three action buttons possible in Android notification. Since the clipboard workaround on Android 10 and later requires a button in the notification, we are left with only two. Many people feel send files is pretty handy too in the notification. So we have one. We could put the most executed command but people generally use it for more than one command like lock/unlock.
(In reply to Anjani Kumar from comment #3) > (In reply to kdebugtracker from comment #2) > > (In reply to Anjani Kumar from comment #1) > > > (In reply to trmdi from comment #0) > > > > It would be super convenient if we can quickly run commands from the > > > > notification bar without have to open KDE Connect then choose Run commands > > > > blahblah... > > > > > > > > I mean something like this: > > > > http://media02.hongkiat.com/android-notification-features/interact-from- > > > > notification.jpg > > > > But replace the "Archive" and "Reply" buttons with our run commands. > > > > > > It has been implemented but not exactly like this. We've added a button that > > > launches run commands interface. > > > > Anjani, the reporter is aware of this and is suggesting to have the commands > > be in the notification itself, instead of how it is now: click "run > > commands" button in notification, open app which shows the commands, then > > click the command you want. > > > > They want it to be: > > open notifications, and see the exact command in the notification itself as > > a button, and run it right there and then. Instead of having to do 2 extra > > clicks to run it. See the picture attached, its showing how the Gmail app > > uses 2 buttons with actions right in the notification and this is what they > > want. > > > > What might make it weird is that you might end up with too many commands and > > it wouldn't be possible to have buttons for all of them. So then, which one > > goes into the notifications if this was implemented? You would need to > > implement some way to say that only X, Y, and Z commands should have direct > > buttons in the notification > > Well, there are only three action buttons possible in Android notification. > Since the clipboard workaround on Android 10 and later requires a button in > the notification, we are left with only two. Many people feel send files is > pretty handy too in the notification. So we have one. We could put the most > executed command but people generally use it for more than one command like > lock/unlock. Can the user choose a command to add there instead?
(In reply to trmdi from comment #4) > (In reply to Anjani Kumar from comment #3) > > (In reply to kdebugtracker from comment #2) > > > (In reply to Anjani Kumar from comment #1) > > > > (In reply to trmdi from comment #0) > > > > > It would be super convenient if we can quickly run commands from the > > > > > notification bar without have to open KDE Connect then choose Run commands > > > > > blahblah... > > > > > > > > > > I mean something like this: > > > > > http://media02.hongkiat.com/android-notification-features/interact-from- > > > > > notification.jpg > > > > > But replace the "Archive" and "Reply" buttons with our run commands. > > > > > > > > It has been implemented but not exactly like this. We've added a button that > > > > launches run commands interface. > > > > > > Anjani, the reporter is aware of this and is suggesting to have the commands > > > be in the notification itself, instead of how it is now: click "run > > > commands" button in notification, open app which shows the commands, then > > > click the command you want. > > > > > > They want it to be: > > > open notifications, and see the exact command in the notification itself as > > > a button, and run it right there and then. Instead of having to do 2 extra > > > clicks to run it. See the picture attached, its showing how the Gmail app > > > uses 2 buttons with actions right in the notification and this is what they > > > want. > > > > > > What might make it weird is that you might end up with too many commands and > > > it wouldn't be possible to have buttons for all of them. So then, which one > > > goes into the notifications if this was implemented? You would need to > > > implement some way to say that only X, Y, and Z commands should have direct > > > buttons in the notification > > > > Well, there are only three action buttons possible in Android notification. > > Since the clipboard workaround on Android 10 and later requires a button in > > the notification, we are left with only two. Many people feel send files is > > pretty handy too in the notification. So we have one. We could put the most > > executed command but people generally use it for more than one command like > > lock/unlock. > > Can the user choose a command to add there instead? Add where? The one remaining slot?
(In reply to Anjani Kumar from comment #5) > Add where? The one remaining slot? I meant to make these 2 slots are customizable. Copy | A | B A and B is customizable.
Created attachment 128933 [details] Screenshot of notifications buttons on current version 1.14.2 as it is now. This is how the notification is right now in the current latest version 1.14.2