Skip to content

[MEDIUM] Feature Request: Make attachments to show immediately like the regular messages #35819

@m-natarajan

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number:
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1707112380464339

Problem:

If I post a message like "Hello world", it'll appear exactly as if I had already sent it -- even if in fact it's still uploading it. It will also show grayed out if I'm offline, to indicate it hasn't sent. But we treat attachments differently: we show a static Uploading attachment... message, which is replaced with the preview after upload. I'm not even sure if it works offline, or what it shows while it's queued for offline upload.

Solution:

Let's make attachments work like regular posts in that we should show the attachment immediately in its final location, exactly as if it uploaded instantly. If we are offline and it hasn't yet uploaded, then show the preview grayed out.

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Metadata

Metadata

Labels

NewFeatureSomething to build that is a new item.WeeklyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions