Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification text action support. JB#55557 #41

Merged
merged 2 commits into from Jun 28, 2023

Conversation

pvuorela
Copy link
Contributor

Started here with PR #11 but the input map handling was broken, handling that properly didn't seem to go along nice and the usage on notification plugin side didn't feel entirely good. So instead moved to a simpler way with sailfishos/nemo-qml-plugin-notifications#9 . Think that should be good enough to get this moving forward now.

If the type info is included, pass it on the notification.
@pvuorela pvuorela requested review from abranson and Tomin1 June 20, 2023 08:53
src/notifications/notificationmanager.cpp Outdated Show resolved Hide resolved
src/notifications/lipsticknotification.h Outdated Show resolved Hide resolved
In case a text parameter for invokeAction on LipstickNotification is
passed, there's remoteTextActionActivated on NotificationManager for
the homescreen side to handle.
@pvuorela pvuorela merged commit 26c5670 into master Jun 28, 2023
@abranson
Copy link
Member

Getting an error elsewhere on the actionInvoked call when tapping notifications:

lipstick[6209]: [W] unknown:120 - file:///usr/share/lipstick-jolla-home-qt5/notifications/NotificationStandardGroupItem.qml:120: Error: Insufficient arguments

Might be better to make that new parameter optional, as mismatched qml calls are hard to find at build time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants