Skip to content

Consistent handling of uncached attachments when offline #15095

@thomas-coldwell

Description

@thomas-coldwell

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


Problem

As mentioned in #13304 (comment), uncached attachments need to be handled more consistently across platforms. Specifically:

  • When opening a chat while offline with unloaded images they show as an empty frame:

  • When opening the attachment modal (by clicking on an attachment) on native platforms this shows a loading state and on web an empty attachment modal (see screen recording from linked comment above):

Solution

It would probably be best to have some "Unable to load attachment due to connectivity" state shown to the user rather than the blank state documented above. Any loading states for images and other chat attachments should likely have a very generous timeout or just check if offline so the user can be informed the attachment cannot be loaded due to current connectivity issues.

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions