Commit Graph

1774 Commits

Author SHA1 Message Date
Claudio Sanches adc543f8f1
Merge pull request #24058 from woocommerce/add/wc-admin-obw-recommended
OBW: Add wc-admin to recommended page
2019-07-08 16:56:49 -03:00
Gerhard Potgieter 91c939b963
Merge pull request #23997 from woocommerce/fix/obw-plugin-install-highlight-size
OBW: Adjust size of plugin install highlight to avoid overlap
2019-07-04 09:18:28 +02:00
Paul Sealock b65ce3dd26 OBW: Add wc-admin to recommended page 2019-07-03 13:02:07 +12:00
Gerhard Potgieter 698625ce1d WP & PHP Upgrade Notices (#23975)
This commit introduces a banner that notifies and prompts users to upgrade their WordPress and/or PHP if they are outdated and not part of the minimum required versions going into WooCommerce 3.7.

* Add backward compatible function wp_check_php_version for sites running WP version smaller than 5.1

* Refactor some messaging, move widget to top of WC dashboard widgets, add buttons linking out to WP pages with instructions.

* Add missing variables for adding nag class

* Add styling to dashboard widget

* Rework css to use exclamation instead

* Clean up widget, make sure no widget is registered when dismissed. Add banner that links to widget and make it dismissable.

* Update constant to reflect minimum requirements.

* Don't show banner. Fix undefined variable.

* Remove dashboard widget

* Update banner link to docs site

* Add link to docs page where instructions live for updating

* Change button text

* Add UTM params to docs link

* Moved the msg logic from template to php file.

* Bail out early when PHP and WP versions are ok.

* Added missing translation functiog

* Extracted notice function from reset_admin_notices.

To follow suit with other similar functions in the file.

* Synchronize fetching of WP version.

* Removed unused functions.

* Corrected indent.

* Reduce number of variables and fixed coding standards

* Updated wording of the notice.
2019-06-26 14:09:20 -03:00
Paul Dechov 421392019e OBW: Adjust size of plugin install highlight to avoid overlap 2019-06-24 21:50:15 -04:00
Claudio Sanches 29d630b099
Merge pull request #23789 from ajayghaghretiya/fix#23784
Fix #23784 Shipping zonde UI issue
2019-06-24 12:40:08 -03:00
Claudio Sanches 77879de2cb
Merge pull request #23364 from xristos3490/master
Use high-resolution version of wp spinner
2019-05-22 21:01:50 -03:00
ajayghaghretiya f42b5a5f37 Fix #23784 Shipping zonde UI issue 2019-05-22 11:27:46 +05:30
Claudio Sanches de2a45510b Merge branch 'master' into fix/23003 2019-05-21 17:59:52 -03:00
Gerhard 5ceca30f39 CSS changes to remove black backround from old klarna and square logos. 2019-05-13 15:52:48 +02:00
Gerhard Potgieter 3cfe32d5fe
Merge pull request #23526 from parmarhardip/23505
Solved #23505 WC Setup page UI issue
2019-05-10 10:45:55 +02:00
parmarhardip de78e2c958 Solved #23505 WC Setup page UI issue 2019-04-26 17:07:46 +05:30
Rodrigo Primo 00128fec58 Fix dismiss button in two WC admin notices
The dismiss button in the WC admin notices `legacy_shipping` and `no_shipping_methods` was not fully clickable due to a custom CSS applied to them. This custom CSS was used to add a background image to those notices. More specifically, the problem was caused by the use of `position: relative` applied to `<p>` elements. I couldn't find an easy way to fix this problem keeping the custom background image, so I opted to remove it to make the design of all notices identical (besides the background image, the custom CSS also added a few other differences to those to notices like the font size of the notice title).
2019-04-25 14:19:35 -03:00
Gerhard 510d1da1c3 Compile assets 2019-04-23 12:43:28 +02:00
Gerhard 0305b16acd Add z-index to onsale for twentyseventeen 2019-04-23 12:39:56 +02:00
xristos3490 719e2e6618 Revert permission change 2019-04-18 11:57:30 +03:00
xristos3490 33beee1921 Revert position change 2019-04-18 11:54:23 +03:00
xristos3490 61e16262c9 Use high-resolution version of wp spinner 2019-04-18 11:27:24 +03:00
Mike Jolley 91e21644cf Style descriptions after select2 boxes 2019-04-09 15:02:05 +01: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
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
haszari 06de62177c inject manage link into browse-all metabox footer suggestion 2019-04-08 10:00:25 +12: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
Mike Jolley 308d08f97e Run grunt tasks
Fixes warnings from grunt so files are minified correctly. Copied fixes that went into release branch but not master earlier this week.
2019-03-20 20:08:52 +00:00
Kelly Dwan 3f5aaad117 Update @woocommerce/block-library to 2.0.0-rc1 2019-03-15 13:06:38 -04:00
Mike Jolley 6329f61d08 Show refunded items in customer facing screens 2019-03-15 12:54:40 +00:00
Mike Jolley f90f0203b5 Grunt dev 2019-03-15 12:21:51 +00:00
Mike Jolley ff3292cd8e Mobile styles 2019-03-14 18:22:56 +00:00
haszari fef1b0f7e0 show nice marketplace linkout when there are no product metabox suggestions 2019-03-14 14:56:32 +13:00
Mike Jolley d8f665bb89
Merge pull request #22936 from woocommerce/fix/21814
Setup Wizard: Add keyboard events for custom input toggles
2019-03-12 09:28:37 +00:00
Mike Jolley 0877e7d8f7
Merge pull request #22954 from woocommerce/add/blocks-rest-api
Merge blocks branch: add 8 product blocks and related API endpoints
2019-03-11 15:18:20 +00:00
Kelly Dwan dddbd29d87 Update @woocommerce/block-library to 2.0.0-beta 2019-03-06 18:33:06 -05:00
Kelly Dwan 8555c415d2 Update with latest featured plugin block code 2019-03-06 17:28:52 -05:00
Kelly Dwan 148b605dbe Update copying process, copy over minified files 2019-03-06 17:28:49 -05:00
Kelly Dwan 2b5ab03a2d Add the built files 2019-03-06 17:28:46 -05:00
Mike Jolley a04d23ae88 Order checkboxes last 2019-03-05 14:23:17 +00:00
haszari 4154ae55a0 increase margin under empty-state suggestions so they aren't hard-aligned to bottom 2019-03-02 09:29:21 +13:00
haszari 56ab6d231e improve margins & line-spacing in metabox copy 2019-02-28 11:08:25 +13:00
haszari 49aaa9f08b align product metabox `Get more options` with other tab image labels (regressed)
- fix css selector
- also removed redundant margin-top rule
2019-02-28 10:58:30 +13:00
haszari dbe80f826a fix margins & ensmallen heading in product table suggestion 2019-02-28 10:52:16 +13:00
haszari 3eaba598dc remove outer border in metabox suggestions, lighten separators 2019-02-28 10:14:00 +13:00
haszari ef31fcf012 align product metabox `Get more options` with other tab image labels 2019-02-28 10:05:02 +13:00
haszari 467f8cd1dc marketplace suggestions styling polish:
- opt-in to shared CTA/button styles for orders empty state
- tweak table banner icon margin for perfect centering
- ensure CTA div doesn't get squished and break layout \(product metabox\)
- ensure title+copy is vertically centered in table banner \(remove last margin\)
2019-02-27 11:40:24 +13:00
haszari 0dcc87110b Merge branch feature/marketplace-suggestions into add/product-edit-suggestions
# Conflicts:
#assets/css/admin-rtl.css
#assets/css/admin.css
#assets/css/marketplace-suggestions-rtl.css
#assets/css/marketplace-suggestions.css
#assets/css/marketplace-suggestions.scss
#assets/js/admin/marketplace-suggestions.js
#includes/admin/class-wc-admin-assets.php
#includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
2019-02-27 10:56:13 +13:00
haszari d89b38cb3f fix up products empty state styles now row-padding is balanced 2019-02-25 11:49:08 +13:00
haszari e68ee17121 tweak layout of product edit suggestions to match designs 2019-02-25 11:12:05 +13:00