Commit Graph

618 Commits

Author SHA1 Message Date
renovate[bot] 749387c4bb Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/4245)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 10:45:17 +12:00
Matt Sherman 9e9c261365 Add `jest-dom` eslint plugin (https://github.com/woocommerce/woocommerce-admin/pull/4327)
* Disable `jest-dom/prefer-enabled-disabled` rule for d3chart enzyme-based tests.
* Add `jest-dom` eslint plugin.
2020-05-11 10:17:26 -04:00
Matt Sherman 61a643655a Add support for List item tags and link types (https://github.com/woocommerce/woocommerce-admin/pull/4287)
* Add Storybook console addon.
* Add Link stories for all link types.
* Add unit tests for Link component.
* Add unit tests for List component.
* Add support for List item `listItemTag`.
2020-05-07 11:52:49 -04:00
Paul Sealock b6f92021fe React Testing Library: add linter (https://github.com/woocommerce/woocommerce-admin/pull/4300) 2020-05-06 20:00:21 +12:00
Jeff Stieler 915ed69add Downgrade react-dates to ^17.2.0. (https://github.com/woocommerce/woocommerce-admin/pull/4286) 2020-05-04 13:16:17 -06:00
David Stone 8ebd33fe6b Use Route based code splitting to optimize bundle size (https://github.com/woocommerce/woocommerce-admin/pull/4094)
* Use lazy loading to split up the size of the js downloaded

* Use lazy loading to split up the size of the js downloaded

* Add Moment Timezone plugin to reduce size of data file.

* Lazy load header panels and use Dashicons for faster loading

* Load assets from the correct publicPath

* Load assets from the correct publicPath

* PHP cs fixes

* Fix missing quotes on string literal.

* Fix PropType warning for lazy loaded component.

* Separate the task list and dashboard chunks.

* Lazy load dashboard sections.

* Restore original icons and reduce size by importing only the icons needed

* Lazy load alerts to save more Kb on initial load

* Minify built JS in production mode.

* Add preload tags for WC Admin assets. (https://github.com/woocommerce/woocommerce-admin/pull/4162)

* Fix linting errors.

* Add modified UnminifiedWebpackPlugin.

* Produce minified and unminified bundles for all builds.

* Remove unused variable from webpack config.

* Run unminify after sourcemap generation.

* Only hook after optimization if we're using a devtool.

* Add minification suffix in Loader::get_url().

* Lazy load OBW on new home screen.

* Move OBW style up a level to layout.

* Hydrate ProfileWizard independently of withSelect and withDispatch

* Fix order of composition and fallback function when using hydration.

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-04-29 12:01:27 -06:00
Paul Sealock 612790227c Add React Testing Library (https://github.com/woocommerce/woocommerce-admin/pull/4221) 2020-04-28 10:15:40 +12:00
renovate[bot] 101498d783 Update dependency webpack to v4.43.0 (https://github.com/woocommerce/woocommerce-admin/pull/4173)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 16:41:16 +03:00
renovate[bot] d0ed3190af Update dependency raw-loader to v4.0.1 (https://github.com/woocommerce/woocommerce-admin/pull/4172)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 16:35:25 +03:00
renovate[bot] e44aa196d2 Update dependency chalk to v4 (https://github.com/woocommerce/woocommerce-admin/pull/4132)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 15:56:22 +03:00
renovate[bot] 0c97b1fe49 Update storybook monorepo to v5.3.18 (https://github.com/woocommerce/woocommerce-admin/pull/4129)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 13:22:33 +03:00
renovate[bot] eb8cd5a16f Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/4062)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 12:35:51 +03:00
renovate[bot] 68247a28b8 Update dependency lint-staged to v10.1.7 (https://github.com/woocommerce/woocommerce-admin/pull/4171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-24 16:24:23 -03:00
renovate[bot] 4924363167 Update dependency eslint-config-prettier to v6.11.0 (https://github.com/woocommerce/woocommerce-admin/pull/4170)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-24 16:19:22 -03:00
renovate[bot] 0589cf0ddb Update dependency webpack to v4.42.1 (https://github.com/woocommerce/woocommerce-admin/pull/4128)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 08:53:35 -07:00
renovate[bot] 67086d1dcd Update dependency recast to v0.19.0 (https://github.com/woocommerce/woocommerce-admin/pull/4127)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 08:46:49 -07:00
renovate[bot] 768e5d9789 Update dependency husky to v4.2.5 (https://github.com/woocommerce/woocommerce-admin/pull/4126)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 08:45:52 -07:00
renovate[bot] b1abe027da Update dependency prismjs to v1.20.0 (https://github.com/woocommerce/woocommerce-admin/pull/4078)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 08:44:39 -07:00
renovate[bot] 313ec22c6c Update dependency lint-staged to v10.1.4 (https://github.com/woocommerce/woocommerce-admin/pull/4077)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 08:41:02 -07:00
renovate[bot] 20319df0eb Update dependency eslint-loader to v3.0.4 (https://github.com/woocommerce/woocommerce-admin/pull/4076)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 14:00:08 -07:00
renovate[bot] cb2170f4d4 Update dependency d3-format to v1.4.4 (https://github.com/woocommerce/woocommerce-admin/pull/4075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 13:21:02 -07:00
renovate[bot] 27c5e08315 Update dependency css-loader to v3.5.2 (https://github.com/woocommerce/woocommerce-admin/pull/4074)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-15 15:01:51 -07:00
renovate[bot] b2b26762ea Update dependency autoprefixer to v9.7.6 (https://github.com/woocommerce/woocommerce-admin/pull/4073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-15 13:58:56 -07:00
renovate[bot] 90a898d971 Update dependency qs to v6.9.3 (https://github.com/woocommerce/woocommerce-admin/pull/4041)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-02 10:30:30 +10:00
renovate[bot] 782d2ac468 Update dependency lint-staged to v10.1.1 (https://github.com/woocommerce/woocommerce-admin/pull/4040)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-02 10:24:52 +10:00
renovate[bot] 414693983b Update dependency ast-types to v0.13.3 (https://github.com/woocommerce/woocommerce-admin/pull/4039)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-02 10:20:52 +10:00
renovate[bot] 2df51c5cbb Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/4025)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-01 12:27:32 +10:00
renovate[bot] 58e1f71183 Update dependency qs to v6.9.2 (https://github.com/woocommerce/woocommerce-admin/pull/3991)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:49:11 +13:00
renovate[bot] 66def04996 Update dependency marked to v0.8.2 (https://github.com/woocommerce/woocommerce-admin/pull/3990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:43:09 +13:00
renovate[bot] d76923c87f Update dependency lint-staged to v10.0.9 (https://github.com/woocommerce/woocommerce-admin/pull/3988)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:41:57 +13:00
renovate[bot] e2b6c809fb Update dependency eslint-config-prettier to v6.10.1 (https://github.com/woocommerce/woocommerce-admin/pull/3987)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:41:22 +13:00
renovate[bot] 8823d98012 Update dependency autoprefixer to v9.7.5 (https://github.com/woocommerce/woocommerce-admin/pull/3986)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:40:15 +13:00
renovate[bot] a49d2489dc Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3985)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:39:13 +13:00
renovate[bot] 7777a7b727 Update dependency sass-loader to v8 (https://github.com/woocommerce/woocommerce-admin/pull/3925)
* Update dependency sass-loader to v8

* Address node-sass webpack breaking changes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-03-24 14:15:45 +13:00
renovate[bot] f4252159fd Update dependency rimraf to v3 (https://github.com/woocommerce/woocommerce-admin/pull/3922)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:51:08 +13:00
renovate[bot] f35c263992 Update dependency grunt to v1.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/3921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:47:35 +13:00
renovate[bot] 961976969f Update dependency react-transition-group to v4 (https://github.com/woocommerce/woocommerce-admin/pull/3868)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:46:41 +13:00
renovate[bot] 82044af07c Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:43:32 +13:00
renovate[bot] 33721c8085 Update storybook monorepo to v5.3.17 (https://github.com/woocommerce/woocommerce-admin/pull/3865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:31:33 +13:00
renovate[bot] 47c0f5cba2 Update dependency eslint-plugin-react to v7.19.0 (https://github.com/woocommerce/woocommerce-admin/pull/3863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:28:38 +13:00
Jeff Stieler 9dbd45e1d7 Bump version and add changelog entries. (https://github.com/woocommerce/woocommerce-admin/pull/3945) 2020-03-19 13:05:58 -06:00
Bec Scott 893aecfa4b Improve focus on task list (https://github.com/woocommerce/woocommerce-admin/pull/3796)
* Script that hides or shows menu items

* Hook up buttons to task list, hook up options to onboarding-experience to set up the menu

* Fix some little code style issues

* Remove LinkButton in favour of the existing Button in @wordpress/components

* Remove reference to removed style file

* Move menu experience script to /client/wp-admin-scripts to match current style

* Only load the onboarding menu experience script if onboarding is enabled

* Localise some strings

* Separate the "Setup" link from the existing items to avoid conflicts with extensions that modify the menu

* Use the item key instead of title to report back completed tasks

* Change from skip_option to reason to make this easier to grok

* Use existing woocommerce_task_list_hidden option instead of creating a new one

* Tweak options to get menu experience working again

* Simplify skip actions logic

* Preload woocommerce_task_list_do_this_later option

* Nicer event key names

* Clean  up the styling

* Remove wcSettings.onboarding check from the task items list in `customizable`

* Remove spinner from customizable

* Fix translated string for WooCommerce menu setup anchor

* Use predef color instead of a hard-coded hex code

* Remove superfluous ={ true } from markup

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-03-13 14:34:53 +10:00
Paul Sealock f863e8780e Changelog: Add Script (https://github.com/woocommerce/woocommerce-admin/pull/3800) (https://github.com/woocommerce/woocommerce-admin/pull/3857)
* Changelog: Add same script as blocks

* make it wc-admin friendly

* add label tags
2020-03-13 10:21:11 +13:00
renovate[bot] 06d8bfe37b Update dependency webpack to v4.42.0 (https://github.com/woocommerce/woocommerce-admin/pull/3820)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:52:13 +01:00
renovate[bot] 113107c418 Update dependency recast to v0.18.7 (https://github.com/woocommerce/woocommerce-admin/pull/3819)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:47:16 +01:00
renovate[bot] 6791cc3714 Update dependency cross-env to v7.0.2 (https://github.com/woocommerce/woocommerce-admin/pull/3817)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:37:42 +01:00
renovate[bot] 525718c3ba Update dependency react-docgen to v5.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/3779)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 17:22:08 +01:00
renovate[bot] 7a36f862e5 Update dependency eslint-plugin-jest to v23.8.2 (https://github.com/woocommerce/woocommerce-admin/pull/3775)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 17:18:50 +01:00
renovate[bot] cdfb21f983 Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3774)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 16:59:55 +01:00
renovate[bot] 2046801e20 Update dependency lint-staged to v10.0.8 (https://github.com/woocommerce/woocommerce-admin/pull/3777)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-02 18:04:05 -08:00