Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/724: Adds "Generate image" button to media upload components #749

Merged
merged 5 commits into from
Mar 29, 2024

Conversation

Sidsector9
Copy link
Member

@Sidsector9 Sidsector9 commented Mar 15, 2024

Description of the Change

Adds the "Generate image" button to media upload components for the following blocks:

  • Image
  • Gallery
  • Cover
  • Media & Text

Closes #724

How to test the Change

Please follow the issue for the steps.

Changelog Entry

Added - "Generate image" button to media upload components

Credits

Props @jeffpaul @Sidsector9

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@Sidsector9 Sidsector9 self-assigned this Mar 15, 2024
@github-actions github-actions bot added this to the 3.1.0 milestone Mar 15, 2024
@Sidsector9 Sidsector9 changed the title feat/724: Adds *Generate image* button to media upload components feat/724: Adds "Generate image" button to media upload components Mar 15, 2024
@Sidsector9 Sidsector9 marked this pull request as ready for review March 15, 2024 17:50
@Sidsector9 Sidsector9 requested review from dkotter, jeffpaul and a team as code owners March 15, 2024 17:50
@github-actions github-actions bot added the needs:code-review This requires code review. label Mar 15, 2024
Copy link
Collaborator

@dkotter dkotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code here looks good but in testing, I'm seeing the Generate image link being added to all media blocks, not just the image related ones. For instance, Video, File and Audio blocks are all getting this. I think we need to ensure we only add this to image related blocks.

Media blocks

@Sidsector9
Copy link
Member Author

That's a good catch @dkotter . I've fixed it, requesting re-review.

@dkotter dkotter merged commit a179405 into develop Mar 29, 2024
13 checks passed
@dkotter dkotter deleted the feat/724 branch March 29, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:code-review This requires code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Generate image as action link in various blocks
2 participants