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

fix: AI Block container alignment #2289

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

Soare-Robert-Daniel
Copy link
Contributor

@Soare-Robert-Daniel Soare-Robert-Daniel commented Jul 29, 2024

Closes https://github.com/Codeinwp/otter-internals/issues/117

Summary

On the wide mode, center the block.

Screenshots

image


Test instructions

  1. Insert an AI Block
  2. Set the block to Wide using the toolbar
  3. Check if it centered

Checklist before the final review

  • Included E2E or unit tests for the changes in this PR.
  • Visual elements are not affected by independent changes.
  • It is at least compatible with the minimum WordPress version.
  • It loads additional script in frontend only if it is required.
  • Does not impact the Core Web Vitals.
  • In case of deprecation, old blocks are safely migrated.
  • It is usable in Widgets and FSE.
  • Copy/Paste is working if the attributes are modified.
  • PR is following the best practices

@Soare-Robert-Daniel Soare-Robert-Daniel self-assigned this Jul 29, 2024
@Soare-Robert-Daniel Soare-Robert-Daniel added the pr-checklist-skip Allow this Pull Request to skip checklist. label Jul 29, 2024
@Soare-Robert-Daniel Soare-Robert-Daniel marked this pull request as ready for review July 29, 2024 12:36
@pirate-bot
Copy link
Contributor

Plugin build for 08e2547 is ready 🛎️!

@pirate-bot
Copy link
Contributor

E2E Tests

Playwright Test Status:

Performance Results serverResponse: 233.15, firstPaint: 162.5, domContentLoaded: 1564.7, loaded: 1565.45, firstContentfulPaint: 3480.2, firstBlock: 6754.55, type: 12.73, minType: 11.52, maxType: 13.84, typeContainer: 8.64, minTypeContainer: 7.53, maxTypeContainer: 11.38, focus: 31.96, minFocus: 27.82, maxFocus: 40.93, inserterOpen: 24.77, minInserterOpen: 20.83, maxInserterOpen: 33.53, inserterSearch: 0.71, minInserterSearch: 0.6, maxInserterSearch: 0.92, inserterHover: 3.88, minInserterHover: 3.33, maxInserterHover: 4.75, listViewOpen: 146.43, minListViewOpen: 133.29, maxListViewOpen: 161.22

@Soare-Robert-Daniel Soare-Robert-Daniel merged commit 5c5d497 into development Jul 30, 2024
29 of 30 checks passed
@Soare-Robert-Daniel Soare-Robert-Daniel deleted the fix/ai-block-alignment branch July 30, 2024 06:56
@pirate-bot
Copy link
Contributor

🎉 This PR is included in version 3.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added released Indicate that an issue has been resolved and released in a particular version of the product. pr-checklist-complete The Pull Request checklist is complete. (automatic label) labels Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist. released Indicate that an issue has been resolved and released in a particular version of the product.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants