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

feat: webxdc notify #6230

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

feat: webxdc notify #6230

wants to merge 11 commits into from

Conversation

r10s
Copy link
Member

@r10s r10s commented Nov 19, 2024

this PR adds support for the property update.notify; the property can be set to an array of addresses 1

core emits then the event IncomingMsg instead of MsgsChanged, resulting in all UIs to display a system notification, maybe even via PUSH. no further changes on UI should be needed; UIs could, as an enhancement, show the webxdc icon in the notification, of course.

as text/sender/icon, the existing update.info is used: the message is no secret and should be visible to all group members as usual, to not break the UX of having same group messages on all devices of all users - as known already from the normal messages. also, that way, there is no question what happens if user have disabled notifications (they will just see an informational message)

doc counterpart at webxdc/website#90

closes #6217

Footnotes

  1. addresses come in either via the payload as currently or as an explicit sender in the future - this does not affect this PR. same for translations, see discussions at webxdc notifications (M2) #6217 and [Tracking issue] Webxdc notifications #6097

@r10s r10s changed the title webxdc notifiy & deeplink feat: webxdc notify & deeplink Nov 19, 2024
@r10s r10s force-pushed the webxdc-notifiy branch 2 times, most recently from df4466c to 1a8cc10 Compare November 19, 2024 16:50
@r10s r10s changed the title feat: webxdc notify & deeplink feat: webxdc notify Nov 19, 2024
@r10s r10s marked this pull request as ready for review November 19, 2024 17:09
@r10s r10s added the webxdc label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

webxdc notifications (M2)
1 participant