Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
a963247
Add block minimal structure
thealexandrelara Feb 28, 2023
150e090
Add Single Product block icon
thealexandrelara Mar 1, 2023
c4376f3
Add usesContext to block.json
thealexandrelara Mar 3, 2023
f168cf8
Add Save function to Single Product Block registration settings
thealexandrelara Mar 4, 2023
558da33
Add InnerBlocks template to Editor for Single Product Block
thealexandrelara Mar 4, 2023
270ed81
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 8, 2023
cf5e905
Add Product selector to Single Product block
thealexandrelara Mar 8, 2023
ad7b3d1
Add withProduct HOC to the block editor
thealexandrelara Mar 8, 2023
bddcba8
Add save function to the Single Product block
thealexandrelara Mar 9, 2023
f7ffd01
Add renderOnServerSide attribute to Product image
thealexandrelara Mar 9, 2023
85975ee
Add renderOnServerSide attribute to Product Category List block
thealexandrelara Mar 9, 2023
9683707
Add renderOnServerSide attribute to Product Price block
thealexandrelara Mar 9, 2023
aea6171
Add renderOnServerSide attribute to Product Rating block
thealexandrelara Mar 9, 2023
810e578
Add renderOnServerSide attribute to Product Stock Indicator block
thealexandrelara Mar 9, 2023
af44329
Add renderOnServerSide attribute to Product Summary block
thealexandrelara Mar 9, 2023
134673c
Add renderOnServerSide attribute to Product Tag List block
thealexandrelara Mar 9, 2023
44f8d48
Add renderOnServerSide attribute to Product Title block
thealexandrelara Mar 9, 2023
c597452
Add renderOnServerSide attribute to Product Add to Cart, Sales Badge …
thealexandrelara Mar 9, 2023
2b2e967
Reuse editor code for Single Product block
thealexandrelara Mar 9, 2023
e8f0485
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 9, 2023
6aa5dcd
Add Props interface to Single Product Server Side Editor
thealexandrelara Mar 10, 2023
b662d51
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 13, 2023
a9865ab
Add render_block_context hook to SingleProductServerSide block
thealexandrelara Mar 13, 2023
b926dbc
Fix Single Product Server Side block that was not appearing in the bl…
thealexandrelara Mar 14, 2023
09d22b9
Fix bug where the correct product was not being displayed on the fron…
thealexandrelara Mar 14, 2023
b41c45d
Remove Single Product Block
gigitux Mar 15, 2023
d48885e
Merge branch 'trunk' into fix/remove-single-product-block
gigitux Mar 15, 2023
7ce210b
Add Product title and product summary variations
thealexandrelara Mar 15, 2023
daeb00c
Add Add To Cart Form and Product Meta blocks to the Single Product Block
thealexandrelara Mar 15, 2023
bdc22ad
remove more files that belong the Single Product block
gigitux Mar 15, 2023
c57f265
Merge branch 'fix/remove-single-product-block' of https://github.com/…
gigitux Mar 15, 2023
8298400
fix php linter error
gigitux Mar 15, 2023
321b3d7
Merge branch 'trunk' of https://github.com/woocommerce/woocommerce-bl…
gigitux Mar 16, 2023
79b86bc
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 16, 2023
5492bd5
Merge branch 'fix/remove-single-product-block' into feat/add-single-p…
gigitux Mar 16, 2023
4fffeb5
wrap up Single Product Block
gigitux Mar 17, 2023
2567373
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 17, 2023
5cf6e9e
Fix issue preventing the block from working on the Single Product Tem…
thealexandrelara Mar 17, 2023
9af8b21
Fix update context function for Single Product block
thealexandrelara Mar 17, 2023
422423b
Replace Single Product block title
thealexandrelara Mar 17, 2023
2c2b34b
Replace global $post only for Single Product inner blocks
thealexandrelara Mar 17, 2023
5b2334a
Remove unnecessary var_dump statement
thealexandrelara Mar 17, 2023
15f46e8
Improve documentation for the Single Product block
thealexandrelara Mar 17, 2023
e32db09
fix registration: add-to-cart-form and product-meta blocks
gigitux Mar 20, 2023
aabd3f2
Improve documentation for Single Product block
thealexandrelara Mar 17, 2023
8d9f3bd
Fix lint error related to imports
thealexandrelara Mar 20, 2023
583e49e
Remove query monitor debug code
thealexandrelara Mar 20, 2023
b28d10e
Remove unnecessary `renderOnServerSide` attribute from product elements
thealexandrelara Mar 20, 2023
650cb93
Fix return type for the Save function of the Product Elements blocks
thealexandrelara Mar 20, 2023
4c93233
Fix return type for the Save function of the Product Title block
thealexandrelara Mar 20, 2023
0a94903
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 20, 2023
b5a6591
Add scss file for Single Product block
thealexandrelara Mar 20, 2023
815f6d1
Fix PHP coding standards
thealexandrelara Mar 20, 2023
317145e
Fix php coding standards
thealexandrelara Mar 20, 2023
9b024ce
Remove internal dependencies section duplication
thealexandrelara Mar 21, 2023
b877f79
Replace .wc-block with .wc-block-editor- styles
thealexandrelara Mar 21, 2023
adbe4e9
Solve style for the Edit card component in the Single Product block
thealexandrelara Mar 21, 2023
14c87c7
Fix error preventing Block Control from being displayed
thealexandrelara Mar 21, 2023
64aec59
Make the Product title to be a link by default
thealexandrelara Mar 21, 2023
7dfa554
Fix PHP Coding Standards
thealexandrelara Mar 21, 2023
3596e22
Fix PHP Code Standards
thealexandrelara Mar 21, 2023
930a814
Fix php cs issues
thealexandrelara Mar 21, 2023
9095527
Fix issue with php cs
thealexandrelara Mar 21, 2023
07ab19e
Remove unnecessary comment
thealexandrelara Mar 21, 2023
b97bd02
Remove unused Icon import
thealexandrelara Mar 21, 2023
e3fe1c0
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 22, 2023
ecaadec
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 24, 2023
3b66307
Remove unnecessary dot from the className attributes in the Single Pr…
thealexandrelara Mar 24, 2023
3610324
Replace metadata.name with metadata.title in the Editor file
thealexandrelara Mar 24, 2023
c9233af
Ignore phpcs rule
thealexandrelara Mar 24, 2023
83bb365
Add new attributes to the Attributes interface of the Price block
thealexandrelara Mar 24, 2023
6d9dab8
Fix typescript errors on the Product Meta block
thealexandrelara Mar 24, 2023
6e6ecd8
Fix ts errors on Single Product editor
thealexandrelara Mar 24, 2023
8cc11a4
Fix ts errors on layout-editor.tsx
thealexandrelara Mar 24, 2023
561dc19
Fix ts errors in Single Product index file
thealexandrelara Mar 24, 2023
9f83f35
Fix ts errors on add to cart form index file
thealexandrelara Mar 24, 2023
f77ecee
Fix unsupported block error when using inner blocks outside the Singl…
thealexandrelara Mar 28, 2023
2f824f3
Fix unsupported block error for the Single Product block when editing…
thealexandrelara Mar 28, 2023
675f3b1
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 29, 2023
b87d0a5
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 30, 2023
fe807b9
Remove unnecessary JSDoc types
thealexandrelara Mar 30, 2023
31ad081
Remove unnecessary APIError component
thealexandrelara Mar 30, 2023
cd9f9f8
Replace global $post only when rendering a `core/post-excerpt` block
thealexandrelara Mar 31, 2023
8bb4d52
Fix php cs errors
thealexandrelara Mar 31, 2023
667827c
Put the Single Product block behind an experimental flag
thealexandrelara Mar 31, 2023
dadf2dc
Fix error occurring when trying to access ancestor of an undefined bl…
thealexandrelara Mar 31, 2023
d32d65e
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Mar 31, 2023
7d61f35
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Apr 4, 2023
ab6a2bb
Remove JS Doc from shared-product-control.tsx
thealexandrelara Apr 4, 2023
e39d65e
Fix single-product-frontend.js 404 error
thealexandrelara Apr 4, 2023
1e90f34
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Apr 4, 2023
70dfe54
Fix error 'Block names must be string' when adding Single Product block
thealexandrelara Apr 4, 2023
5703ec1
Add todo comment to state the temporary solution used in the Single P…
thealexandrelara Apr 4, 2023
c1bd5dc
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Apr 4, 2023
93e8698
Merge branch 'trunk' into feat/add-single-product-block-server-side
thealexandrelara Apr 5, 2023
a7f84c7
Move the wp_reset_postdata outside the block name check condition
thealexandrelara Apr 6, 2023
70f2892
Add comments about why we need to unregister the block on Single Prod…
thealexandrelara Apr 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'trunk' into feat/add-single-product-block-server-side
  • Loading branch information
thealexandrelara committed Mar 9, 2023
commit e8f0485a8f01c6ea0bed77fc8bd321012cf51114
8 changes: 8 additions & 0 deletions assets/js/atomic/blocks/product-elements/sku/attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ export const blockAttributes: BlockAttributes = {
type: 'boolean',
default: false,
},
isDescendentOfSingleProductTemplate: {
type: 'boolean',
default: false,
},
showProductSelector: {
type: 'boolean',
default: false,
},
};

export default blockAttributes;
You are viewing a condensed version of this merge commit. You can view the full changes here.