element-x-ios icon indicating copy to clipboard operation
element-x-ios copied to clipboard

Push notifications should be immediately added to the timeline.

Open ara4n opened this issue 2 years ago • 4 comments

Steps to reproduce

  1. Receive a push, which shows you the contents of a message (e2ee or otherwise)
  2. Open the app (either manually or from the push)
  3. Expect to immediately see that message in the timeline, given the app knows the push exists, given it just showed it.
  4. In practice, the message won't be visible until the app has synced, which then feels very clunky (even if the sync is fairly fast thanks to SS). This is particularly bad if SS is slow because it has to catch up on incr sync after being offline for 20m or so.

Outcome

What did you expect?

App should know about messages it shows you via push.

What happened instead?

App doesn't know, and has to re-sync from the server, which feels 🤦🏻 to the user.

Your phone model

No response

Operating system version

No response

Application version

279

Homeserver

No response

Will you send logs?

No

ara4n avatar Jul 08 '23 16:07 ara4n

We all want it but it will be hard to achieve on iOS with its multi-process. The amount of work to make the state and coming timeline stores multi-process capable will be harder and longer than for what we did crypto store. It will be easier for EAX.

manuroe avatar Jul 11 '23 13:07 manuroe

i guess my thought is that given the state & timeline stores don't exist yet (afaik?) perhaps we can implement from the outset to be multiprocess aware, so push and share extensions etc can interact sensibly with the state of the app.

ara4n avatar Jul 16 '23 13:07 ara4n

The state store already exists. Its API surface is much larger than the crypto store one. This is why we consider the work to be huge.

The timeline store is to be built. The multi process will be of course considered.

manuroe avatar Jul 17 '23 04:07 manuroe

👋

Is this why, currently, when someone sends me a message and I tap the message notification, expecting a) open app b) show me chat and c) show me latest message, it does a) and b) but not c)?:

  • If yes then please confirm
  • If no then perhaps you can direct me to open issue (I did search and this issue seems most relevant 🤷) so I can contribute or create a new issue

🤞

ldexterldesign avatar Feb 15 '25 19:02 ldexterldesign

+1

b1ggi avatar Dec 03 '25 21:12 b1ggi

One of many basic UX reasons why I don't use Element any more; 10 months on and evidently still not fixed 😵‍💫

ldexterldesign avatar Dec 07 '25 05:12 ldexterldesign