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
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]
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
Timmy Crawford
0e94da6160
Bump versions and revise changelog ( https://github.com/woocommerce/woocommerce-admin/pull/4158 )
2020-04-21 12:12:18 -07: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]
ac52cf7f92
Pin dependency @wordpress/data-controls to 1.8.2 ( https://github.com/woocommerce/woocommerce-admin/pull/4038 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-02 11:40:10 +10: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]
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
Darren Ethier
783f613815
wp.data Settings refactor
...
add data store for settings using wp.data
add use-select-with-refresh example
replace fresh-data usage with new settings data store for settings page
Add data package
move to packages
Fix isDirty after save
Add isBusy to primary button when saving
update Readme
remove comment
readme to use useSelect
Revert "update Readme"
This reverts commit 7402fd49b8f384fde5878e0bee0616f0a87bb4f6.
Data Layer: Settings page to use Settings store (https://github.com/woocommerce/woocommerce-admin/pull/3430 )
* Data Layer: Settings store as source of truth for settings page
This reverts commit 7402fd49b8f384fde5878e0bee0616f0a87bb4f6.
* fixup
* save on reset
* non mutable constants
* add set/getSettings
* save using setSettings
* separate HOC
* cleanup
* remove settingsToData
* withHydration
* remove withSettings HOC
* renmove useSettins for now
* withSettingsHydration updates
* Revert "withSettingsHydration updates"
This reverts commit f2adf108fbe19b574978fea5925a1a18e7ed3007.
* rename withSettingsHydration
* redo withSettingsHydration simplification
* restore
* useSettings
* render using useSettings
* handleInputChange working
* get setIsDirty working
* saving works
* reset and cleanup
* cleanup
* use snake case on hook files
* use clearIsDirty
* Avoid mutation on setting update
* remove @todo
* persiting -> isPersisting
* better reducer ternaries
* add wcSettings as arg to withSettingsHydration
reset package-lock
Settings: split out mutable wcAdminSettings (https://github.com/woocommerce/woocommerce-admin/pull/3675 )
Settings: handle async settings groups (https://github.com/woocommerce/woocommerce-admin/pull/3707 )
2020-03-25 16:20:17 +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