Commit Graph

652 Commits

Author SHA1 Message Date
renovate[bot] 47464c9458 Update dependency @testing-library/user-event to v10.4.1 (https://github.com/woocommerce/woocommerce-admin/pull/4488)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-16 10:45:01 -04:00
Timmy Crawford 204723caf5 Release 1.3.0-beta.1 (https://github.com/woocommerce/woocommerce-admin/pull/4587)
* Release 1.3.0-beta.1

* udpate changelog with '@'

Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-06-16 19:58:24 +12:00
Paul Sealock fd78bca347 Theme color: Use dynamic variable from user preferences (https://github.com/woocommerce/woocommerce-admin/pull/4558) 2020-06-15 14:00:25 +12:00
renovate[bot] e7ea3757e2 Update dependency lerna to v3.22.1 (https://github.com/woocommerce/woocommerce-admin/pull/4540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 17:58:58 -07:00
renovate[bot] 1b0053f3b0 Update dependency eslint-plugin-testing-library to v3.2.3 (https://github.com/woocommerce/woocommerce-admin/pull/4539)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 16:32:53 -07:00
renovate[bot] 7f431937e5 Update dependency @testing-library/react to v10.2.1 (https://github.com/woocommerce/woocommerce-admin/pull/4487)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 16:08:42 -07:00
renovate[bot] 6ad560bf15 Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/4446)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 15:44:33 -07:00
renovate[bot] 2a17cec273 Update dependency @testing-library/jest-dom to v5.10.0 (https://github.com/woocommerce/woocommerce-admin/pull/4486)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 09:08:24 -07:00
renovate[bot] 2c56f6b843 Update dependency eslint-plugin-jest to v23.13.2 (https://github.com/woocommerce/woocommerce-admin/pull/4489)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 09:05:32 -07:00
Jeff Stieler 9be6bdd841 Fix loading of RTL styles in chunks. (https://github.com/woocommerce/woocommerce-admin/pull/4542) 2020-06-10 18:06:17 -05:00
renovate[bot] 30a9c32c85 Update dependency docsify-cli to v4.4.1 (https://github.com/woocommerce/woocommerce-admin/pull/4537)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 15:25:39 -07:00
renovate[bot] 310fc37294 Update dependency chalk to v4.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/4536)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 14:59:13 -07:00
renovate[bot] 3cfdd70083 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/4445)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 14:38:59 -07:00
Jeff Stieler 8a2750c973 Migrate user store to wp.data (https://github.com/woocommerce/woocommerce-admin/pull/4505)
* Initial user preferences custom hook (wc meta).

* Organize dependencies.

* Specify dependencies in useSelect() call.

* Remove specifying preference keys.

There's currently no performance benefit to be had.

* Add HoC for hydrating current user data.

* Add user prefs update method.

* Export user prefs hook and HoC in data package.

* Handle error condition when updating user preferences.

* Use closure to get user ID for prefs update.

* Refactor analytics dashboard to use new user hook.

* Refactor ReportTable component to use new user hook.

* Move prop access to top of function component.

* Add todo for potential manual resolution logic.

* Refactor DashboardCharts component to use new user preferences hook.

* Move code out of functional component where possible.

* Fix chart interval query property.

* Refactor Leaderboards component to use new user preferences hook.

* Move code out of functional component where possible.

* Refactor Inbox panel to use user prefs hook.

@todo - updating last read isn't working.

* Use user prefs hook in StatsOverview component.

* Export user preferences store name.

* Use new store for unread inbox indicator.

* Hydrate current user data higher up in the app.

* Update "last read" timestamp in inbox panel.

* Fix StatsOverview test.

* Remove unused dispatch method from StorePerformance component.

* Remove now defunct user methods from wc-api spec.

* Add tests for isRequesting.

* JSON decode WC meta on updated user object.

* Test user prefs retrieval and save.

* Remove todo comment.

* Use user prefs hook in Jetpack install CTA on homepage.
2020-06-10 11:46:46 -05:00
Fernando e19d3cfbd4 Update version to 1.2.3 and adjust changelog (https://github.com/woocommerce/woocommerce-admin/pull/4435)
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-06-10 10:22:28 -03:00
Paul Sealock 134be1c08b Update/@wordpress components base styles (https://github.com/woocommerce/woocommerce-admin/pull/4427) 2020-06-10 13:55:06 +12:00
Jeff Stieler 3c8490c26b Add existing TaskList component to new home screen (https://github.com/woocommerce/woocommerce-admin/pull/4378)
* Move TaskList component up in directory tree.

* Render the TaskList on the new home screen.

* Render single tasks in isolation on new home screen.

* Fix "is requesting" selection for options API.

* Add loading placeholder for TaskList.

* Add initial test for the task list on the home screen.

* Fix dynamic imports under test.

* Add test for inline TaskList on home screen.

* Test that single task view works on new home screen.

* Restore Jest mocks between tests.

* Fix linting errors.
2020-05-21 11:15:08 -06:00
renovate[bot] 0165d7ce0c Update dependency eslint-plugin-react to v7.20.0 (https://github.com/woocommerce/woocommerce-admin/pull/4407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-21 10:58:24 +10:00
renovate[bot] ec20a11c91 Update dependency eslint-plugin-jest to v23.13.1 (https://github.com/woocommerce/woocommerce-admin/pull/4406)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-21 10:55:37 +10:00
renovate[bot] ac67a958a4 Update dependency emoji-flags to v1.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/4405)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-21 10:53:46 +10:00
renovate[bot] 517cf3d536 Update dependency autoprefixer to v9.8.0 (https://github.com/woocommerce/woocommerce-admin/pull/4404)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-21 10:46:14 +10:00
renovate[bot] 3af3017a39 Update dependency @testing-library/user-event to v10.3.3 (https://github.com/woocommerce/woocommerce-admin/pull/4403)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-21 10:41:09 +10:00
renovate[bot] 5781d962f0 Update dependency @testing-library/jest-dom to v5.8.0 (https://github.com/woocommerce/woocommerce-admin/pull/4402)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-21 10:32:39 +10:00
Matt Sherman 039626649b Home Screen: Switch to @wordpress/icons on Store Management (Quick Links) card (https://github.com/woocommerce/woocommerce-admin/pull/4400) 2020-05-20 09:34:49 -04:00
Paul Sealock 9b3b420e1a 1.2.2 version bump (https://github.com/woocommerce/woocommerce-admin/pull/4395)
* 1.2.2 changelog

* version bump 1.2.2

* tested up to 5.4.1
2020-05-20 12:24:33 +12:00
Matt Sherman d1ec055035 Home Screen: Add Store Management (Quick Links) card (https://github.com/woocommerce/woocommerce-admin/pull/4350) 2020-05-19 09:16:19 -04:00
Timmy Crawford e6c13a4a02 Release: 1.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/4328)
* Release: 1.2.0

* Updates per feedback.

* Get installed plugins from new plugin settings object. (https://github.com/woocommerce/woocommerce-admin/pull/4357)

* Bumping version numbers

* synch package-lock.json with master

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-05-15 12:30:02 -07:00
renovate[bot] 01bb072a6f Update dependency @testing-library/user-event to v10.2.4 (https://github.com/woocommerce/woocommerce-admin/pull/4361)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-15 15:54:54 +12:00
renovate[bot] 230414e740 Update dependency @testing-library/react to v10.0.4 (https://github.com/woocommerce/woocommerce-admin/pull/4360)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-15 15:08:51 +12:00
renovate[bot] ae67dc8259 Update dependency @octokit/graphql to v4.4.0 (https://github.com/woocommerce/woocommerce-admin/pull/4359)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-15 15:08:07 +12:00
renovate[bot] a03fb37ada Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/4131)
* Update wordpress monorepo

* Downgrade base styles version to 1.4.0

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2020-05-14 16:34:33 +12:00
renovate[bot] 44d5a79346 Pin dependency eslint-plugin-jest-dom to 2.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/4358)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 16:52:15 +12:00
renovate[bot] 9134b6857c Update dependency deasync to v0.1.20 (https://github.com/woocommerce/woocommerce-admin/pull/4296)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-05-13 11:08:52 +12:00
renovate[bot] f708edf1dd Update dependency dompurify to v2.0.11 (https://github.com/woocommerce/woocommerce-admin/pull/4298)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 10:58:43 +12:00
renovate[bot] 85d678ed6b Update dependency eslint-plugin-jest to v23.11.0 (https://github.com/woocommerce/woocommerce-admin/pull/4299)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-05-13 10:56:07 +12:00
renovate[bot] c5815a3dc6 Update babel monorepo to v7.9.6 (https://github.com/woocommerce/woocommerce-admin/pull/4295)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 10:54:33 +12:00
renovate[bot] 31b9aceffe Update dependency css-loader to v3.5.3 (https://github.com/woocommerce/woocommerce-admin/pull/4248)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 10:50:27 +12:00
renovate[bot] 94c17195cb Update dependency concurrently to v5.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/4247)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 10:48:19 +12:00
renovate[bot] 65d35df0a7 Update dependency @automattic/color-studio to v2.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/4246)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 10:46:47 +12:00
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 0d875ece72 Add JS unit tests to pre-push hook (https://github.com/woocommerce/woocommerce-admin/pull/4326)
* Run JS unit tests on pre-push.
2020-05-12 07:06:19 -04: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
Timmy Crawford b07d69ddf8 Update version to 1.1.1 and adjust changelog (https://github.com/woocommerce/woocommerce-admin/pull/4242)
* Update version to 1.1.1 and adjust changelog

* Love that we have a test that caught this.
2020-04-30 10:57:05 -07: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