Skip to content

Add images from compose box #56

Closed
@gnprice

Description

@gnprice

I.e., the feature represented by a "picture" icon under the compose box, in the existing RN app.

This should present the user with an appropriate image-picker UI from the platform, where they're able to select from the images they have on the device.

After the user selects an image, they should have the opportunity to add text before sending the message. (We only fixed that pretty recently in the RN app: zulip/zulip-mobile#4540 . But it was a bad UX before that, which we shouldn't repeat.) Probably this means doing the same thing we do now (since zulip/zulip-mobile#5474) in the RN app, which is also what we do in the web app: we immediately insert a placeholder into the message text, then start the upload, and when the image is uploaded and we have a URL for it we fill in the placeholder.

For implementing the platform side of this feature:

  • Flutter has a first-party plugin image_picker.
    • 80 open issues, of 390 total; see ranked by upvotes.
    • Bulk of the top issues are closed. Looking at the top remaining issues, none seem worrying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-composeCompose box, autocomplete, attaching files/images

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions