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

chore: disable copy/paste styles feature #2297

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Conversation

HardeepAsrani
Copy link
Member

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

Summary

As we discussed, this PR disables Copy/Paste Styles features for the time being. We still keep the code inside, just disable the feature.

Screenshots


Test instructions

  • Confirm Copy/Paste styles toolbar doesn't appear anymore.

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

@HardeepAsrani HardeepAsrani added the pr-checklist-skip Allow this Pull Request to skip checklist. label Aug 1, 2024
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Aug 1, 2024
@pirate-bot
Copy link
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 263.48 KB 263.48 KB 0 B (0.00%)
Blocks 1.52 MB 1.5 MB -27.88 KB (-1.79%)
CSS 92.73 KB 92.73 KB 0 B (0.00%)
Dashboard 195.5 KB 195.5 KB 0 B (0.00%)
Onboarding 153.14 KB 153.14 KB 0 B (0.00%)
Export Import 90.21 KB 90.21 KB 0 B (0.00%)
Pro 361.57 KB 361.57 KB 0 B (0.00%)

@pirate-bot
Copy link
Contributor

E2E Tests

Playwright Test Status:

Performance Results serverResponse: 244.05, firstPaint: 159.3, domContentLoaded: 1598.75, loaded: 1599.45, firstContentfulPaint: 3559.65, firstBlock: 6950, type: 12.21, minType: 10.41, maxType: 13.48, typeContainer: 8.51, minTypeContainer: 7.96, maxTypeContainer: 10.25, focus: 33.8, minFocus: 28.47, maxFocus: 46.05, inserterOpen: 24.6, minInserterOpen: 21.19, maxInserterOpen: 33.25, inserterSearch: 0.73, minInserterSearch: 0.57, maxInserterSearch: 0.94, inserterHover: 3.24, minInserterHover: 2.64, maxInserterHover: 4.43, listViewOpen: 151.25, minListViewOpen: 138.04, maxListViewOpen: 161.71

@HardeepAsrani HardeepAsrani merged commit 799efe6 into development Aug 1, 2024
12 of 13 checks passed
@HardeepAsrani HardeepAsrani deleted the fix/issue-213 branch August 1, 2024 19:26
@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