You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Media viewer: "N of M" counter and message actions (forward, draw, reply, delete, show in chat) #6822
Is your feature request related to a problem? Please describe.
The swipeable media viewer from #6586 shows the sender and the date. Its overflow menu has only "Share" and "Save", and only after the file is downloaded. To reply to a photo, delete it, forward it or find it in the chat, I must close the viewer and look for the message in the chat. I also do not see where I am in the list of media.
Talk has no way to forward a file at all: "Forward" in the message menu forwards only text.
Describe the solution you'd like
In the media viewer:
A counter "N of M" in the top bar. The newest item is "M of M", like in other messengers. A "+" is shown while older media can still be loaded.
Overflow menu: "Save to gallery", "Show all media" (opens Shared items), "Show in chat", "Reply", "Share", "Delete".
Buttons "Forward" and "Draw". "Draw" is for photos only (not GIF, not SVG).
Video gets the same actions, except "Draw".
Visibility rules are not copied. The viewer calls the same buildMessageActionsState as the message menu. Actions that need the message from the local database (reply, delete, forward, draw) are hidden when the item was loaded from the server only.
The chat executes the actions with its existing handlers:
"Reply" and "Delete" use the same code as the message menu, including the delete confirmation.
"Forward" opens the existing "Forward to" conversation picker. The file is shared into the target conversation again through the existing share endpoint (the same step that ends an attachment upload). No new upload.
Activity