Commit Graph

30017 Commits

Author SHA1 Message Date
haszari a03b9abcfb allow dismiss by default + hide products empty-state box if no suggestions 2019-02-19 13:56:49 +13:00
haszari 2b884861b7 add linkout icon to link-style suggestion CTAs (for empty products footer link) 2019-02-19 13:55:46 +13:00
haszari cc51dd4376 style products empty header/footer + support link style:
- added link-text to trigger link style for suggestion CTA, button is now opt-in
- made suggestion rendering more generic, should display something sensible if there are missing attribs
- all CTA links/buttons open in new tab via target attr
2019-02-19 12:22:06 +13:00
haszari 9cd81c371e add header & footer to products empty suggestions box 2019-02-19 11:54:58 +13:00
haszari c7b630b1f8 update products list empty state (incl. suggestions) to latest designs 2019-02-19 10:46:44 +13:00
haszari 012da5da24 support dismissing empty-state suggestions + polish dismiss styling:\n- hover style for x\n- disable border/underline active state inherited from <a>\n- layout styling for empty-state suggestions, button on right\n- make test data more like mockup (no category recommendation in list) 2019-02-18 15:55:26 +13:00
haszari d395967019 hide suggestions immediately after user clicks x (using jQuery.fadeOut) 2019-02-18 11:48:18 +13:00
haszari 4ea4e6591a ensure suggestion dismiss API / nonce is provided to js (missed in last commit) 2019-02-18 11:46:22 +13:00
haszari bf9f14c0b6 ajax api for dismissing specific marketplace suggestions (first cut) 2019-02-15 14:52:24 +13:00
haszari 9a7a9ad045 update styling of products table suggestion + add dismiss button 2019-02-15 13:30:53 +13:00
haszari 5737a1a388 pull suggestion data from (proposed) S3 endpoint:
- leave hard-coded data in place until endpoint is available
2019-02-15 12:04:12 +13:00
haszari 4ad413ea83 move hard-coded suggestion data to woo API (WCCOM api coming soon) 2019-02-14 15:47:32 +13:00
haszari 1fdc013525 products blank state - OBW style suggestions (missed in previous commit) 2019-02-14 15:44:28 +13:00
haszari 64c71cb724 fill out products empty state suggestions:
- add back product suggestions data
- hide page admin elements, focus layout on onboarding
- bulk-fix indentation in admin.scss
- reinstate default BlankState styling (overrides are intended for products only, accidentally overwrote)
2019-02-14 14:05:07 +13:00
haszari 8db91f44c0 styling products empty state OBW style, including existing add/import + suggestions 2019-02-14 12:16:59 +13:00
haszari c9f9d01f4b ensure list suggestions render correctly with optional url/copy attributes 2019-02-14 11:21:58 +13:00
haszari aa31d6f708 use attributes + DOM (not html snippet) for products empty state suggestions 2019-02-14 11:16:39 +13:00
haszari 9388b033fc use attributes & DOM api for table row banner render - html snippet is too flexible/risky 2019-02-14 10:53:25 +13:00
haszari 165a462fa2 style marketplace suggestions list banner 2019-02-13 14:49:28 +13:00
haszari e7adedb262 fix issue with footer overlapping empty products layout - hide footer 2019-02-13 14:35:56 +13:00
haszari c615fd6549 style marketplace suggestions 2019-02-13 14:32:36 +13:00
haszari aca9930b4b style marketplace cards grid in empty products screen 2019-02-13 13:54:05 +13:00
haszari 429908158e remove use of ES6 features in marketplace suggestions (const, =>) 2019-02-13 13:34:25 +13:00
haszari 8fc29aaa28 don't use ES6 unnecessarily in gruntfile - breaks the linter/build 2019-02-13 12:23:19 +13:00
haszari 87c0f7c92f fix reference to data global (lint) 2019-02-13 12:19:42 +13:00
haszari 42852d7b67 in-product discovery - enqueue styles as separate module 2019-02-13 12:18:39 +13:00
haszari 8151f28c79 in-product discovery - show items if companion extension(s) installed 2019-02-13 11:33:37 +13:00
haszari 8b22f4b040 register underscore dependency for marketplace script 2019-02-13 11:30:43 +13:00
haszari 5671a6f7ca in-product discovery - don't promote extensions that are already installed:
- + move suggestions client code to a module, enqueued only on relevant pages
2019-02-13 10:39:27 +13:00
haszari 2c24a567d0 in-product discovery - render suggestions in products list 2019-02-12 16:24:37 +13:00
haszari 792e32056c in-product discovery - render container for product-list suggestions 2019-02-12 16:10:21 +13:00
Mike Jolley 0d901a2eca
Merge pull request #22608 from woocommerce/performance/remove-external-ip-lookup
Performance: Remove external lookup of ips on localhost
2019-02-08 13:09:31 +00:00
Mike Jolley 1efe7747a8 merge conflict 2019-02-08 13:08:55 +00:00
Mike Jolley 1743c13225
Merge pull request #22631 from woocommerce/fix/21677
WC Endpoint 404s
2019-02-08 13:05:49 +00:00
Mike Jolley 8404b644da
Merge pull request #22645 from woocommerce/update/21963
Add notice hash to store notice cookie
2019-02-08 13:05:03 +00:00
Mike Jolley cab45fafb3
Merge pull request #22650 from woocommerce/update/20995
Registration success notices
2019-02-08 13:04:36 +00:00
Mike Jolley 113534a882 Set fallback false 2019-02-07 13:40:50 +00:00
Gerhard Potgieter 9ef6ea0be7
Merge pull request #22611 from woocommerce/performance/wp-profile-conflict
apply_filters_deprecated to avoid conflict with wp profile
2019-02-07 15:39:59 +02:00
Mike Jolley 889cf64ac4 Merge branch 'performance/wc-get-product-class' 2019-02-07 13:34:18 +00:00
Mike Jolley 62c9e81dc9
Merge pull request #22677 from nishitlangaliya/issue-22661
fix: default value passed to sorting dropdown
2019-02-07 12:09:20 +00:00
nishitlangaliya f69ac18ccd fix: default value passed to sorting dropdown 2019-02-07 13:26:43 +05:30
Mike Jolley 4b485eba13 Fixed unit tests 2019-02-06 21:00:07 +00:00
Mike Jolley e604a3ae24 correct id without $post 2019-02-06 19:57:06 +00:00
Claudiu Lodromanean 2d2d7a7053
Merge pull request #22613 from woocommerce/performance/set-props
Performance: `set_props`
2019-02-06 10:02:54 -08:00
Claudio Sanches 82c1f8f81b
Merge pull request #22634 from outis/fix-sed-pw
Fix sed pw
2019-02-06 14:43:32 -02:00
Gerhard Potgieter d0898e6a80
Merge pull request #22629 from woocommerce/performance/22260
Use `get` instead of `load` on cart page
2019-02-06 15:47:17 +02:00
Gerhard Potgieter b7971bd0dc
Merge pull request #22632 from woocommerce/fix/22552-screen-reader-ratings
Accessibility: Add a screen reader label for product rating star icons
2019-02-06 15:40:26 +02:00
Gerhard Potgieter 4e311b944f
Merge pull request #22666 from woocommerce/update/21101
Prevent multiple cookie sets per request
2019-02-06 15:40:04 +02:00
Mike Jolley 00b48febac Merge branch 'update/versioned-transients-alt' 2019-02-06 13:18:50 +00:00
Mike Jolley 89ac0dfdf0
Merge pull request #22668 from woocommerce/fix/22443-tests
Fixes #22443 tests
2019-02-06 12:46:50 +00:00