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: posts block improvements #2319

Merged
merged 2 commits into from
Aug 2, 2024
Merged

feat: posts block improvements #2319

merged 2 commits into from
Aug 2, 2024

Conversation

HardeepAsrani
Copy link
Member

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

Summary

  • Change default block style to Boxed
  • Change default heading to h4
  • Change the default color, border, and number of posts

Screenshots


Test instructions

  • Confirm all the described changes
  • Most importantly, make sure the default style of new block is Boxed but it shouldn't affect existing blocks.

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

- Change default block style to Boxed
- Change default heading to h4
- Change default color, border and number of posts

Closes Codeinwp/otter-internals#220
@HardeepAsrani HardeepAsrani added the pr-checklist-skip Allow this Pull Request to skip checklist. label Aug 2, 2024
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Aug 2, 2024
@pirate-bot
Copy link
Contributor

pirate-bot commented Aug 2, 2024

Plugin build for 252b3ab is ready 🛎️!

@pirate-bot
Copy link
Contributor

pirate-bot commented Aug 2, 2024

E2E Tests

Playwright Test Status:

Performance Results serverResponse: 232.35, firstPaint: 158.8, domContentLoaded: 1569.8, loaded: 1570.3, firstContentfulPaint: 3447.85, firstBlock: 7627.85, type: 12.14, minType: 10.29, maxType: 15.87, typeContainer: 8.65, minTypeContainer: 7.43, maxTypeContainer: 10.47, focus: 31.72, minFocus: 27.66, maxFocus: 34.76, inserterOpen: 22.75, minInserterOpen: 19.74, maxInserterOpen: 36.89, inserterSearch: 0.7, minInserterSearch: 0.61, maxInserterSearch: 0.88, inserterHover: 2.87, minInserterHover: 2.53, maxInserterHover: 3.73, listViewOpen: 143.39, minListViewOpen: 132.78, maxListViewOpen: 159.57

@pirate-bot
Copy link
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 263.53 KB 263.53 KB 0 B (0.00%)
Blocks 1.51 MB 1.51 MB 230 B (0.01%)
CSS 93.23 KB 93.23 KB 0 B (0.00%)
Dashboard 196.5 KB 196.5 KB 0 B (0.00%)
Onboarding 153.19 KB 153.19 KB 0 B (0.00%)
Export Import 90.25 KB 90.25 KB 0 B (0.00%)
Pro 365.23 KB 365.23 KB 0 B (0.00%)

@HardeepAsrani HardeepAsrani merged commit 1531c54 into development Aug 2, 2024
11 checks passed
@HardeepAsrani HardeepAsrani deleted the fix/issue-220 branch August 2, 2024 17:49
@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 the released Indicate that an issue has been resolved and released in a particular version of the product. label 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