deltachat / deltachat-ios

Email-based instant messaging for iOS.
Other
318 stars 51 forks source link

webxdc app selector #1661

Closed cyBerta closed 2 years ago

cyBerta commented 2 years ago

Similar to a sticker selector, we want to have a simple UI to select and paste webxdc's into a chat.

UI wise we will use a grid layout similarly to the current image selector on iOS. Each grid tile should show the app icon and the application name, the entries in the grid should be sorted by timestamp.

Changes in core are needed so that 0 for the chat ID can be passed to dc_get_chat_media. The returned array should contain all messages of a given account containing the requested message type. The corresponding core ticket: https://github.com/deltachat/deltachat-core-rust/issues/3527

Tapping on a grid tile should add the selected webxdc to the draft area, so that it can be edited before it is sent.

r10s commented 2 years ago

great stuff!