This adds a quick reply feature with a text field inline in the notification popup.
An action named reply will spawn the text field and a NotificationReplied signal is emitted then.
There's additional kde hints for changing the placeholder text (defaults to "Type a reply..."), submit button text (defaults to "Send") and submit button icon name (defaults to "document-send", that paper aeroplane icon).
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma VDG - Commits
- R120:73a3222c6dd1: Merge branch 'broulik/quickreply'
Depends on D25832 for KWin
Doesn't work on Wayland because there notifications never ever ever get focus and I am sick and tired of running after KWin people to have this addressed.
Notification, just has a normal button - should we have some form of indication that it will spawn a quick reply here actually instead of e.g. bringing up the app or something?
Default placeholder and button
Custom placeholder and button
Button enabled after typing (can also hit Return/Enter so send)
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I'm not sure. TextArea is a lot more annoying to work with, and the replies typically are short. I think Android also only has single line.