Albert Juhé Lluveras
31b5f4e00c
Fixes to Twenty Twenty product grid styles ( https://github.com/woocommerce/woocommerce-blocks/pull/2573 )
...
* Remove underline from discounted prices
* Fix position of on sale badge in Twenty Twenty
* Make sure we reset styles from Core
* Fix image on sale badge not correctly positioned
* Fix sale badge alignment when they are on in the right
2020-06-02 09:18:34 +02:00
Darren Ethier
3e0a2c580e
update changelog in readme.txt for 2.6.1 release
2020-06-01 14:49:29 -04:00
Mike Jolley
55b8be7d76
Remove CURRENT_TIMESTAMP default on the stock table ( https://github.com/woocommerce/woocommerce-blocks/pull/2590 )
...
* Remove the default timestamp value which requires mysql 5.6.5
* Change REPLACE INTO with INSERT INTO .. ON DUPLICATE KEY UPDATE
This will allow us to set the timestamp value on first insert only.
2020-06-01 13:40:03 -04:00
Darren Ethier
576686b3d2
fix package version
2020-06-01 13:06:50 -04:00
Albert Juhé Lluveras
00b0a81874
Make filter font sizes named ( https://github.com/woocommerce/woocommerce-blocks/pull/2594 )
2020-06-01 06:45:40 +02:00
Mike Jolley
2361c5f52c
Add "edit product" card to single product block sidebar ( https://github.com/woocommerce/woocommerce-blocks/pull/2585 )
...
* Add edit product card
* Replace with div
2020-05-29 14:50:12 +01:00
Mike Jolley
a5b09b7a43
Update atomic block structure ( https://github.com/woocommerce/woocommerce-blocks/pull/2587 )
...
* Move components to blocks dir
* Update import
* Create edit.js for each block
* Remove components/fix title
* Update imports
* Pass corect attributes on edit
* Import
* remove lightBlockWrapper
2020-05-29 14:49:56 +01:00
Mike Jolley
18480b0d68
Add layour editor to the single product block ( https://github.com/woocommerce/woocommerce-blocks/pull/2586 )
2020-05-29 12:28:04 +01:00
Albert Juhé Lluveras
d1685bda7b
Use named font sizes instead of values in px ( https://github.com/woocommerce/woocommerce-blocks/pull/2533 )
...
* Use named font sizes instead of values in px
* Convert rem mixin to em
* Remove unnecessary line-height
* 'Design' -> 'layout'
* Add comment to magic line-heihgt number
* Update a couple of class names to use BEM
* Use consistent name for SCSS variables
* Fix order summary line heights
* Update docs/contributors/coding-guidelines.md
Co-authored-by: Mike Jolley <mike.jolley@me.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2020-05-29 12:16:33 +02:00
Mike Jolley
597c9ded72
Single Product Block Edit Mode ( https://github.com/woocommerce/woocommerce-blocks/pull/2577 )
...
* Previews
* Edit mode
* Remove preview alt text
* Remove unused styles
2020-05-28 12:41:10 +01:00
Albert Juhé Lluveras
0ba29d28d4
Update placeholder styles ( https://github.com/woocommerce/woocommerce-blocks/pull/2456 )
...
* Convert several default buttons to primary
* Align primary and tertiary buttons
* Align select controls of placeholders
* Don't force a placeholder background color
* Add border to placeholder lists
* Add work-around for SearchListComponent compatibility with last version of @wordpress/components
2020-05-28 12:20:47 +02:00
renovate[bot]
b7430d2197
Update babel monorepo to v7.10.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/2572 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-28 11:03:32 +01:00
Mike Jolley
2dc0e8112a
Create shared contexts handle for inner blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/2568 )
...
* Create shared contexts
* At to jest config
2020-05-28 11:02:10 +01:00
Darren Ethier
401cb20af1
update readme.txt and bump development version
2020-05-27 15:25:20 -04:00
Darren Ethier
926a46b31e
make sure set variable is implemented! ( https://github.com/woocommerce/woocommerce-blocks/pull/2580 )
2020-05-27 13:48:05 -04:00
Darren Ethier
9f0bf26ac3
verify index is present before using ( https://github.com/woocommerce/woocommerce-blocks/pull/2580 )
2020-05-27 13:35:24 -04:00
Darren Ethier
5699778cad
Ensure payment method assets are initialized before main block assets are. ( https://github.com/woocommerce/woocommerce-blocks/pull/2579 )
2020-05-27 12:34:29 -04:00
Albert Juhé Lluveras
bc51052b04
Checkout steps improvements ( https://github.com/woocommerce/woocommerce-blocks/pull/2530 )
...
* Don't render step heading content if there is no content
* Make checkout step headings h2
* Add empty alt value to form step counter
2020-05-27 16:48:23 +02:00
Mike Jolley
a06aa1eb39
Create single product block placeholder ( https://github.com/woocommerce/woocommerce-blocks/pull/2569 )
...
* Create single product block placeholder
* test
* Placeholder frontend js
* Update imports
* Update src/BlockTypes/SingleProduct.php
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update src/BlockTypes/SingleProduct.php
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2020-05-27 15:45:18 +01:00
Mike Jolley
1d2f3e8d3c
Delete orders using delete method in batches of 20 ( https://github.com/woocommerce/woocommerce-blocks/pull/2574 )
...
* Delete orders using delete method in batches of 20
* Batch size to variable
* Tweak conditional for unit tests
* Force delete of draft orders rather than trash
2020-05-27 10:06:44 -04:00
renovate[bot]
38a050bb01
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/2550 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-27 14:55:44 +01:00
renovate[bot]
051b7d928f
Update Node.js to v12.17.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/2571 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-27 14:54:50 +01:00
Albert Juhé Lluveras
35d4031d18
Add arguments to wc_get_shipping_method_count() ( https://github.com/woocommerce/woocommerce-blocks/pull/2543 )
2020-05-27 15:47:49 +02:00
Mike Jolley
a3c20b0dd8
Update abstract block class ( https://github.com/woocommerce/woocommerce-blocks/pull/2566 )
2020-05-27 11:11:47 +01:00
Mike Jolley
b062a67faf
Accept object parameters in renderFrontend util ( https://github.com/woocommerce/woocommerce-blocks/pull/2567 )
2020-05-27 11:11:30 +01:00
Darren Ethier
a5b6061dcc
Ensure all inline @todos in code are covered by issues and obsolete @todos removed. ( https://github.com/woocommerce/woocommerce-blocks/pull/2557 )
...
* Remove todos for colors (see woocommerce/woocommerce-blocks#1331 )
* remove todo for payment method express payments placeholder
No placeholder is needed because we don’t want to show this at all if there are no payment methods setup (or initialized based on `canMakePayment`). The payment methods step will have instructions in the editor for users to setup their payment methods.
So this todo was invalid.
* Remove todo comment for useStoreOrder (see woocommerce/woocommerce-blocks#2555 )
* remove obsolete todos for usePaymentMethodInterface
* changed todo into a Note for the useQueryState tests
With focused work happening on tests, this is better as a note that can be picked up when this file is touched again.
* remove obsolete todo from payment method registration validation
* remove todo covered by created issue (see woocommerce/woocommerce-blocks#2166 )
* remove obsolete todo for stripe utils
* Convert todo to a Note for Checkout Block php registration
For now, I think having the comment block noting what is happening here is sufficient. Whether or not we extend the blocks to cover the other endpoints is something that will surface in future planning and putting in an issue right now coudl be premature (and likely just land the issue in the icebox)
* Remove todo related to ReserveStock covered by woocommerce/woocommerce-blocks#2556
* Remove todo in AbstractRoute covered by issue in WooCommerce project
see https://github.com/woocommerce/woocommerce/pull/26219 for the issue.
* Convert todo to note for wp_version check in Library class
2020-05-26 13:31:33 -04:00
Albert Juhé Lluveras
d81444f208
Use absint for per-page param validation ( https://github.com/woocommerce/woocommerce-blocks/pull/2563 )
...
* Revert "Fix Products by Category JSON response error (https://github.com/woocommerce/woocommerce-blocks/pull/2551 )"
This reverts commit 19f7247d8f
.
* Fix Products by Category JSON response error
2020-05-26 07:34:11 -04:00
Albert Juhé Lluveras
79359e7056
Fix Cart style discrepancies (editor-frontend) ( https://github.com/woocommerce/woocommerce-blocks/pull/2486 )
...
* Fix different heading size of Cart block between frontend and editor
* Increase Cart submit button specificity so styles are applied in the editor
* Ensure buttons don't inherit borders
* Simplify styles
* Create Title component
* Rename 'level' prop to 'headingLevel'
2020-05-25 18:45:38 +02:00
Darren Ethier
0ae5a8d516
Fix links and extra redundant header in README.md
2020-05-25 10:15:13 -04:00
Darren Ethier
4ab10fb2e3
More improvements to README.md
...
- remove usage of word stable
- add better wording in initial sentence.
2020-05-25 10:13:06 -04:00
Darren Ethier
5de4e97463
Update README.md with new version requirements
2020-05-25 10:11:14 -04:00
Albert Juhé Lluveras
19f7247d8f
Fix Products by Category JSON response error ( https://github.com/woocommerce/woocommerce-blocks/pull/2551 )
...
* Fix Products by Category JSON response error
* Create wrapper for the 'intval' function
* Make get_intval public
* Small improvements
2020-05-25 10:05:16 -04:00
Darren Ethier
a25cfaa064
Improve readme.txt with note about nature of feature plugin ( https://github.com/woocommerce/woocommerce-blocks/pull/2553 )
...
* add improvements to readme.txt
* some more tweaks to align with README.md
* Fix up TOC
* Remove errant “This.”
2020-05-25 09:39:21 -04:00
Albert Juhé Lluveras
5f69fd93ba
Exclude three more files from the build ZIP ( https://github.com/woocommerce/woocommerce-blocks/pull/2514 )
2020-05-25 13:12:04 +02:00
Darren Ethier
ce1e334c56
Fix broken dynamic address fields dependent on locale for selected country. ( https://github.com/woocommerce/woocommerce-blocks/pull/2547 )
...
* add missing dependency
* Don’t include all defaultAddressFields in address field config
2020-05-25 07:00:26 -04:00
Darren Ethier
a5bca5708c
Reakit tab already handles selecting the default tab if it isn’t set. ( https://github.com/woocommerce/woocommerce-blocks/pull/2545 )
2020-05-22 15:32:41 -04:00
Darren Ethier
5668f58f2c
Include `onSubmit` handler for CheckoutForm component. ( https://github.com/woocommerce/woocommerce-blocks/pull/2532 )
...
* include `onSubmit` handler for CheckoutForm component and implement
* remove redundant preventDefault
2020-05-22 10:51:38 -04:00
Albert Juhé Lluveras
6d1cb26d63
Import TwentyTwenty block styles from Core ( https://github.com/woocommerce/woocommerce-blocks/pull/2513 )
...
* Add TwentyTwenty styles from Core
* Increase product on sale selector specificity
* Add theme class name to admin
* Fix some more style discrepancies
* Use em instead of rem
2020-05-21 19:09:50 +02:00
renovate[bot]
89f3b97041
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/2508 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-21 16:10:11 +01:00
Albert Juhé Lluveras
a59966350d
Align Product Categories List select and button ( https://github.com/woocommerce/woocommerce-blocks/pull/2517 )
2020-05-21 10:53:13 +02:00
Seghir Nadir
6862938653
Add React Testing Library ( https://github.com/woocommerce/woocommerce-blocks/pull/2528 )
...
* refactor sidebar to its own component
* install RTL
* wrap component in EditorPreview
* remove example test
2020-05-20 20:33:16 +01:00
Albert Juhé Lluveras
60c0ebfdb7
Fix misalignment between value and label in form components ( https://github.com/woocommerce/woocommerce-blocks/pull/2518 )
...
* Fix misalignment between value and label in form components
* Do the calculation in SCSS
2020-05-20 15:54:37 +02:00
renovate[bot]
d6779c4a8b
Update dependency autoprefixer to v9.8.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/2511 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-20 14:41:55 +01:00
renovate[bot]
6fce572f3a
Update dependency eslint-plugin-jest to v23.13.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/2512 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-20 14:41:36 +01:00
renovate[bot]
dd18c75163
Update dependency @types/jest to v25.2.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/2509 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-20 14:29:11 +01:00
Albert Juhé Lluveras
0dc7e9e6f1
Fix decimal ratings not correctly displayed ( https://github.com/woocommerce/woocommerce-blocks/pull/2507 )
...
* Fix decimal ratings not correctly displayed
* Fix aria label rounding ratings
2020-05-19 17:24:20 +02:00
Albert Juhé Lluveras
8f2003df4b
Remove some unique font-size ( https://github.com/woocommerce/woocommerce-blocks/pull/2498 )
...
* Remove font-sizes which are already inherited
* Remove font sizes from buttons with no text
* Make summary item quantity font-size 12px
2020-05-19 08:06:35 -04:00
Albert Juhé Lluveras
b18e2a7d0d
Add notices docs ( https://github.com/woocommerce/woocommerce-blocks/pull/2502 )
...
* Query state docs fixes
* Add notices docs
* Improve format
* Typo
* Avoid repeating in each method that current context is used.
2020-05-19 07:40:48 -04:00
Darren Ethier
989ec4a673
Fix version for workflow
2020-05-18 16:12:19 -04:00
Darren Ethier
9c8059dfab
Create project-management-automations.yml
...
Hook up the woocommerce project management automations with the todo automation.
2020-05-18 16:09:32 -04:00