Joel Thiessen
05ede81c5f
Removing grow section from local free extensions in OBW ( https://github.com/woocommerce/woocommerce-admin/pull/7386 )
2021-07-27 09:05:14 -07:00
Joel Thiessen
31804aeba3
Refactoring report table withSelect to fix issues with the table data populating correctly ( https://github.com/woocommerce/woocommerce-admin/pull/7355 )
2021-07-26 12:11:44 -07:00
Ilyas Foo
069537100e
Fix recommended card Gutenberg CSS conflict ( https://github.com/woocommerce/woocommerce-admin/pull/7409 )
...
* Add style fix
* Add fix for card footer as well
* Changelog
* Replace fix with removing CardBody
* Cleanups
* Remove CardBody import reference
* Remove CardHeader size and change size in Card, CSS cleanup
2021-07-26 15:34:08 -03:00
louwie17
7ca3a0ad63
Update help tooltip styling ( https://github.com/woocommerce/woocommerce-admin/pull/7414 )
...
* Update help tooltip styling
* Add changelog
2021-07-26 10:26:58 -03:00
Joshua T Flowers
babefd0d47
Fix Gutenberg CardBody styles for task card ( https://github.com/woocommerce/woocommerce-admin/pull/7411 )
...
* Fix Gutenberg CardBody styles for task card
* Add changelog entry
2021-07-23 09:53:39 -04:00
Joshua T Flowers
0a9692ec20
Add limit clause to coupons data store query ( https://github.com/woocommerce/woocommerce-admin/pull/7399 )
...
* Add limit clause to coupons data store query
* Add changelog entry
2021-07-23 09:36:36 -04:00
Ilyas Foo
1eb41e4088
Fix analytics filter Gutenberg CSS conflict ( https://github.com/woocommerce/woocommerce-admin/pull/7410 )
...
* Add style fix
* Changelog
2021-07-23 21:25:25 +08:00
Joshua T Flowers
95ee8338c0
Try: Register a fake wc-admin homepage to for users without permission ( https://github.com/woocommerce/woocommerce-admin/pull/7285 )
...
* Register a fake wc-admin homepage to for users without permission
* Update removal cap to manage_woocommerce
* Fix WooCommerce menu item position and icon
* Fix up admin user checks
* Handle PR feedback
* Only disable redirection on wc-admin pages
* Remove woocommerce_prevent_admin_access filter
* Add changelog entry
2021-07-23 09:01:47 -04:00
louwie17
5140106c39
Fix orders panel loading ( https://github.com/woocommerce/woocommerce-admin/pull/7395 )
...
* Using order items endpoint instead of reports and added customer and products support
* Add total_formatted key
* Converted component to functional component and memoized getItems function
* Using orders meta table instead of reports product_lookup table
* Add changelog entry
2021-07-23 09:47:23 -03:00
Joel Thiessen
66ab35bbc7
Adding links to help panel for marketing task ( https://github.com/woocommerce/woocommerce-admin/pull/7384 )
2021-07-21 13:48:54 -07:00
Moon
6f163b4cee
Fix/7358 stock api performance improvement ( https://github.com/woocommerce/woocommerce-admin/pull/7377 )
...
* Add a new endpoint to get low in stock products.
* Set images and attributes property
* WIP -- set last order date
* Do not join postmeta if store does not have any custom stock threshold
* Combine get_query() and get_query_for_sitewide_threshold() into one method and a few code clean ups
* Support status field
* Use new products/low-in-stock endpoint to count low in stock products.
* Use new products/low-in-stock to get low in stock products data.
* Remove low_in_stock support
* Deprecate low_in_stock
* Use the new ProductsLowInStock when low_in_stock is set
* Set cache-control header for the new endpoint
* Use wc_rest_prepare_date_response to format the response date
* Extract low in stock test to a separate file
* Make is_using_sitewide_stock_threshold_only protected
* Revert Products.php changes
* Add back low in stock test to products test
* Remove unnecessary if
* Make the controller final
* Deprecate low_in_stock
* Bug fix -- last_order_date was not setting correctly for variation post type. This commit fixes it
* Add changelog
2021-07-20 16:47:22 -07:00
Joel Thiessen
6b31d81f3d
Fixing a few issues with tracks events in gateway suggestions ( https://github.com/woocommerce/woocommerce-admin/pull/7304 )
...
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2021-07-19 15:23:06 -07:00
Ilyas Foo
69b0273206
Add lazy loading by checking panel open status and lint fix ( https://github.com/woocommerce/woocommerce-admin/pull/7379 )
...
* Add lazy loading by adding panel open condition and lint fix
* Add changelog
2021-07-19 14:56:41 +08:00
Adrian Duffell
3108d59812
Add cache-control header to "low in stock" REST API response ( https://github.com/woocommerce/woocommerce-admin/pull/7364 )
...
* Add cache-control header to low stock response
* Add type check for fields
* Add changelog
* Bump max-age to 300
2021-07-19 14:53:51 +08:00
Fernando
4c236fe13c
Fixed OBW - Business details style ( https://github.com/woocommerce/woocommerce-admin/pull/7353 )
...
* Fixed OBW business details style
* Added changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-07-15 14:04:19 -03:00
Jeff Stieler
8e61f55017
Allow packages to be built in isolation. ( https://github.com/woocommerce/woocommerce-admin/pull/7286 )
...
* Use yarn instead of npm.
In prep for workspaces, since we're locked to npm < 7. See: https://github.com/woocommerce/woocommerce-admin/pull/7126#issue-661287749
* Initial workspace creation.
* Add initial tsc build to @woocommerce/number.
* Attempt to build experimental package.
* Try currency package.
* Define all packages as workspaces.
* Use tsconfig common to packages.
* Fix currency package build.
* Build csv-export with tsc.
* Try to build customer-effort-score with tsc.
* Fix JSX pragma.
* Build data package with tsc.
* Build date package with tsc.
* Build experimental package with tsc.
* Try to build explat package with tsc.
* Build navigation package with tsc.
* Build notices package with tsc.
* Build onboarding package with tsc.
* Build components package with tsc.
* Swap in package JS build into main script.
* Fix experimental package build.
* Try per-package css build with components.
* Try to run components package tests in isolation.
Broken on JSX in test files not being transformed.
* Move @woocommerce/wc-admin-settings into a package.
* Try to fix components package tests.
Fails because we aren't setting up the jest/jest-dom globals.
* Move JS test code to reusable (private) package.
* Enable incremental TS builds.
* Use workspaces to run JS tests.
* Use new jest configs for update snapshot scripts.
* Fix style builds.
* Fix package version in components.
* Fix client test debug and watch scripts.
* Update yarn lock.
* Update test-staged behavior.
* Try to fix storybook.
* Fix storybook.
* Update more npm commands to yarn.
* Add changelog.
* Fix lint errors.
* Update packages readme script references.
* Clean up unused gitignore match.
* Fix another npm command.
* Fix JS builds on watch.
* Fix start script.
* Fix start scripts for packages.
* Use tsc to build packages before tests
* yarn -> npm.
# Conflicts:
# package-lock.json
# package.json
* Fix linter error.
* Remove workspace definitions.
* Fix missing Fragment import.
* Fix package lock.
* Fix missing reference.
* Only build commonjs module for js-tests helper.
* Remove errant dependency from components.
* Remove noop scripts.
* Fix package JS build before testing.
* Revert noisy formatting changes.
* Fix precommit and test scripts.
* Fix minimum expected recommended extension count.
Japan test case breaks this.
* Revert babel config changes.
* chore(release): publish
- @woocommerce/components@7.2.0
- @woocommerce/csv-export@1.4.0
- @woocommerce/currency@3.2.0
- @woocommerce/customer-effort-score@1.1.0
- @woocommerce/data@1.4.0
- @woocommerce/date@3.1.0
- @woocommerce/dependency-extraction-webpack-plugin@1.7.0
- @woocommerce/eslint-plugin@1.3.0
- @woocommerce/experimental@1.5.0
- @woocommerce/explat@1.1.0
- @woocommerce/js-tests@1.1.0
- @woocommerce/navigation@6.1.0
- @woocommerce/notices@3.1.0
- @woocommerce/number@2.2.0
- @woocommerce/onboarding@1.1.0
- @woocommerce/tracks@1.1.0
- @woocommerce/wc-admin-settings@1.1.0
* Add script for running 'start' in a package.
* Remove yarn from gitignore.
* Update package changelogs, prep versions for release.
* Try to fix E2E tests after main merge.
* Some cleanup.
* Add changelog.
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-14 16:38:57 -04:00
Moon
166f590571
Fix undefined method error when setting up WC Tax ( https://github.com/woocommerce/woocommerce-admin/pull/7344 )
...
* Make this refers to the same class by binding this
* Add changelog
2021-07-14 12:50:30 -07:00
Moon
a1fb913bc6
Fix/7322 unable to dismiss inbox note ( https://github.com/woocommerce/woocommerce-admin/pull/7342 )
...
* Add components-dropdown__content class -- this is for Safari as Safari returns parent element as a related target in this case
* Remove unnecessary style
2021-07-14 12:28:56 -07:00
Dat Hoang
2dfe2c2bd2
Add TableSummaryPlaceholder to support skeleton loading ( https://github.com/woocommerce/woocommerce-admin/pull/7294 )
...
* Add TableSummaryPlaceholder
* Expose TableSummaryPlaceholder to package @woocommerce/components
* Add test instructions and changelog entries to MD files
* Add tests for TableSummaryPlaceholder
* Add storybook for TableSummaryPlaceholder
2021-07-14 10:18:54 +07:00
Moon
303e6ff84c
Set default value for performanceIndicators var ( https://github.com/woocommerce/woocommerce-admin/pull/7343 )
...
* Set default value for performanceIndicators var
2021-07-13 20:09:02 -07:00
Moon
db2b227d78
Render a spinner while woocommerce_setup_jetpack_opted_in is being loaded ( https://github.com/woocommerce/woocommerce-admin/pull/7269 )
...
* Preload woocommerce_setup_jetpack_opted_in option to prevent TOS text flickering
* Add changelog
2021-07-13 12:47:36 -07:00
Ilyas Foo
49dc897f61
Remove facebook extension from onboarding extensions fallback list ( https://github.com/woocommerce/woocommerce-admin/pull/7287 )
...
* Remove facebook marketing extension from fallback config
* Update changelog and testing instructions
* Update changelog to use the shiny new Jetpack changelogger
2021-07-13 11:15:51 +08:00
Paul Sealock
2e01777d42
Changelogger Linter: Point to correct file to test presence of changelog entry ( https://github.com/woocommerce/woocommerce-admin/pull/7318 )
...
* test
* pr number
* try looking at changelogs folder
* better changelog
2021-07-13 14:36:45 +12:00
Moon
daf91d034c
use Jetpack Changelogger for changelog management ( https://github.com/woocommerce/woocommerce-admin/pull/6870 )
...
* use Jetpack Changelogger for changelog management
* Extends Jetpack Changelogger's write command
* Uses changelog.txt
* Add Enhancement
* Remove use of WriteCommand and implement parse() in the Formatter
* Remove bin/changelogger.php wrapper
* Use semver
* Fix spacing
* Fix typo
* changelog.txt update to match readme.txt
* changelog PR template
* remove changelog from readme.txt
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-08 19:03:51 -07:00