Skip to content

Add a "Links" tab to the room's media & files browser #3268

Description

@kalix127

Your use case

What would you like to do?

Add a Links tab to a room's media & files browser, alongside the existing Media and Files tabs. It would show the full list of links shared in that room, each with the date it was sent. Tapping a link would scroll to that message in the timeline.

Why would you like to do it?

A dedicated Links list puts them all in one place and makes them easy to jump back to. Similar features exist in apps like WhatsApp and Telegram.
The same request has been raised for Element X iOS (element-hq/element-x-ios#4439)

How would you like to achieve it?

By adding a third tab to the existing media & files browser that lists shared links (with their date), reusing the same "tap to scroll to the message in the timeline" behaviour that media and pinned messages already use.

Note: The Media and Files tabs are populated by the underlying Matrix Rust SDK, which can filter a room's timeline down to just media/file messages. As far as I can tell there's no equivalent filter for "messages containing links", so this may need some SDK support first (or the app scanning messages for URLs).

Have you considered any alternatives?

No response

Additional context

No response

Are you willing to provide a PR?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions