Skip to content

Better handling of old remote media #4491

@ghost

Description

Disk space being a concern, many instance owners run mastodon:media:remove_remote periodically. This causes however a few UI issues.

  1. Currently, displaying old boosts or old answers to remote media toots directly from the permalink will result in this and this, respectively. The simpler and probably cleanest solution here would probably to check if the preview still exists locally, and if not, replace all that white space with a "🔗 access remote media" button.
  2. The web app has the same problem but a bit more complicated since it depends of whether the toot sits in a feed or is expanded and if the author left the /media/ link included. Example with a toot including the link: feed, expanded. Example of a toot without the link: feed, expanded. Implementing the same button here would probably be a good idea, especially for toots without the /media/ link.

  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
  • This bug happens on a tagged release and not on master (If you're a user, don't worry about this).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions