Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Gallery block: allow editing image #2389

Closed

Description

@pinarol

Let's focus on bringing image editing into Gallery after completing the work with Media-Text.

Activity

  1. added
    [Type] Enhancement
    on Jun 16, 2020
  2. self-assigned this
    on Jun 30, 2020
  3. geriux commented on Jul 9, 2020

    @geriux
    Contributor

    Hey @iamthomasbishop 👋

    I'm working on adding media editing for Gallery but I'd need some design specifications for the UI of the buttons.

    We need to find a place for the Media editing button, the thing is it shouldn't be too different from Image, Media & Text, and Cover so we reuse as much as we can since all of them share the same Image component. I'm attaching a screenshot of the new button in Gallery, I had to move the remove button so I could show you better. Let me know any ideas/questions you might have.

    Functionality wise, the new button will open the options Edit and Replace. Tapping on the image would open the image in full screen.

    Current With Media editing button

    Thank you!

  4. iamthomasbishop commented on Jul 10, 2020

    @iamthomasbishop
    Contributor

    @geriux perhaps we should put the 'x' action in the edit menu to conserve some space?

    Question: would a long-press on a gallery image cell open the action sheet like we have on image and now cover blocks?

  5. geriux commented on Jul 10, 2020

    @geriux
    Contributor

    @geriux perhaps we should put the 'x' action in the edit menu to conserve some space?

    I moved the delete action, what do you think?

    Question: would a long-press on a gallery image cell open the action sheet like we have on image and now cover blocks?

    Yup, I show it in the gif above as well =)

    Thanks!

  6. iamthomasbishop commented on Jul 11, 2020

    @iamthomasbishop
    Contributor

    @geriux I like that! One tiny nitpick: Can we change "delete" to "remove"? Because we are just removing image from the gallery, not deleting it altogether. 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Media[Type] Enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions