Closed yash-luna closed 1 year ago
This is waiting on some designs from @darickdang.
@yash-luna My designs weren't actually too far from what WhatsApp has on desktop so I made additional adjustments to bring them more in line with both WhatsApp and Messages.
Here are how the content types look like within a conversation view:
When hovered, we'd expose a down arrow they could click for additional options. Here I've added some potential future features we could add to this menu:
Here are how they look extracted from the UI:
Finally, regarding previewing the content, do we want to build an image/video preview UI?
WhatsApp has a full-blown media browser and iMessage/Messages plays video inline and uses Mac/iOS native media players to handle the preview. I'm happy to design a media preview/browser but I wanted to confirm with you before doing.
These look great @darickdang! Couple questions:
Thanks @darickdang & @yash-luna! We'll also need to know how we want to handle storage — do we want to host these ourselves or have users provide a token? If the token route, we'll need some designs around that.
Hey all, in the spirit of keeping things as unblocked as possible while I hammer out some of the details @yash-luna mentioned, here are links to the Figma for the screens above:
As a default, let's provide it ourselves so sharing attachments over XMTP is as easy as iMessage, Whatsapp, Messenger.
We can add token based storage as opt-in later but it shouldn't be the default because it increases friction
Decision log: scope down attachments work to a v0.5 release for the MUST HAVE that includes generic attachments (with rendering support for images) and crypto send payments.
Attachments - acceptance criteria:
MUST HAVE:
NICE TO HAVE:
Payments - acceptance critieria:
MUST HAVE:
SHOULD HAVE:
NICE TO HAVE:
All attachments in the message list UI have a button to download. This button is displayed on hover. Hover is activated when pointer is anywhere in the attachment/image card in the message list UI
Stands out to me as a nice-to-have relative to the items listed above it, and could be expensive to build. Why is "right click save as" not sufficient?
This feels like a tracking issue for all the attachment work and I suggest we break out each attachment type into individual issues. I started this for image attachments.
Enable users to send & receive images, gifs, videos, voice notes, documents, and payments via xmtp.chat. Share reference implementation with devs along with learnings captured in tutorials and the content type repo (https://github.com/xmtp/xmtp-js-content-types)
[Copying from discussion below for visibility] Decision log: scope down attachments work to a v0.5 release to the MUST HAVE functionality that includes generic attachments (with rendering support for image files) and crypto send payments (moved to its own issue - https://github.com/xmtp-labs/xmtp-inbox-web/issues/299).
Attachments - acceptance criteria:
MUST HAVE:
SHOULD HAVE:
NICE TO HAVE:
[Moved payments criteria to a dedicated issue]