Commit Graph

52139 Commits

Author SHA1 Message Date
Ron Rennick 39dad76b08
Fix dynamic property declaration warnings in shipping code (PHP 8.2+) (#38569) 2023-06-02 14:36:14 -03:00
Ron Rennick 2068738300
Fix dynamic property declaration warnings in gateway code (PHP 8.2+) (#38566) 2023-06-02 14:25:42 -03:00
Jorge A. Torres 1abb0874c3
Fix dynamic property declaration warnings in HPOS code (PHP 8.2+) (#38565)
* Fix typo in variable name

* Remove unnecessary instance var from CustomOrderTable migration files

* Add changelog
2023-06-02 12:24:01 -05:00
Ron Rennick a4bb76a573
Support values written in exponential notation for HPOS migrations. (#38561) 2023-06-02 13:21:33 -03:00
Jorge A. Torres 22e8217220 PHPCS fixes 2023-06-02 09:24:07 -05:00
Jorge A. Torres c3f2ff0714 Add changelog 2023-06-02 09:24:07 -05:00
Jorge A. Torres 59ea67768c Fix ‘dynamic property declaration’ warning in `WC_Countries` 2023-06-02 09:24:07 -05:00
Jorge A. Torres 88618ca07a Fix ‘creation of dynamic property’ warnings for shipping methods code 2023-06-02 09:24:07 -05:00
Maikel David Pérez Gómez abcedbefe0
[MVP QA #1] Visual: spacings (#38325)
* Update the margin-left on the buttons in the top bar from 16px to 8px

* On mobile, the left and right body margins should be 32 px

* The inner padding in the tab in the top bar should be 12px, not 16px

* In the edit product link modal, let's set this modal’s width to 650 px and remove the line separating the header from the contents

* All modals should now have 8 px window radius

* In the feedback form, can we fix the buttons at the bottom

* The help icon in checkboxes small, detached from the item label, and vertically misaligned. Left margin of 4 px, no vertical adjustment; somehow it has a -2px set for the top margin)

* Fix block-editor-block-contextual-toolbar top position

* When the product is in a draft state, the button in the top bar should say Add, not Save. It should change into Update once it's published on the store

* Fix layout margin top

* Add ection support for blockGap and set title and description to optional

* Remove non needed control field margin bottom

* Fix schedule sale block spacing

* Remove non needed control field help text margin bottom

* Remove the sub section outer spacing

* Move pricing fields into a sub section block

* Fix collapsible-contet margin top

* Remove invalid inner block layout spacing

* Wrap sku, stock toogle and quantity within a sub section

* Group inventory advance section inner blocks into a sub section

* Fix linter error

* Add changelog files

* Fix php lint error

* Change unit names to fit GB definitions
see: b2c16f3c68/packages/base-styles/_variables.scss\#L31-L41
2023-06-01 13:56:31 -04:00
Jorge A. Torres e14bfd46d7 Add changelog 2023-06-01 11:55:04 -05:00
Jorge A. Torres d8b6add2a3 Fix dynamic property declaration warnings in gateway code 2023-06-01 11:55:04 -05:00
github-actions[bot] f815d4f936
Update changelog.txt from release 7.7.1 (#38513)
Prep trunk post release 7.7.1

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-01 08:28:52 -05:00
github-actions[bot] 49383a5be2
Delete changelog files based on PR 38433 (#38554)
Delete changelog files for 38433

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-01 08:28:12 -05:00
Vedanshu Jain 01368cef58 Add changelog. 2023-06-01 18:08:26 +05:30
Vedanshu Jain ab9630b43a Coding standard fixes. 2023-06-01 18:07:33 +05:30
Vedanshu Jain cece0a5bf5 Fix for migrating orders where values are in exponential notation. 2023-06-01 18:04:06 +05:30
Albert Juhé Lluveras 76af1aa551
Update WooCommerce Blocks to 10.2.2 (#38545) 2023-06-01 10:33:59 +02:00
Vedanshu Jain 25843a9baf
[HPOS] Add properties and methods for detecting order admin screens more easily (#38417) 2023-06-01 12:07:16 +05:30
Vedanshu Jain 404ea4dc4d
fix Unsupported operand string * float (#38532) 2023-06-01 11:21:55 +05:30
Barry Hughes 356afd3388
Add endpoint to get SSR (#38433) 2023-05-31 16:46:40 -07:00
Sam Seay 664468f51a
Add a new plugin to the monorepo for the docs project (#38406) 2023-06-01 10:21:33 +12:00
Sam Seay 4f2fb497fd
Remove eslint-plugin-react plugin warnings from lint (#38512) 2023-06-01 08:27:06 +12:00
Ron Rennick ffc58145f0
Hide HPOS plugin incompatibility warning from users with no 'activate_plugins' perm (#38535) 2023-05-31 15:53:31 -03:00
Ron Rennick ba57d8da29
ensure parameter datatype for array_slice (#38529)
* ensure parameter datatype for array_slice

* add phpdocs to existing filters

* fix spacing

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-05-31 13:18:57 -05:00
Joshua T Flowers a5e36377f9
Check for unsaved changes before leaving product editor (#38430)
* Check for unsaved changes before leaving product editor

* Add changelog entry

* Add hasEdit convenience method to useProductEdits hook
2023-05-31 10:14:12 -07:00
Matt Sherman f0e6802f2a
Load custom editor-only blocks in the block-based product editor (#38495) 2023-05-31 13:14:00 -04:00
github-actions[bot] a80c68fb4b
Delete changelog files based on PR 38449 (#38454)
Delete changelog files for 38449

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:06:17 -05:00
github-actions[bot] 4073f374a7
Delete changelog files based on PR 38099 (#38133)
Delete changelog files for 38099

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:06:02 -05:00
github-actions[bot] d6042cb86b
Delete changelog files based on PR 38110 (#38131)
Delete changelog files for 38110

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:05:39 -05:00
github-actions[bot] a756b5548f
Delete changelog files based on PR 38074 (#38129)
Delete changelog files for 38074

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:05:25 -05:00
github-actions[bot] c7b16f1acc
Release: Remove 7.8 change files (#38404)
Delete changelog files from 7.8 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:05:03 -05:00
jonathansadowski 14a53c2dd4
Remove change file from 38441 (#38464)
Delete add-core-profiler-business-location copy
2023-05-31 10:04:27 -05:00
github-actions[bot] 91095db43a
Delete changelog files based on PR 38542 (#38544)
Delete changelog files for 38542

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:04:14 -05:00
Denis Dvali 07f662ecf8 - Logic to submit SSR data to WooCommerce.com.
- Allow request SSR  only if user has permissions to manage WooCommerce.
2023-05-31 17:01:11 +04:00
louwie17 7d4f65b8c7
Fix save settings error within Analytics (#38542)
* Filter out undefined query params

* Add changelog
2023-05-31 09:35:54 -03:00
Ron Rennick 84a62ced27
cast url to string for str_replace (#38530)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-05-31 12:25:21 +02:00
Sam Seay b076a7b521
Fix linter issues and update Syncpack (#38523) 2023-05-31 11:45:10 +12:00
Jorge A. Torres 8d02566d9c Add changelog 2023-05-30 15:10:36 -05:00
Jorge A. Torres 700a3114cd Do not show HPOS incompatibility warning to users with no access to the plugins screen 2023-05-30 15:10:32 -05:00
Ron Rennick dd04184dd5 fix Unsupported operand string * float 2023-05-30 15:25:28 -03:00
Matt Sherman 4e530ba2e2
Prevent theme styles from being used in the block-based product editor (#38491) 2023-05-30 13:25:55 -04:00
Tomek Wytrębowicz 1c7c99636e
Reduce code duplication in Report Controllers (#38048) 2023-05-30 12:53:30 +02:00
Ilyas Foo edf95bf3f4
Update shipping partner suggestions to use data from API (#38457)
* Added shipping partner suggestions data handling in JS

* Add woocommerce services real info

* Add dynamic layout components, remove unused JS, added images to proper asset paths

* Changelog

* Update changelog and removed unused variable

* Remove console.log

* Lint fix

* Add shipping methods module in woocommerce/data

* Update data usage

* Revert "Added shipping partner suggestions data handling in JS"

This reverts commit 6a87ef2658.

* Lint fix
2023-05-30 15:56:32 +08:00
RJ ab18828e84
add: core profiler business info page (#38412)
* add: core profiler business info page
2023-05-30 15:05:38 +08:00
Chi-Hsuan Huang 953a8f5c30
Make option API fail when using a disallowed option name in non-produciton environments (#38388)
* Make option API fail when using a disallowed option name in non-produciton environments and update permission list

* Add changelog

* Change Option API deprecated notice version to WC 6.3
2023-05-30 09:07:29 +08:00
Matt Sherman 27574c98cd
Update DateTimePickerControl's dropdown positioning (#38466) 2023-05-29 16:12:28 -04:00
Matt Sherman f186403a77
Opt out of Reset and Help buttons in DateTimePickerControl (#38480) 2023-05-29 16:09:06 -04:00
Maikel David Pérez Gómez b0ac1607b9
View should scroll to the top when navigating between tabs (#38484)
Override the interface skeleton container so it can be scrollable
2023-05-29 15:28:50 -04:00
Ron Rennick 98a1ba3174
Maybe default the selected state as the first one when it's "*" (#38469) 2023-05-29 16:02:41 -03:00
Moon 6946ef384a
Core Profiler - Add extensions page (#38405)
* Initial design impl. without the full functionality

* Delete unused icons

* Add is_installed and plugins_page_skipped

* Add plugin-card component to render an installable plugin

* Implement plugins page

* Add loaders for plugins

* Add changelog

* Remove unused type

* Add changelog

* Remove unnecessary return statement

* Add obw/core-profiler

* Replace extensions with plugins

* Temp -- use window.location.href for Woo Home redirection

* Minor: code refactor

* Refactor isntallAndActivatedPlugins

* Skip plugins page when there is no available plugin

* Apply mobile styles

* Update plugins/woocommerce-admin/client/core-profiler/components/plugin-card/plugin-card.scss

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Update plugins/woocommerce-admin/client/core-profiler/components/plugin-card/plugin-card.scss

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Update plugins/woocommerce-admin/client/core-profiler/style.scss

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Bold errored plugin name

* Fix checkbox alignment

* Update changelog

* Fix object type for formatToParts function

* Fix lint issues

* Fix CSS lint issues

* Fallback to en-US when locale is not available

* Fix error with siteLocale

---------

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-05-29 07:45:30 -07:00