-
Notifications
You must be signed in to change notification settings - Fork 33
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: Otter Patterns Library #2285
Conversation
This PR adds a new Patterns Library to the plugin that displays patterns from Otter, specifically added to "otter-blocks" library. Video Preview: https://www.loom.com/share/4112ccdf02f847a6b15ed14b8b71046f To add new patterns, one can just add the patterns the normal way and use "otter-blocks" category. It has the following features: - Full Screen Preview - Bulk Insertion - Favorites Closes: Codeinwp/otter-internals#179
@ineagu Let me know what you think. |
Bundle Size Diff
|
Plugin build for 50f6807 is ready 🛎️!
|
E2E TestsPlaywright Test Status: Performance ResultsserverResponse: 238.9, firstPaint: 156.55, domContentLoaded: 1563.95, loaded: 1564.8, firstContentfulPaint: 3498.4, firstBlock: 7788, type: 12.38, minType: 11.23, maxType: 13.75, typeContainer: 8.69, minTypeContainer: 8, maxTypeContainer: 9.22, focus: 32.96, minFocus: 27.72, maxFocus: 40.62, inserterOpen: 21.29, minInserterOpen: 19.49, maxInserterOpen: 25.15, inserterSearch: 0.71, minInserterSearch: 0.61, maxInserterSearch: 0.81, inserterHover: 3.76, minInserterHover: 2.57, maxInserterHover: 14.85, listViewOpen: 141.69, minListViewOpen: 129.54, maxListViewOpen: 154.5 |
this looks great @HardeepAsrani ! Can we display the pro patterns here as well since we aren't in the oficial context anymore, just that you won't be able to import those (we can switch to preview the cta) and they would have a pro label? |
@HardeepAsrani we'll also need a setting in the sidebar panel to disable/enable the patterns button + launch the pattern. the button there can be intrusive for people that don't plan to use this part. |
@ineagu where in the sidebar do you want the button? Inside the Otter settings panel? Also, how do you want use to add Pro patterns upsell here as they aren't registered until you install the Pro? |
|
|
thanks for the update @HardeepAsrani. It's good to know for 2. but we can probably move on now with a simpler solution which is to add a link with a lock icon, called: Premium Designs. Which when clicked is redirects users to : https://themeisle.com/plugins/otter-blocks/patterns/ |
🎉 This PR is included in version 3.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Closes: https://github.com/Codeinwp/otter-internals/issues/179.
Summary
This PR adds a new Patterns Library to the plugin that displays patterns from Otter, specifically added to "otter-blocks" library.
Video Preview: https://www.loom.com/share/4112ccdf02f847a6b15ed14b8b71046f
To add new patterns, one can add them the normal way and use the "otter-blocks" category.
It has the following features:
Screenshots
https://www.loom.com/share/4112ccdf02f847a6b15ed14b8b71046f
Test instructions
Checklist before the final review