Skip to content

[Story] Show that I have been mentioned in the push notification #2065

@VolkerJunginger

Description

@VolkerJunginger

Story

As a user that has been mentioned I want to see this in the push so that I can react fast.

Figma link: TBD

Acceptance criteria

  • show that user has been mentioned in the push

Size estimate

M

Dependencies

MSC

Preconditions

  • We need backend support for the new push rule but we can simulate the behavior by setting a similar push rule at the room level.

Open questions

### Questions
- [x] Can we implement [MSC4028](https://github.com/matrix-org/matrix-spec-proposals/pull/4028) in Synapse? -> Yes it is coming
- [x] What kind of copy should we display for the mention in push notifications?
- [x] Would the copy be different between the mention of the reading user and the mentions of other users if multiples are contained?
- [x] ~~We need to call this [API](https://spec.matrix.org/v1.8/client-server-api/#put_matrixclientv3pushrulesscopekindruleidenabled) to allow the MSC 4028 push rule to be enabled or disabled~~ we will not need it given the new MSC spec
- [x] The push rule might not even exist on the server so we would need to also have an API that allows us to check if it is present or not (otherwise the Mentions Only option is probably useless to have for encrypted rooms)
- [ ] Could we consider this story done if the feature is not enabled on matrix.org?

Subtasks

### Android
- [ ] https://github.com/vector-im/element-x-android/issues/1451
- [ ] https://github.com/vector-im/element-x-android/issues/1794
### iOS
- [ ] https://github.com/vector-im/element-x-ios/issues/1825
- [ ] https://github.com/vector-im/element-x-ios/issues/2078
### Rust
- [ ] https://github.com/matrix-org/matrix-rust-sdk/issues/2606
- [ ] https://github.com/matrix-org/matrix-rust-sdk/issues/2834
- [ ] https://github.com/matrix-org/matrix-rust-sdk/pull/2840
### Design
- [x] How the mention text is displayed
  • QA signoff on completion
  • Design signoff on completion
  • Product signoff on completion

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions