Commit Graph

3314 Commits

Author SHA1 Message Date
Ron Rennick baeaa94f5f make store revenue range amounts translatable (https://github.com/woocommerce/woocommerce-admin/pull/3251)
* make store revenue range amounts translatable

* update business details to USD amounts
2019-11-26 09:01:47 -04:00
Justin Shreve 50cc3edaed Update onboarding filters with a consistent prefix (https://github.com/woocommerce/woocommerce-admin/pull/3295)
* Update onboarding filters with a consistent prefix

* Rename woocommerce_onboarding_payments to match the other task list options
2019-11-25 11:15:22 -05:00
Justin Shreve c8f9d7673c Fix notices and display issues that can occur when a WCCOM product api request fails (https://github.com/woocommerce/woocommerce-admin/pull/3291) 2019-11-25 10:35:35 -05:00
Ron Rennick c5f0fa90b2 Remove Previous Year week alignment (https://github.com/woocommerce/woocommerce-admin/pull/3271)
* remove previous year week alignment, include full day at end of previous period

* update script testing of weeks in last year
2019-11-25 09:19:19 -04:00
renovate[bot] 53e3009c4b Update dependency d3-shape to v1.3.7 (https://github.com/woocommerce/woocommerce-admin/pull/3284) 2019-11-25 17:26:56 +13:00
renovate[bot] 46bc6574fe Update dependency d3-selection to v1.4.1 (https://github.com/woocommerce/woocommerce-admin/pull/3283) 2019-11-25 17:07:43 +13:00
renovate[bot] 38af02a632 Update dependency d3-format to v1.4.2 (https://github.com/woocommerce/woocommerce-admin/pull/3282) 2019-11-25 17:02:39 +13:00
renovate[bot] 23abbd47c8 Update dependency autoprefixer to v9.7.2 (https://github.com/woocommerce/woocommerce-admin/pull/3280) 2019-11-25 17:00:05 +13:00
renovate[bot] 5e1901bb5f Update dependency automattic/jetpack-autoloader to v1.3.4 (https://github.com/woocommerce/woocommerce-admin/pull/3279) 2019-11-25 16:58:49 +13:00
Darren Ethier b57b52ff0c fix error due to fallback not loading when needed for getAdminLink (https://github.com/woocommerce/woocommerce-admin/pull/3297) 2019-11-22 19:30:46 -05:00
Jeff Stieler c2020507e3 Decouple Navigation from `wcSettings`. (https://github.com/woocommerce/woocommerce-admin/pull/3294)
* Move getAdminLink to wc-admin-settings.

* Add changelog entries.

* Look for `getAdminLink()` in @woocommerce/settings first.
2019-11-22 12:07:26 -05:00
David Levin 52cb35f4de Correcting and clarifying analytics terms and calculations (https://github.com/woocommerce/woocommerce-admin/pull/3104)
* Relabel Net Revenue to Net Sales, revert previous refund work on Gross revenue and rename to total sales. Update the orer of all the things

* Add gross sales calculation to revenue stats endpoint.

* Restore coupon_total when updating order stats.

* Wire up gross sales to revenue report.

* Fix revenue report refunds calculation when there are no refunds.

* update net sales labels and cases in order, product and category tables

* Subtract refunded shipping and taxes from gross sales.

* pluses to minuses to fix the gross revenue and refund totals when refunding

* Add gross_sales to revenue stats orderby enum.

* Change refund labels to Returns

* Remove usage of defunct coupon_total column.

* Store refunded amount in stats table.

* Rename "gross_total" column to "total_sales".

* Net total for refund orders can be used instead of a new column.

* Rename gross_revenue to total_sales.

* Coalesce coupons total in order stats query.

SUM()ing all nulls gives null, not zero.

* Use segmentation selections to backfill missing data.

Fo when report columns and segmentation columns don't match.

* Remove errant gross_sales from expected interval test data.

* Fix gross sales tests for revenue/stats.

* Move missing segment fills back to their original locations.

* Fix remaining tests failing because of gross sales.

* Fix db upgrade function rename of gross_total column.

* Fix linter errors.
2019-11-22 10:06:14 -05:00
Paul Sealock 0db5cbb6a0 Component styles: Explicitly import from Gutenberg (https://github.com/woocommerce/woocommerce-admin/pull/3292)
* Fix Gutenberg style imports

* remove duplicate variables

* remove extra variables

* remove duplicate imports

* move base style imports to webpack
2019-11-22 13:19:37 +13:00
Jeff Stieler 17514872ad Decouple currency and numbers packages from `wcSettings`. (https://github.com/woocommerce/woocommerce-admin/pull/3277)
* Remove wcSettings dependency from currency and number packages.

Either take a configuration object in function calls or in a new class constructor.

* Use new Currency class and number format methods in client/.

Compose with store settings to keep the same API.

* Don't reintroduce lodash dependency to currency package.

* Add changelog entries to currency and number packages.

* Update docs, example, and changelog for AdvancedFilters component.

* Use precision-less formatValue() for integer report values.

* Make Currency instance immutable.
2019-11-21 16:51:52 -05:00
Justin Shreve 1a1abe0cc2 Add remaining onboarding documentation (https://github.com/woocommerce/woocommerce-admin/pull/3286)
* Add Jetpack connection docs, and update the calypso information

* Finish onboarding docs with options, filters, and rest api sections

* Handle PR feedback
2019-11-21 11:28:22 -05:00
Justin Shreve 631ffe240f Onboarding - Add extra plugin debug to plugin installation (https://github.com/woocommerce/woocommerce-admin/pull/3272)
* Add extra plugin debug to plugin installation

* Add additional debug
2019-11-21 10:22:49 -05:00
Joshua T Flowers 940716d7f5 Add wc admin card classes to leaderboards (https://github.com/woocommerce/woocommerce-admin/pull/3267) 2019-11-21 20:10:37 +08:00
Paul Sealock 1f4e2fcdfe Use same wp-components version in bundle (https://github.com/woocommerce/woocommerce-admin/pull/3253)
* Use same wp-components version in bundle

* turn off short array rule
2019-11-21 09:36:44 +13:00
Joshua T Flowers 6bb8015cf2 Filter invalid statuses from saved statuses (https://github.com/woocommerce/woocommerce-admin/pull/3268) 2019-11-20 22:52:24 +08:00
Paul Sealock 790e5f59d3 Allow core inclusion via Package.php (https://github.com/woocommerce/woocommerce-admin/pull/3196)
* Create GH tag release process

Add core to the release

no need to re-run docs

simplify build command

add gh release script

fix errant comment

fix errant comment

force add feature-config.php

gitattributes

moar attributes

add language files

* Make sure initalization via Core is working
2019-11-20 12:23:27 +13:00
Jeff Stieler f8fa7b6bc7 Fetch autocomplete countries from the API rather than wcSettings object. (https://github.com/woocommerce/woocommerce-admin/pull/3262) 2019-11-19 14:17:15 -05:00
Justin Shreve e1f67a7d80 Add base documentation for the onboarding feature (https://github.com/woocommerce/woocommerce-admin/pull/3274)
* Add base documentation for the onboarding feature

* Handle PR feedback: Fix API URls, and WooCommerce.com heading
2019-11-19 13:06:38 -05:00
Ron Rennick 915953e1a6 use a filter to set default locale (https://github.com/woocommerce/woocommerce-admin/pull/3273) 2019-11-19 13:49:18 -04:00
Ron Rennick 2b8b1e4c1c rename DS get_* to add_* where function does not return values (https://github.com/woocommerce/woocommerce-admin/pull/3275)
* rename DS get_* to add_* where function does not return values

* phpcs fixes on coupons, products data stores
2019-11-19 13:48:35 -04:00
Joshua T Flowers 1e792b7e86 Onboarding: Stretch theme image to fit card container (https://github.com/woocommerce/woocommerce-admin/pull/3266) 2019-11-19 09:18:22 +08:00
Justin Shreve 7385170781 Fix filter gap on analytics select controls (https://github.com/woocommerce/woocommerce-admin/pull/3259) 2019-11-18 10:20:07 -05:00
Ron Rennick 241fad75cc PHPCS fixes for onboarding files (https://github.com/woocommerce/woocommerce-admin/pull/3269) 2019-11-18 11:17:48 -04:00
Ron Rennick 634a4edc13 return a value from create pages API call (https://github.com/woocommerce/woocommerce-admin/pull/3261) 2019-11-18 08:37:16 -04:00
Joshua T Flowers 225548d7af Filter empty keywords from autocompleters (https://github.com/woocommerce/woocommerce-admin/pull/3257) 2019-11-18 09:23:39 +08:00
Joshua T Flowers 81567875c0 Reset state before firing onChange in SelectControl (https://github.com/woocommerce/woocommerce-admin/pull/3255) 2019-11-18 09:23:26 +08:00
Joshua T Flowers e060fbee56 Fix selected value showing for multiple SelectControl (https://github.com/woocommerce/woocommerce-admin/pull/3254) 2019-11-18 09:23:15 +08:00
Paul Sealock 03399a034c Create GH tag release process (https://github.com/woocommerce/woocommerce-admin/pull/3190)
Add core to the release

no need to re-run docs

simplify build command

add gh release script

fix errant comment

fix errant comment

force add feature-config.php

gitattributes

moar attributes

add language files
2019-11-18 11:39:27 +13:00
Justin Shreve f87176873b Onboarding - Fix payment CSS on mobile (https://github.com/woocommerce/woocommerce-admin/pull/3236) 2019-11-15 08:33:40 -05:00
Justin Shreve a27c178ef6 Fix default country on new stores (https://github.com/woocommerce/woocommerce-admin/pull/3252) 2019-11-15 08:32:54 -05:00
Justin Shreve 03c3251a2a Onboarding - Add tracks queue and fix busted tracks events/add missing event (https://github.com/woocommerce/woocommerce-admin/pull/3220)
* Fix busted tracks events and add missing continue setup event

* Move appearance check to next page load to avoid the event not firing

* Add a tracks queue to delay event recording & log embed page views (https://github.com/woocommerce/woocommerce-admin/pull/3250)

* Add a tracks queue to delay event recording

* Add emebedded page view tracking, and queue the tax skip event
2019-11-15 08:32:02 -05:00
Joshua T Flowers ee747d2869 Onboarding: Skip homepage step when classic editor is in use (https://github.com/woocommerce/woocommerce-admin/pull/3244) 2019-11-15 08:17:48 +08:00
Joshua T Flowers 08ea4648ca Onboarding: Update homepage options call to use in-house namespace (https://github.com/woocommerce/woocommerce-admin/pull/3243) 2019-11-15 08:17:18 +08:00
Ron Rennick 4987b7a1a7 add REST routes for customers, handler for single customer (https://github.com/woocommerce/woocommerce-admin/pull/3174)
* add REST routes for customers, handler for single customer

* use customer id vs user_id, add collection link
2019-11-14 11:25:29 -04:00
Albert Juhé Lluveras 319cc65d22 Make WooCommerce brand localizable (https://github.com/woocommerce/woocommerce-admin/pull/3247)
* Make WooCommerce brand localizable

* Make HeaderLogo aria-label localizable
2019-11-14 16:24:42 +01:00
Ron Rennick 931172ff89 fix typos in JS docs (https://github.com/woocommerce/woocommerce-admin/pull/3248) 2019-11-14 10:35:55 -04:00
Ron Rennick c716b8c399 capitalize WooCommerce Services (https://github.com/woocommerce/woocommerce-admin/pull/3249) 2019-11-14 10:35:28 -04:00
Justin Shreve 7fb1d33e22 Show the "activate & continue" button as busy during Jetpack redirect (https://github.com/woocommerce/woocommerce-admin/pull/3234) 2019-11-14 09:14:53 -05:00
Albert Juhé Lluveras 503e63e6af Select control: fix misalignment and hide scroll bar (https://github.com/woocommerce/woocommerce-admin/pull/3215)
* Fix misalignment in select control

* Fix scroll appearing in Select Control
2019-11-14 09:49:32 +01:00
Joshua T Flowers 91b8ed366d Onboarding: Add the ability to toggle on or off the new onboarding (https://github.com/woocommerce/woocommerce-admin/pull/3230)
* Add on option to toggle on the new onboarding experience

* Add an option to toggle off the new onboarding experience

* Update todo comment to remove option on merge to core
2019-11-14 13:12:37 +08:00
Joshua T Flowers f2d41e8fd7 Onboarding: Remove notice to run the old setup wizard (https://github.com/woocommerce/woocommerce-admin/pull/3232) 2019-11-14 13:11:28 +08:00
Joshua T Flowers 87edceabf3 Fix header error in homepage template (https://github.com/woocommerce/woocommerce-admin/pull/3231) 2019-11-14 13:05:28 +08:00
Paul Sealock 360b0f1651 Release 0.22.0 changes (https://github.com/woocommerce/woocommerce-admin/pull/3221) 2019-11-14 09:09:17 +13:00
renovate[bot] afb74db8a3 Update dependency qs to v6.9.1 (https://github.com/woocommerce/woocommerce-admin/pull/3226) 2019-11-13 09:51:47 +01:00
renovate[bot] 089b5cca70 Update dependency lerna to v3.18.4 (https://github.com/woocommerce/woocommerce-admin/pull/3225) 2019-11-13 09:51:36 +01:00
renovate[bot] 237c2afe57 Update dependency copy-webpack-plugin to v5.0.5 (https://github.com/woocommerce/woocommerce-admin/pull/3223) 2019-11-13 09:51:27 +01:00