Commit Graph

3176 Commits

Author SHA1 Message Date
renovate[bot] 8e542fbbc1 Update dependency recast to v0.18.5 (https://github.com/woocommerce/woocommerce-admin/pull/3090) 2019-10-24 12:11:07 +08:00
renovate[bot] 99374a005c Update dependency lerna to v3.18.3 (https://github.com/woocommerce/woocommerce-admin/pull/3088) 2019-10-24 12:03:33 +08:00
renovate[bot] 950bdd8c77 Update dependency react-router-dom to v5.1.2 (https://github.com/woocommerce/woocommerce-admin/pull/3089) 2019-10-24 12:00:05 +08:00
renovate[bot] b2a9111fd6 Update dependency eslint-plugin-jest to v22.20.0 (https://github.com/woocommerce/woocommerce-admin/pull/3050) 2019-10-24 11:55:39 +08:00
renovate[bot] fbdcd61dfc Update dependency dompurify to v2.0.7 (https://github.com/woocommerce/woocommerce-admin/pull/3049) 2019-10-24 11:46:42 +08:00
renovate[bot] 5b4d985af4 Update dependency core-js to v2.6.10 (https://github.com/woocommerce/woocommerce-admin/pull/3048) 2019-10-24 11:37:34 +08:00
renovate[bot] 502fc04056 Update dependency autoprefixer to v9.6.5 (https://github.com/woocommerce/woocommerce-admin/pull/3047) 2019-10-24 11:28:29 +08:00
Joshua T Flowers 38c9e38e28 Add no product option to product count dropdown (https://github.com/woocommerce/woocommerce-admin/pull/3092) 2019-10-24 07:33:10 +08:00
Joshua T Flowers c678421b63 Left align dropdown button text in SelectControl (https://github.com/woocommerce/woocommerce-admin/pull/3093) 2019-10-24 07:32:49 +08:00
renovate[bot] 5797f2b82e Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/2929)
* Update wordpress monorepo

* Add missing Gutenberg grid variables

* Fix button styling

* Fix snapshots (new classes and events are passed through from WP components update)

* Adjust button overwrites

* Update package-lock.json

* Fix focus issues/conflicts with react-dates and Dropdown

* Maintain DateRange focus without impacting expected "click outside" behavior.

* Resolve multiple React versions, update testing dependencies.

* blow away package-lock.json and refresh

- this fixed tests after an npm install on my end

* Allow tabbing to month nav and calendar grid.

* Fix keyboard navigation of DayPicker elements.

Add prop for specifying an element that's allowed to take focus from DateRange.

* refresh package-lock
2019-10-23 11:18:32 -07:00
Justin Shreve e9f4d45274 Install business extensions on the business details page (https://github.com/woocommerce/woocommerce-admin/pull/3084)
* Install Facebook & MailChimp plugins on the business details page

* Handle PR feedback: Add missing plugin name constants, and improve plugin component error handling
2019-10-23 11:17:38 -04:00
Joshua T Flowers 328f313c8c Use getenv in place of $_ENV (https://github.com/woocommerce/woocommerce-admin/pull/3077) 2019-10-23 07:56:22 +08:00
Joshua T Flowers 13f775eb98 Onboarding: Don't skip start step if TOS not accepted (https://github.com/woocommerce/woocommerce-admin/pull/3068)
* Don't skip start step if TOS not accepted

* Show WCS benefits even when installed
2019-10-23 07:55:57 +08:00
Joshua T Flowers e37e79722e Set SelectControl input to transparent (https://github.com/woocommerce/woocommerce-admin/pull/3069) 2019-10-22 07:50:46 +08:00
Justin Shreve f888079fe7 Add notices to return to task list on product and homepage tasks. (https://github.com/woocommerce/woocommerce-admin/pull/3061)
* Add notices to return to task list on product and homepage tasks.

* Handle PR feedback, simplifiy check.
2019-10-21 14:13:25 -04:00
Justin Shreve 973acde227 Fix asset image URL (https://github.com/woocommerce/woocommerce-admin/pull/3062) 2019-10-21 11:07:45 -04:00
renovate[bot] 53b7f2998c Update dependency @octokit/rest to v16.33.1 (https://github.com/woocommerce/woocommerce-admin/pull/3046) 2019-10-21 18:07:56 +08:00
renovate[bot] 5d2714e5b1 Update babel monorepo to v7.6.4 (https://github.com/woocommerce/woocommerce-admin/pull/3045) 2019-10-21 18:02:40 +08:00
Albert Juhé Lluveras 909185113a Fix unnecessary scroll bar visible on select control (https://github.com/woocommerce/woocommerce-admin/pull/3065) 2019-10-21 10:30:16 +02:00
Joshua T Flowers 8b1e263709 Onboarding: Add task list extensibility and example plugin (https://github.com/woocommerce/woocommerce-admin/pull/3060)
* Add task list filter

* Add task example plugin
2019-10-21 11:11:21 +08:00
Joshua T Flowers 0c490d430f Onboarding: Fix RTL translation in revenue ranges and translation notes (https://github.com/woocommerce/woocommerce-admin/pull/3059) 2019-10-21 08:48:30 +08:00
Joshua T Flowers 7b39e9f68c Onboarding: Add store is ready for launch note (https://github.com/woocommerce/woocommerce-admin/pull/3058)
* Add option to mark task list completed

* Add note when task list completed option is true

* Add note on task list complete option added
2019-10-21 08:33:46 +08:00
Albert Juhé Lluveras c9bbcc5e96 Fix typo in task list (https://github.com/woocommerce/woocommerce-admin/pull/3064) 2019-10-20 23:14:52 +02:00
Justin Shreve 8fe0f93c03 Add the ability to create custom plugin builds (https://github.com/woocommerce/woocommerce-admin/pull/3044)
* Add the ability to create custom plugin builds

* Use $_ENV instead of $_SERVER inside the generate-feature-config CLI script.
2019-10-17 14:00:20 -04:00
Justin Shreve e31e115e93 Update proceed without Jetpack/WCS to go to store details step (https://github.com/woocommerce/woocommerce-admin/pull/3040)
* Update proceed without Jetpack/WCS to go to store details step

* Adjust how we track the start/plugins step
2019-10-17 10:57:29 -04:00
Justin Shreve a4ac2d8521 Check for product_types in the shipping task (https://github.com/woocommerce/woocommerce-admin/pull/3057) 2019-10-17 10:39:59 -04:00
Joshua T Flowers 0ee9188e58 Onboarding: Skip tax steps if complete and mark task complete (https://github.com/woocommerce/woocommerce-admin/pull/3007) 2019-10-17 06:01:56 +08:00
Joshua T Flowers 181c02bbc8 Onboarding: Add redirect URL option to jetpack connection URL (https://github.com/woocommerce/woocommerce-admin/pull/3052)
* Add redirect_url as rest param to jetpack connection

* Add query param to jetpack connection URL in wc-api

* Add redirect URL to connection and plugin steps
2019-10-17 06:00:47 +08:00
Justin Shreve 96c633ed32 Add a feature flag check before trying to use task list selectors in the dashboard. (https://github.com/woocommerce/woocommerce-admin/pull/3053) 2019-10-16 16:53:45 -04:00
Joshua T Flowers 9a20b0289e Update Search component to use SelectControl (https://github.com/woocommerce/woocommerce-admin/pull/3036)
* Update onSearch to return promise

* Refactor Search component to use SelectControl

* Update autocompleter option keys and labels

* Remove Autocomplete component
2019-10-16 12:00:20 +08:00
Justin Shreve 5ee318064a Remove the Onboarding Levels API (https://github.com/woocommerce/woocommerce-admin/pull/3041) 2019-10-15 10:46:12 -04:00
Paul Sealock e07800d75b Release/0.20.1 (https://github.com/woocommerce/woocommerce-admin/pull/3033)
* Prepare for 0.20.0

* Fix Facebook extension install from inbox (https://github.com/woocommerce/woocommerce-admin/pull/3010)

* Restore FB extension to installation whitelist.

Errantly removed in fe585aa2.

* Fix FB extension installation from inbox.

APIs have diverged.

* Update order stats table status index length. (https://github.com/woocommerce/woocommerce-admin/pull/3022)

* Add per-version DB upgrade routine.

Update order stats index length as well.

* Use globally namespaced methods for DB updates.

* Avoid creating duplicate DB update actions.

* use category lookup id instead of term taxonomy id (https://github.com/woocommerce/woocommerce-admin/pull/3027)

* Release 0.20.1
2019-10-15 14:21:19 +13:00
Joshua T Flowers a8830d4253 Escape spaces in package file watch paths (https://github.com/woocommerce/woocommerce-admin/pull/3035) 2019-10-15 06:34:03 +08:00
Darren Ethier fee65dd6ac Decouple wcSettings from published packages. (https://github.com/woocommerce/woocommerce-admin/pull/3001)
* refactor wcSettings in components to use new api

* update test snapshot

* refactor wcSettings in other packages

* fix how defaults are set for setting

* decouple siteLocale from ReportsFilters and AdvancedFilters

* Decouple currency settings from packages

AdvancedFilters, ReportFilters, and NumberFilters now receive currency info as props.

* decouple currency settings from `ReportChart`

* decouple `wcAdminAssetsUrl` setting from `EmptyContent`

- also refactors to remove the need for `ImageAsset` component.

* decouple OrderStatus from wcSettings

* decouple wcAdminUrl setting from ProductImage component

- this also implements a SVG for default product image.

* remove export for image-asset that is no longer present

* remove console.log

* update test snapshots for ProductImage
2019-10-11 11:45:45 -04:00
Justin Shreve 0785f3c97b Add Task List Completed Functionality (https://github.com/woocommerce/woocommerce-admin/pull/3021)
* Task list completed functionality

* Hook up banner functionality

* Handle PR feedback: Add pointer/arrow, adjust banner hide behavior, some minor code changes.
2019-10-11 08:55:35 -04:00
Jeff Stieler bfba456a46 Render a "manage" link on review inbox items. (https://github.com/woocommerce/woocommerce-admin/pull/3011)
* Render a "manage" link on review inbox items.

Instead of the SplitButton with multiple actions.

* Remove review ID from tracks event data.
2019-10-10 15:31:28 -07:00
Jeff Stieler c8b94836df Update order stats table status index length. (https://github.com/woocommerce/woocommerce-admin/pull/3022)
* Add per-version DB upgrade routine.

Update order stats index length as well.

* Use globally namespaced methods for DB updates.

* Avoid creating duplicate DB update actions.
2019-10-10 13:54:44 -07:00
Ron Rennick 0d664fdd87 use category lookup id instead of term taxonomy id (https://github.com/woocommerce/woocommerce-admin/pull/3027) 2019-10-10 14:15:25 -03:00
Justin Shreve d8132942f3 Change usage tracking prompt to modal (https://github.com/woocommerce/woocommerce-admin/pull/2968)
* Move tracking usage question to modal

* Fix PHPCS errors

* Adjust button alignment, update PHPCS version.

* Fix options check

* Handle PR feedback
2019-10-10 10:05:13 -04:00
Paul Sealock ae413cb03e Prepare for 0.20.0 (https://github.com/woocommerce/woocommerce-admin/pull/3006) 2019-10-10 12:12:55 +13:00
Joshua T Flowers b92500b35f Onboarding: Replace TextControl component (https://github.com/woocommerce/woocommerce-admin/pull/3020)
* Add TextControl component

* Replace instances of newspack TextControl
2019-10-10 07:00:33 +08:00
renovate[bot] 4c19988109 Update dependency lerna to v3.16.5 (https://github.com/woocommerce/woocommerce-admin/pull/3017) 2019-10-09 10:09:40 -04:00
renovate[bot] 5640d6232e Update dependency dompurify to v2.0.5 (https://github.com/woocommerce/woocommerce-admin/pull/3016) 2019-10-09 09:58:13 -04:00
renovate[bot] 5c185006f9 Update dependency autoprefixer to v9.6.4 (https://github.com/woocommerce/woocommerce-admin/pull/3015) 2019-10-09 09:50:07 -04:00
renovate[bot] 9977b9f1e3 Update dependency @octokit/rest to v16.33.0 (https://github.com/woocommerce/woocommerce-admin/pull/3014) 2019-10-09 09:42:08 -04:00
renovate[bot] 9e149f4ad1 Update babel monorepo to v7.6.3 (https://github.com/woocommerce/woocommerce-admin/pull/3013) 2019-10-09 09:28:27 -04:00
renovate[bot] 77c4dfe4de Pin dependency webpack-fix-style-only-entries to 0.3.1 (https://github.com/woocommerce/woocommerce-admin/pull/3012) 2019-10-09 09:20:55 -04:00
Joshua T Flowers 37fbdaf5c0 Add options REST API permission checks (https://github.com/woocommerce/woocommerce-admin/pull/3004) 2019-10-09 06:39:40 +08:00
Jeff Stieler e53d5daa94 Hook up download button to export endpoint. (https://github.com/woocommerce/woocommerce-admin/pull/2900)
* Move TableCard actions from packaged component to ReportTable.

* Build an IE stylesheet for the main app.

* Remove defunct TableCard download test.

* Update components changelog.

* Fix pagination.

Pull query from table data instead of ReportTable props.

* Initiate report export from download button (https://github.com/woocommerce/woocommerce-admin/pull/2951)

* Add report export operations to API spec.

* Initiate a report export job when there is more than one page of report data.

* Add report download "type" to Tracks event.

* Ensure WC_Emails class is hooked in before sending report download emails.

* Set email parameter for background CSV download requests.
2019-10-08 15:02:26 -07:00
Jeff Stieler ba28e41ee5 Fix Facebook extension install from inbox (https://github.com/woocommerce/woocommerce-admin/pull/3010)
* Restore FB extension to installation whitelist.

Errantly removed in fe585aa2.

* Fix FB extension installation from inbox.

APIs have diverged.
2019-10-08 12:32:44 -07:00
Joshua T Flowers 431e465893 Hide shipping step for stores without physical products (https://github.com/woocommerce/woocommerce-admin/pull/3005) 2019-10-08 06:42:57 +08:00
Joshua T Flowers 1563971836 Replace select controls with new SelectControl (Autocomplete) component (https://github.com/woocommerce/woocommerce-admin/pull/2997)
* Rename Autocomplete component to SelectControl

* Add isSearchable prop to SelectControl

* Remove SimpleSelectControl component

* Refactor list expansion and key behavior

* Bump changelog and version
2019-10-08 06:42:32 +08:00
Justin Shreve 19a69b7789 Add Task List Tracks Events (https://github.com/woocommerce/woocommerce-admin/pull/2991)
* Add Task List Tracks Events

* Add remaining tracks

* Add payment task tracks

* Adjust event prop names
2019-10-07 16:27:34 -04:00
renovate[bot] 634832cdc4 Update dependency cross-env to v6.0.3 (https://github.com/woocommerce/woocommerce-admin/pull/2984) 2019-10-07 13:57:27 -04:00
renovate[bot] 7b2a12b7b4 Update dependency eslint-plugin-react to v7.16.0 (https://github.com/woocommerce/woocommerce-admin/pull/2985) 2019-10-07 13:47:15 -04:00
renovate[bot] ba861ce90d Update dependency sass-loader to v7.3.1 (https://github.com/woocommerce/woocommerce-admin/pull/2914) 2019-10-07 12:06:26 -04:00
renovate[bot] 96ec3bceaf Update dependency rimraf to v2.7.1 (https://github.com/woocommerce/woocommerce-admin/pull/2913) 2019-10-07 12:03:29 -04:00
renovate[bot] 484fa06464 Update dependency eslint-plugin-jest to v22.17.0 (https://github.com/woocommerce/woocommerce-admin/pull/2912) 2019-10-07 11:13:52 -04:00
renovate[bot] 6e7113730e Update dependency d3-format to v1.4.1 (https://github.com/woocommerce/woocommerce-admin/pull/2911) 2019-10-07 10:53:45 -04:00
renovate[bot] 891823c576 Update babel monorepo to v7.6.2 (https://github.com/woocommerce/woocommerce-admin/pull/2910) 2019-10-07 10:45:00 -04:00
Darren Ethier f8ebc4cd6d refactor all client files to use new settings api (https://github.com/woocommerce/woocommerce-admin/pull/3002) 2019-10-07 07:51:25 -04:00
Justin Shreve 6bcc63f2de Disable profile wizard continue buttons until fields are complete (https://github.com/woocommerce/woocommerce-admin/pull/2983) 2019-10-04 09:46:27 -04:00
Albert Juhé Lluveras 9f38e2d619 Replace lodash isNaN() with native Number.isNaN() (https://github.com/woocommerce/woocommerce-admin/pull/2998)
* Replace lodash isNaN() with native Number.isNaN()

* Update CHANGELOG
2019-10-04 09:25:23 +02:00
Paul Sealock fa8311da07 wcSettings refactor: fix camel case for currencies in PHP (https://github.com/woocommerce/woocommerce-admin/pull/2975) 2019-10-04 12:04:25 +13:00
Justin Shreve 30a31c8fdf Fix onboarding linter errors (https://github.com/woocommerce/woocommerce-admin/pull/3000) 2019-10-03 15:53:10 -04:00
Justin Shreve c2a340da55 Add Stripe, PayPal, Klarna, and Square Connection Flows to the Payments Task (https://github.com/woocommerce/woocommerce-admin/pull/2897)
* Add payment method configuration

* Add stripe connection code

* Finish stripe connection logic

* Add PayPal Connection Flows

* Handle PR feedback: Enable methods when configuring via manual mode, update error modal to just rely on the errorMessage state, add TOS link and acceptance to the profile wizard, update optionsIsRequesting usage, and update docblocks.

* Update TOS message / display

* Add missing success messages on manual save

* Add Square & Klarna to Payments Task (https://github.com/woocommerce/woocommerce-admin/pull/2960)

* Add Square to payments task

* Add logos to payment task

* Add Klarna configuration, and fix assetUrl usage
2019-10-03 12:03:29 -04:00
Deiva Magalhaes c72abdc233 Fix issue woocommerce/woocommerce-admin#2992 (order number in orders panel) (https://github.com/woocommerce/woocommerce-admin/pull/2994) 2019-10-03 09:49:06 +13:00
Justin Shreve 9a48461921 Catch notices earlier than priority 10 (https://github.com/woocommerce/woocommerce-admin/pull/2981) 2019-10-02 09:25:31 -04:00
Mike Jolley edcfc161fa Category Lookup Table - Fix Category Segments (https://github.com/woocommerce/woocommerce-admin/pull/2253)
* Look table class and installer

* New table + stats

* Working reports/initial population

* Remove test

* Refactor, remove depth

* Unused table

* Update todo

* Add docblocks and reorder get_insert_sql params for consistency

* Adjust css braces

* clear hook on deactivation

* PSR-4 category lookup

* linting CSS closing brace last char on line

* initialize category lookup table in unit tests

* missed linting fixes

* revert move of run_all_pending call

* use consistent reference for term_relationships in queries
2019-10-02 12:35:37 +13:00
Jeff Stieler ac9f3f4680 Use version number for cache invalidation (https://github.com/woocommerce/woocommerce-admin/pull/2970)
* Refactor report datastore cache key generation.

* Add transient-backed Cache class for Report DataStores.

* Bump reports cache version when data changes.

* Rollover cache version number after a limit and expire report transients every day.

* Use caching strategy like WC core.

Store cache version in value, not in key. Increase expiration to 1 week.
2019-10-01 09:36:05 -07:00
Justin Shreve c5034567fc Fix API namespace for the WooCommerce.com Connect Task (https://github.com/woocommerce/woocommerce-admin/pull/2979) 2019-10-01 11:09:13 -04:00
Albert Juhé Lluveras db4328acb8 Use native Number.isFinite() instead of lodash isFinite (https://github.com/woocommerce/woocommerce-admin/pull/2977) 2019-10-01 10:02:53 +02:00
Paul Sealock 029e514c75 wcSettings: fix countries getSettings (https://github.com/woocommerce/woocommerce-admin/pull/2974)
* wcSettings: fix countries getSettings

* Revert "wcSettings: fix countries getSettings"

This reverts commit cdccfa95cded4b1d7e8908102e8814a0281b027e.

* fix incorrect countries usage

* apply countries fix to Customers Report
2019-10-01 10:43:26 +13:00
Kʜᴀɴ 202fde95b5 Simplified intervals_missing method of TimeInterval (https://github.com/woocommerce/woocommerce-admin/pull/2919) 2019-10-01 10:15:41 +13:00
Kʜᴀɴ 1673e3f01f Simplified intervals_missing method of DataStore class (https://github.com/woocommerce/woocommerce-admin/pull/2920)
* Simplified intervals_missing method of DataStore class

* Fixed a little typo
2019-10-01 10:14:12 +13:00
Darren Ethier e4817567e7 remove unnecessary duplicate logic (https://github.com/woocommerce/woocommerce-admin/pull/2971) 2019-09-30 15:44:44 +01:00
renovate[bot] b129dab7b6 Update dependency history to v4.10.1 (https://github.com/woocommerce/woocommerce-admin/pull/2926) 2019-09-27 15:08:57 -04:00
renovate[bot] 1587d1503c Update dependency woocommerce/woocommerce-sniffs to v0.0.7 (https://github.com/woocommerce/woocommerce-admin/pull/2928) 2019-09-27 14:40:45 -04:00
renovate[bot] 0ba4c032b3 Update dependency webpack to v4.41.0 (https://github.com/woocommerce/woocommerce-admin/pull/2915) 2019-09-27 14:25:47 -04:00
renovate[bot] 44cbe347df Update dependency webpack-cli to v3.3.9 (https://github.com/woocommerce/woocommerce-admin/pull/2927) 2019-09-27 14:14:54 -04:00
renovate[bot] 340e90ed02 Update dependency @octokit/rest to v16.30.1 (https://github.com/woocommerce/woocommerce-admin/pull/2954) 2019-09-27 14:10:26 -04:00
renovate[bot] 0c491eaaf7 Update dependency qs to v6.9.0 (https://github.com/woocommerce/woocommerce-admin/pull/2955) 2019-09-27 14:04:12 -04:00
Darren Ethier ae1ffab169 Fix `npm run build` resulting in non functional app. (https://github.com/woocommerce/woocommerce-admin/pull/2964)
* change default for `WC_ADMIN_PHASE`

* rework to introduce new `build:plugin` script and use it instead

- also revert defaulting `WC_ADMIN_PHASE` to core.
2019-09-26 19:05:26 -04:00
Jeff Stieler 485af8576f Add ability to receive an emailed download link to report export endpoint. (https://github.com/woocommerce/woocommerce-admin/pull/2899)
* Add ability to receive an emailed download link to report export endpoint.

* Use WC_Email to send report download links.
2019-09-26 13:38:32 -07:00
Paul Sealock bc8127bd33 0.19.0 release changes (https://github.com/woocommerce/woocommerce-admin/pull/2946) 2019-09-27 07:42:24 +12:00
Jeff Stieler e10d746bcd Ignore filename rules for PSR-4 classes. (https://github.com/woocommerce/woocommerce-admin/pull/2967) 2019-09-26 12:22:40 -07:00
Darren Ethier 415e2a4445 update README.md and CONTRIBUTING.md (https://github.com/woocommerce/woocommerce-admin/pull/2963) 2019-09-26 07:35:54 -04:00
Jeff Stieler e1ab60179d Fix DevDocs example render. (https://github.com/woocommerce/woocommerce-admin/pull/2962)
Incorrect changes chosen in a merge conflict resolution.
2019-09-25 12:23:49 -07:00
renovate[bot] ebcdcbd30b Update dependency debug to v4 (https://github.com/woocommerce/woocommerce-admin/pull/2957) 2019-09-25 15:19:12 -04:00
Joshua T Flowers c70c7bfd68 Fix vendor scripts not autoloading (https://github.com/woocommerce/woocommerce-admin/pull/2907)
* Fix vendor scripts and test bootstrapping

* Escape the downloaded file URL in tests

* Generate feature config file for tests

* Run feature config generation before and after script tests
2019-09-25 14:20:15 -04:00
Mike Jolley 1d8d0df790 Prevent fatal in pageController if get_current_screen is not available (https://github.com/woocommerce/woocommerce-admin/pull/2846) 2019-09-25 13:59:11 -04:00
renovate[bot] 5651d7b725 Update dependency cross-env to v6 (https://github.com/woocommerce/woocommerce-admin/pull/2930) 2019-09-25 13:58:18 -04:00
renovate[bot] 61487e5a3e Update dependency react-router-dom to v5.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/2956) 2019-09-25 13:23:30 -04:00
renovate[bot] f63a5123d8 Update dependency @automattic/color-studio to v2.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/2925) 2019-09-25 13:15:01 -04:00
renovate[bot] 26d513ed08 Update dependency dompurify to v2 (https://github.com/woocommerce/woocommerce-admin/pull/2958) 2019-09-25 12:48:39 -04:00
Jeff Stieler d2de060048 Copy component READMEs to docs folder before GH page deploy. (https://github.com/woocommerce/woocommerce-admin/pull/2952) 2019-09-25 09:37:05 -07:00
Ron Rennick 17abde4b18 add DevDocs for ScrollTo component (https://github.com/woocommerce/woocommerce-admin/pull/2873)
* add DevDocs for ScrollTo component
2019-09-25 09:47:40 -03:00
Paul Sealock 57ea46b49d Leaderboards: fix rename from getSettings (https://github.com/woocommerce/woocommerce-admin/pull/2948) 2019-09-25 08:45:59 +12:00
Jeff Stieler 605e866d62 Add GitHub pages deploy step to Travis config. (https://github.com/woocommerce/woocommerce-admin/pull/2940) 2019-09-24 13:01:17 -07:00
Jeff Stieler 8b77fe144e Fix plugin installation when working from a push instead of a pull request. (https://github.com/woocommerce/woocommerce-admin/pull/2950) 2019-09-24 08:59:38 -07:00
Jeff Stieler 0be875d898 Reduce size of bundled JS, and overall plugin file size. (https://github.com/woocommerce/woocommerce-admin/pull/2933)
* Remove embed-page-specific Webpack entry.

* Stop @woocommerce/components from being bundled with the app code.
2019-09-24 08:55:39 -07:00
Jeff Stieler 696b6ca000 Fix pull request branch detection on CI (try #3) (https://github.com/woocommerce/woocommerce-admin/pull/2945)
* Only build pushes to master branch.

* Fix branch detection in CI.

* Remove string interpolation from Travis branch name check.

* Try using PR branch variable as string.
2019-09-24 07:43:14 -07:00
Jeff Stieler 842e9e4d6f Fix pull request branch detection on CI (try #2) (https://github.com/woocommerce/woocommerce-admin/pull/2944)
* Only build pushes to master branch.

* Fix branch detection in CI.

* Remove string interpolation from Travis branch name check.
2019-09-23 15:42:17 -07:00
Jeff Stieler 307f3e1282 Fix pull request branch detection on CI (https://github.com/woocommerce/woocommerce-admin/pull/2942)
* Only build pushes to master branch.

* Fix branch detection in CI.
2019-09-23 15:20:19 -07:00
Darren Ethier d728d38219 Refactor: Alternative approach to implementing extendable settings from the server (https://github.com/woocommerce/woocommerce-admin/pull/2917)
* integrate with new asset data registration (php side)

- includes back-compatibility.

* update js configuration and implement settings alias

- this aliases `@woocommerce/wc-admin-settings` to the settings api exposed via blocks (either the blocks plugin or core) and all the settings provided via the server.
- Adds fallback for back-compat if `wc.wcSettings` is not available in the environment (fallsback to `wcSettings`).

* initial pass to update all wcSettings direct usage to the new api

- this is just an initial pass, more can be done in separate pulls.

* missed one spot for adding new filter implementation

* fix incorrect jest config

* Avoid unnecessary assignment and directly return.

* Remove unnecessary defaults

* Fix inline comment text case.

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Remove unnecessary inline comment.

* use @todo instead of TODO

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* fix incorrect reference in webpack config.

* add missing import and slightly delay dependency injection for scripts

* update get-setting and set-setting callbacks

* disable lint rule for console.error on dev doc builds
2019-09-23 17:47:08 -04:00
Jeff Stieler 64a3ce98f5 Only build pushes to master branch. (https://github.com/woocommerce/woocommerce-admin/pull/2941) 2019-09-23 12:14:14 -07:00
Jeff Stieler 628e53c7fa Merge pull request woocommerce/woocommerce-admin#2872 from woocommerce/update/2844-devdocs-like-calypso
Update DevDocs to be more Calypso-like
2019-09-23 07:59:32 -07:00
Ron Rennick 5a66f70d21 Merge pull request woocommerce/woocommerce-admin#2819 from woocommerce/add/notes-where-clause-filters
Add filter to notes datastore where clauses
2019-09-23 10:46:59 -03:00
Paul Sealock c1280b5f0f Merge pull request woocommerce/woocommerce-admin#2916 from codemascot/fix/typo-FeaturePlugin.php
Removed extra semicolon and line end whitespaces
2019-09-22 22:14:50 -04:00
Jeff Stieler d2b02db128 Merge pull request woocommerce/woocommerce-admin#2898 from woocommerce/cleanup/end-of-class-files
indent cleanup, remove blank line before class closing brace
2019-09-19 11:10:30 -07:00
Albert Juhé Lluveras 3406bd85e0 Fix variable name typo (https://github.com/woocommerce/woocommerce-admin/pull/2922) 2019-09-13 18:39:51 +02:00
Khan Mohammad R 5f5b319f6a Removed extra semicolon and line end whitespaces 2019-09-11 16:11:07 +06:00
Jeff Stieler 1c7c051414 Wrap TableCard examples in containers. 2019-09-06 11:52:22 -07:00
Jeff Stieler d3572e85ca Fix typos in DateRangeFilterPicker readme. 2019-09-06 11:52:21 -07:00
Jeff Stieler bf37c30b16 Finish documentation for AdvancedFilters component. 2019-09-06 11:52:21 -07:00
Jeff Stieler 74330ef8f4 Remove unneeded dependencies. 2019-09-06 11:52:20 -07:00
Jeff Stieler 029ccbff3e Update doc gen format, fix docsify docs for exported components. 2019-09-06 11:52:20 -07:00
Jeff Stieler 90ccb6f440 Fix EllipsisMenu example component. 2019-09-06 11:52:19 -07:00
Jeff Stieler f5c153e678 Fix error in using TableCard's example pagination control. 2019-09-06 11:52:19 -07:00
Jeff Stieler 499365d5ef Fix direct linking to single components in DevDocs. 2019-09-06 11:52:19 -07:00
Jeff Stieler a0efb6967f Fetch component usage documentation from local README.md.
Format documentation like Calypso, include usage section.
2019-09-06 11:52:18 -07:00
Jeff Stieler 134f472484 Tweak styling of single component view in DevDocs. 2019-09-06 11:37:18 -07:00
Jeff Stieler 3d03faa887 Convert markdown JSX code blocks to actual JS files for component documentation. 2019-09-06 11:37:18 -07:00
Joshua T Flowers f095466442 Onboarding: Add create homepage logic to "Customize Appearance" step (https://github.com/woocommerce/woocommerce-admin/pull/2889) 2019-09-06 22:18:44 +08:00
Albert Juhé Lluveras 5b0af85472 Use upstream webpack-rtl-plugin (https://github.com/woocommerce/woocommerce-admin/pull/2870) 2019-09-06 16:12:50 +02:00
Joshua T Flowers 52c295b820 Onboarding: Add "Import products" step (https://github.com/woocommerce/woocommerce-admin/pull/2868) 2019-09-06 10:06:29 +08:00
Ron Rennick d186ec7dc3 indent cleanup, remove blank line before class closing brace 2019-09-05 16:49:06 -03:00
Albert Juhé Lluveras 07d3e591eb Fix chart type buttons misalignment (https://github.com/woocommerce/woocommerce-admin/pull/2871) 2019-09-04 19:29:13 +02:00
Ron Rennick d9000f4b23 add filter PHPDocs 2019-09-04 14:15:21 -03:00
Ron Rennick e2d326b236 remove redundant filter 2019-09-04 14:08:52 -03:00
Jeff Stieler ef313fcc6c Merge pull request woocommerce/woocommerce-admin#2881 from cojennin/fix/customer-analytics-date
Fix: persist date_last_active for customer reports 👏 @cojennin
2019-09-04 09:25:39 -07:00
Ron Rennick d74503642d Merge pull request woocommerce/woocommerce-admin#2874 from woocommerce/fix/task-list-imports
use correct path for NAMESPACE import in task-list
2019-09-04 13:03:24 -03:00
Jeff Stieler 2546a3faec Merge pull request woocommerce/woocommerce-admin#2832 from woocommerce/fix/2702-queue-customer-updates
Queue customer lookup updates.
2019-09-04 08:49:40 -07:00
Jeff Stieler c55bc5f22d Remove "show" prefix from dashboard store performance toggles.
Also nix an unnecessary translation on chart toggles.
2019-09-04 08:39:22 -07:00
Jeff Stieler b6c34109f0 Look for `title` properties when using JSON schema for indicator labels.
Fix the dashboard labels at the same time.
2019-09-04 07:49:37 -07:00
Jeff Stieler 2fed2f2467 Fix report column labels on client side. 2019-09-04 07:49:37 -07:00
Connor Jennings f660f22c5e Fix: persist date_last_active 2019-09-04 09:44:05 -04:00
renovate[bot] a6c089703b Update dependency replace to v1.1.1 (https://github.com/woocommerce/woocommerce-admin/pull/2878) 2019-09-04 10:55:59 +02:00
renovate[bot] 04f7540799 Update dependency eslint-plugin-jest to v22.16.0 (https://github.com/woocommerce/woocommerce-admin/pull/2877) 2019-09-04 10:55:51 +02:00
renovate[bot] 7241a3fda6 Update dependency cross-env to v5.2.1 (https://github.com/woocommerce/woocommerce-admin/pull/2876) 2019-09-04 10:55:35 +02:00
renovate[bot] 36d8adbdad Update dependency @octokit/rest to v16.28.9 (https://github.com/woocommerce/woocommerce-admin/pull/2875) 2019-09-04 10:55:27 +02:00
Ron Rennick d89a975dbc remove whitespace added in woocommerce/woocommerce-admin#2862 2019-09-03 17:15:50 -03:00
Ron Rennick 966cd9c0cc use correct path for NAMESPACE import in task-list 2019-09-03 17:11:14 -03:00
Ron Rennick 193c961d22 add backticks to component tag in changelog 2019-09-03 14:09:22 -03:00
Ron Rennick 24d3104eca fix merge conflicts 2019-09-03 14:08:02 -03:00
Justin Shreve d8a0364c61 Onboarding - add quick testing links for Calypso flows (https://github.com/woocommerce/woocommerce-admin/pull/2863)
* Add help tab for task list toggling

* Redirect after resetting profiler to remove get params

* Onboarding - add quick testing links for Calypso flows

* Handle PR feedback
2019-09-03 09:42:00 -04:00
Joshua T Flowers c4edf4305d Onboarding: Add task list toggle option (https://github.com/woocommerce/woocommerce-admin/pull/2862) 2019-09-02 11:52:47 +08:00
Joshua T Flowers 7bce0b710f Onboarding: Add "Customize Appearance" task (https://github.com/woocommerce/woocommerce-admin/pull/2857)
* Add initial Customize Appearance task

* Add options wc endpoint

* Add wc-api specs to manage options
2019-09-02 11:45:56 +08:00
Justin Shreve e156605bfa Onboarding Task List - Install selected payment methods (https://github.com/woocommerce/woocommerce-admin/pull/2858)
* Onboarding Task List - Install selected payment methods

* Don't pass formData to render functions
2019-08-30 13:04:11 -04:00
Paul Sealock dfc428e176 Merge branch 'master' into release/0.18.0 2019-08-30 20:53:47 +12:00
Justin Shreve e5b4606047 Add base payments task & jetpack connection status method (https://github.com/woocommerce/woocommerce-admin/pull/2853)
* Add a base for the payments task, with the ability to choose methods. Also adds Jetpack connection status.

* Handle PR feedback
2019-08-29 12:41:04 -04:00
Justin Shreve e67b556ac9 Update to Color Studio v2.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/2837)
* Update color-studio to v2.1.0

* Handle additional color updates after rebase.
2019-08-29 12:07:56 -04:00
David Levin 4acf5ff497 Update no data message in table 2019-08-28 15:55:28 -07:00
Jeff Stieler cd0ed4353d Merge pull request woocommerce/woocommerce-admin#2843 from woocommerce/add/2803-report-filter-filters
Add filters to all Report filter config objects.
2019-08-28 08:16:14 -07:00
Jeff Stieler 079748cbb2 Remove "filter" from the report charts filter names. 2019-08-28 07:55:55 -07:00
Paul Sealock b4a8641c31 Merge pull request woocommerce/woocommerce-admin#2848 from woocommerce/renovate/babel-monorepo
Update dependency babel-eslint to v10.0.3
2019-08-28 17:13:04 +12:00
Paul Sealock 2b1c625314 Merge pull request woocommerce/woocommerce-admin#2849 from woocommerce/renovate/d3-scale-chromatic-1.x
Update dependency d3-scale-chromatic to v1.5.0
2019-08-28 17:12:18 +12:00
Paul Sealock 6576a4ef22 Merge pull request woocommerce/woocommerce-admin#2850 from woocommerce/renovate/eslint-plugin-jest-22.x
Update dependency eslint-plugin-jest to v22.15.2
2019-08-28 17:11:40 +12:00
Paul Sealock a71ae8c934 release 0.18.0 2019-08-28 16:01:13 +12:00
Renovate Bot ad099f21e0 Update dependency memoize-one to v5.1.1 2019-08-28 02:01:26 +00:00
Renovate Bot 21eef8a392 Update dependency eslint-plugin-jest to v22.15.2 2019-08-28 01:58:24 +00:00
Renovate Bot 311fb89eb2 Update dependency d3-scale-chromatic to v1.5.0 2019-08-28 00:50:11 +00:00
Renovate Bot 6f8c9037fa Update dependency babel-eslint to v10.0.3 2019-08-28 00:47:31 +00:00
Jeff Stieler c795fb0e09 Allow filters and advanced filters to be added to reports without them. 2019-08-27 12:33:31 -07:00
Jeff Stieler 56e74213a9 Show separate documentation for filter components. 2019-08-27 10:20:38 -07:00
Joshua T Flowers fbcd38acea Update the product types to use IDs (https://github.com/woocommerce/woocommerce-admin/pull/2841) 2019-08-27 11:24:19 +08:00
Joshua T Flowers 55fe83c70b Improve Autocomplete accessibility (https://github.com/woocommerce/woocommerce-admin/pull/2840) 2019-08-27 11:24:03 +08:00
Jeff Stieler 4dbd7ee176 Move AdvancedFilters, CompareFilter, DateRangeFilterPicker, and FilterPicker into top-level component directories. 2019-08-26 13:08:06 -07:00
Joshua T Flowers 547b771cdf Onboarding: Add tax task. (https://github.com/woocommerce/woocommerce-admin/pull/2830) 2019-08-26 13:49:04 +08:00
Paul Sealock 822f18c2be Merge pull request woocommerce/woocommerce-admin#2839 from cojennin/fix/2729-product-click
Product in dropdown clickable in FF/Safari
2019-08-26 11:54:29 +12:00
Connor Jennings 54c3a2658f Product in dropdown clickable in FF/Safari 2019-08-24 09:45:51 -04:00
Ron Rennick 9d2d085aee handle offset attribute and children 2019-08-23 15:34:44 -03:00
Jeff Stieler 7a28fbc0ff Add filters for all report filter configs. 2019-08-23 09:41:42 -07:00
Justin Shreve fe585aa2ee Onboarding - Profile Wizard: Update plugin installation step to deal with previously installed plugins (https://github.com/woocommerce/woocommerce-admin/pull/2825)
* Handle previously installed plugins during the onboarding wizard

* Allow the activate endpoint to activate multiple plugins at once, avoiding a race condition.

* Handle PR feedback

* Add the ability to fetch active plugins via wc-api
2019-08-23 08:56:57 -04:00
Ron Rennick 2b188369b3 Merge pull request woocommerce/woocommerce-admin#2818 from woocommerce/fix/2006
display local time on note instead of UTC
2019-08-23 09:19:19 -03:00
Ron Rennick 714a13ca1d Merge pull request woocommerce/woocommerce-admin#2827 from woocommerce/fix/2813
use wc-admin urls in devdocs
2019-08-22 14:15:19 -03:00
Ron Rennick 8f9f44bac5 add explicit type to Link tags 2019-08-22 13:55:01 -03:00
Jeff Stieler 3cb05f13d3 Test help queue runner - run until no more jobs remain. 2019-08-21 16:39:09 -07:00
Ron Rennick df5ed96b5a use wc-admin urls in devdocs 2019-08-21 18:16:12 -03:00
Paul Sealock 7a3337694a Readme: add composer install step 2019-08-22 07:17:05 +12:00
Ron Rennick add9ac83d4 Merge pull request woocommerce/woocommerce-admin#2820 from woocommerce/renovate/concurrently-4.x
Update dependency concurrently to v4.1.2
2019-08-21 13:38:41 -03:00
Ron Rennick 893d3243ee Merge pull request woocommerce/woocommerce-admin#2821 from woocommerce/renovate/qs-6.x
Update dependency qs to v6.8.0
2019-08-21 13:34:50 -03:00
Jeff Stieler 8f27a374f1 Fix tests. 2019-08-21 09:34:17 -07:00
Jeff Stieler f5b46ec037 Fix cleanup of customer import jobs. 2019-08-21 09:34:05 -07:00
Ron Rennick 42b79fce3e Merge pull request woocommerce/woocommerce-admin#2822 from woocommerce/renovate/recast-0.x
Update dependency recast to v0.18.2
2019-08-21 13:28:32 -03:00
Ron Rennick 8a7db80536 Merge pull request woocommerce/woocommerce-admin#2823 from woocommerce/renovate/redux-4.x
Update dependency redux to v4.0.4
2019-08-21 13:24:59 -03:00
Jeff Stieler 0659049629 Hook up customer updates in the sync class. 2019-08-21 09:00:00 -07:00
Ron Rennick 8e9a96259e Merge pull request woocommerce/woocommerce-admin#2824 from woocommerce/remove/PSR-4-missed-constant
remove constant eliminated by PSR-4
2019-08-21 12:26:47 -03:00
Jeff Stieler 4ea5732097 Merge pull request woocommerce/woocommerce-admin#2817 from woocommerce/fix/2650-refunded-orders-gross-total
Ignore refunded amounts when calculating gross total.
2019-08-21 08:13:09 -07:00
Ron Rennick bb8d5f64e4 remove constant eliminated by PSR-4 2019-08-21 12:07:47 -03:00
Joshua T Flowers 7fbc4cc0df Add Autocomplete component (https://github.com/woocommerce/woocommerce-admin/pull/2808) 2019-08-21 14:41:42 +08:00
Joshua T Flowers 234e4d513c Add plugin and jetpack wc-api methods to shipping task (https://github.com/woocommerce/woocommerce-admin/pull/2778)
* Add shipping labels step

* Add jetpack connection selectors to wc-api

* Add plugin install and activation methods to wc-api

* Add shipping connect step

* Add busy cursor CSS to buttons
2019-08-21 14:34:21 +08:00
Joshua T Flowers f4d7936b17 Onboarding: Add shipping rate base task (https://github.com/woocommerce/woocommerce-admin/pull/2760) 2019-08-21 13:58:47 +08:00
Renovate Bot b078ae5158 Update dependency redux to v4.0.4 2019-08-21 01:21:30 +00:00
Renovate Bot a0558ead38 Update dependency recast to v0.18.2 2019-08-21 01:19:20 +00:00
Renovate Bot 32d806caed Update dependency qs to v6.8.0 2019-08-21 00:14:18 +00:00
Renovate Bot e51547bbed Update dependency concurrently to v4.1.2 2019-08-21 00:11:39 +00:00
Ron Rennick b770ccb987 add filters to notes datastore where clauses 2019-08-20 20:48:11 -03:00
Jeff Stieler b3ab0c4eab Add method to schedule customer data updates. 2019-08-20 15:56:54 -07:00
Ron Rennick 44bf577938 display local time on note instead of UTC 2019-08-20 19:38:56 -03:00