element-hq / element-x-ios

Next generation Matrix client for iOS built with SwiftUI on top of matrix-rust-sdk.
https://element.io/labs/element-x
GNU Affero General Public License v3.0
418 stars 97 forks source link

Local echo for file upload. #1288

Open ara4n opened 1 year ago

ara4n commented 1 year ago

Steps to reproduce

  1. Upload an image
  2. Nothing appears in the timelime until remote echo of the event has bounced off the server.

Outcome

What did you expect?

Local echo of the thing you're trying to send, both while you're sending it (see https://github.com/vector-im/element-x-ios/issues/1283) and after it's sent.

What happened instead?

Upload appears like it's fallen into the void (especially if server is slow, overloaded, or bad network) - or, alternatively, suddenly unexpectedly pops the timeline a second or so later once the remote echo comes in.

Your phone model

No response

Operating system version

No response

Application version

279

Homeserver

No response

Will you send logs?

No

Velin92 commented 1 year ago

Requires: https://github.com/matrix-org/synapse/pull/15503.

manuroe commented 1 year ago

I removed the scheduled labels. We want to it later in this epic: https://github.com/vector-im/element-internal/issues/433