Commit Graph

31140 Commits

Author SHA1 Message Date
Timmy Crawford 81c679181c PHPCS fixes. 2019-04-09 10:18:47 -07:00
Timmy Crawford f2b55bf060 Move suggestions/tracks settings to new Advanced | WooCommerce.com page. 2019-04-09 09:38:26 -07:00
Mike Jolley c2952647bc
Merge pull request #23226 from woocommerce/renovate/config-3.x
Update dependency config to v3.1.0
2019-04-09 16:19:20 +01:00
Mike Jolley 1fd46a9350
Merge pull request #23225 from woocommerce/renovate/mocha-6.x
Update dependency mocha to v6.1.2
2019-04-09 16:18:49 +01:00
Timmy Crawford 0061a21cea
Merge pull request #23242 from woocommerce/add/manage-suggestions-tracks-events
add tracks event for clicks on Manage suggestions link(s)
2019-04-09 07:55:07 -07:00
Mike Jolley d749d3aa80
Merge pull request #23227 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.5.1
2019-04-09 13:20:11 +01:00
Timmy Crawford 19f74deb28
Merge pull request #23244 from woocommerce/update/block-library-rc3
Update @woocommerce/block-library to 2.0.0-rc3
2019-04-08 19:17:14 -07:00
haszari 36f1dbf7fb ensure no-suggestions state "manage" link triggers tracks event 2019-04-09 13:53:25 +12:00
haszari 884474d133 add tracks event for clicks on `marketplace-suggestion-manage-link` 2019-04-09 13:44:15 +12:00
Timmy Crawford 78aa67641b
Merge pull request #23218 from woocommerce/add/suggestions-display-setting
[3.6] Add setting to control display of Marketplace Suggestions
2019-04-08 18:27:21 -07:00
Timmy Crawford b35945c5f5 PHPCS fix. 2019-04-08 17:21:50 -07:00
Timmy Crawford 14d86a4e55
Merge pull request #23230 from woocommerce/add/product-metabox-suggestions-tab-icon
add 'plugin' dashicon to metabox suggestions tab, for consistency
2019-04-08 16:37:01 -07:00
Kelly Dwan 51b1281a5e Update @woocommerce/block-library to 2.0.0-rc3 2019-04-08 19:31:53 -04:00
Timmy Crawford e4552c571d Only show suggestions setting when current user can install_plugins 2019-04-08 16:27:32 -07:00
Timmy Crawford ae66f195a5 Add link to manage suggestions in default/empty view 2019-04-08 16:24:52 -07:00
Timmy Crawford 4a2c706cc0 Add setting to control display of marketplace suggestions. 2019-04-08 16:24:52 -07:00
haszari 0ad914f398 rebuild assets after rebase 2019-04-09 09:59:45 +12:00
haszari 35c1c930f0 ensure suggestions tab icon looks good on smaller screens:
- override line height for <900px consistent with other tabs
2019-04-09 09:58:11 +12:00
haszari ae729ffb80 add 'plugin' dashicon to metabox suggestions tab, for consistency 2019-04-09 09:57:54 +12:00
Timmy Crawford 437adec140
Merge pull request #23241 from woocommerce/fix/product-metabox-nosuggestions-nice-padding-2
[3.6] Improve appearance of no-suggestions state in product edit metabox
2019-04-08 14:55:22 -07:00
Timmy Crawford 616af5c28d
Merge pull request #23216 from woocommerce/update/tracks-opt-out
[3.6] Update opt-out usage tracking text.
2019-04-08 14:27:08 -07:00
haszari 8b2d0aeb5d rebuild suggestions css after rebase 2019-04-09 09:13:17 +12:00
haszari 76b1e267ac add margin under the nosuggestions container & reduce top margin 2019-04-09 09:12:35 +12:00
Timmy Crawford 7ac179f7b8
Merge pull request #23229 from woocommerce/add/manage-suggestions-metabox-link
[3.6] Add manage suggestions link into browse-all metabox footer
2019-04-08 13:59:35 -07:00
Timmy Crawford b4352c8b32
Merge pull request #23203 from woocommerce/update/23199
[3.6] Prevent removal of the wc- prefix from non core order statuses
2019-04-08 12:13:11 -07:00
Timmy Crawford 886d1acca5 Updates to usage tracking text per feedback. 2019-04-08 12:00:11 -07:00
Renovate Bot 775684186e
Update dependency mocha to v6.1.2 2019-04-08 18:44:37 +00:00
Timmy Crawford 57de03a7d0
Merge pull request #23231 from woocommerce/fix/tracks-issues
[3.6]Tracks: various fixes
2019-04-08 11:09:38 -07:00
Timmy Crawford 06bec2e845
Merge pull request #23210 from woocommerce/update/fb-recommendation-end-date
[3.6] OBW: Display FB recommendation until removed
2019-04-08 10:32:32 -07:00
Timmy Crawford ef4f0f0c0f
Merge pull request #23197 from woocommerce/fix/23182
[3.6] Fix backwards compatibility issues for wc_get_template function w/ tests
2019-04-08 10:19:16 -07:00
Paul Sealock 1d7cd1722a Tracks: various fixes 2019-04-08 15:58:03 +12:00
haszari d2ff99189c enqueue translatable string for `Manage suggestions` link 2019-04-08 15:45:41 +12:00
haszari 06de62177c inject manage link into browse-all metabox footer suggestion 2019-04-08 10:00:25 +12:00
Renovate Bot 49ecc3b899
Update dependency autoprefixer to v9.5.1 2019-04-07 16:42:40 +00:00
Renovate Bot e3ac7ba02a
Update dependency config to v3.1.0 2019-04-07 15:52:22 +00:00
Timmy Crawford 835bf3d69b
Merge pull request #23211 from woocommerce/fix/remove-product-list-suggestions
[3.6] remove product list suggestions
2019-04-05 16:19:32 -07:00
Timmy Crawford 72b9555706 Update opt-out usage tracking text. 2019-04-05 12:59:32 -07:00
haszari 2bef464506 disable products list suggestions (rtl styles, almost forgot to commit) 2019-04-05 13:35:56 +13:00
haszari 16974a9409 disable products list suggestions (styles) 2019-04-05 11:46:29 +13:00
haszari e75dd2c5ac disable products list suggestions (js) 2019-04-05 11:41:15 +13:00
Valerie 0d1c1ec7b6 OBW: Display FB recommendation until removed
Instead of ending the FB recommendation on
a specific date we'll remove it when needed.
2019-04-04 13:34:40 -04:00
Mike Jolley 1cd2959087 unset rather than prevent the template being included. 2019-04-03 16:08:12 +01:00
Mike Jolley 274a471167
Merge pull request #23194 from woocommerce/fix/23171
[3.6] Fix results from wp_term_counts when sorting by menu_order
2019-04-03 15:46:01 +01:00
Mike Jolley 50f246eef9
Merge pull request #23191 from woocommerce/fix/gallery-empty-args
[3.6] Fix BC break by allowing wc_product_gallery to be called without any arguments.
2019-04-03 15:45:45 +01:00
Mike Jolley 9ea63486e6 Add get_post_status helper method and ensure prefix gets added for most statuses 2019-04-03 14:21:38 +01:00
Mike Jolley 2e9ce0a061 unit tests 2019-04-02 15:18:06 +01:00
Mike Jolley 5ed25e1734 Notice if args are attempted to replace 2019-04-02 15:17:52 +01:00
Mike Jolley 51b3e4f213 Use action_args rather than $template variable which could have been overwritten
Co-Authored-By: dinhtungdu <dinhtungdu@gmail.com>
2019-04-02 14:07:48 +01:00
Mike Jolley 2f0b8cced5 Flip logic so counts ignore sorting rules 2019-04-02 11:56:47 +01:00
Mike Jolley c5b31cee3d Unit test for counts 2019-04-02 11:45:58 +01:00