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

Open in new tab for Review Block links #1846

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

Soare-Robert-Daniel
Copy link
Contributor

@Soare-Robert-Daniel Soare-Robert-Daniel commented Sep 1, 2023

Closes #1840

Summary

🔩 Added the option to open the links in the same tab.
ℹ️ Default behavior opens in the new tab to preserve the current status.

Screenshots

image


Test instructions

  1. Create a Product Review Block
  2. Check the options that allow you to open the link in the same or a new tab (Inspector > Settings > Buttons)

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 Sep 1, 2023
@Soare-Robert-Daniel Soare-Robert-Daniel marked this pull request as ready for review September 1, 2023 14:32
@pirate-bot
Copy link
Contributor

Plugin build for 1664bc1 is ready 🛎️!

@pirate-bot
Copy link
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 270.81 KB 270.87 KB 60 B (0.02%)
Blocks 1.42 MB 1.42 MB 479 B (0.03%)
CSS 85.28 KB 85.34 KB 60 B (0.07%)
Dashboard 122.49 KB 122.55 KB 60 B (0.05%)
Export Import 83.17 KB 83.23 KB 60 B (0.07%)
Pro 303.34 KB 303.4 KB 60 B (0.02%)

@pirate-bot
Copy link
Contributor

E2E Summary

Typing

Test Average Time (ms) Standard Deviation (ms) Median Time (ms) Quantile for soft limit (%) Quantile for hard limit (%)
Typing 70.24 3.81 70.61 0 (60ms) 100 (80ms)
Values above 60ms "0 - 79.05, 1 - 66.83, 2 - 61.58, 3 - 69.59, 4 - 72.41, 5 - 72.48, 6 - 71.77, 7 - 71.36, 8 - 75.13, 9 - 74.59, 10 - 67.72, 11 - 68.23, 12 - 65.32, 13 - 72.78, 14 - 70.61, 15 - 68.59, 16 - 70.65, 17 - 67.73, 18 - 68.05"

@rodica-andronache
Copy link

@Soare-Robert-Daniel everything's working well 👍

@HardeepAsrani HardeepAsrani merged commit 3d002a8 into development Sep 12, 2023
30 checks passed
@HardeepAsrani HardeepAsrani deleted the feat/review-link-option branch September 12, 2023 11:01
@pirate-bot
Copy link
Contributor

🎉 This PR is included in version 2.4.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 Sep 21, 2023
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) 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.

Otter Blocks: Add Target setting in Product Review Block Buttons
4 participants