Joshua T Flowers
9c5aa6d318
Move capability checks to client ( https://github.com/woocommerce/woocommerce-admin/pull/6365 )
...
* Move user data store folder
* Add user capability check hook
* Don't limit script loading by user capability
* Convert ActivityPanel to functional component
* Update ActivityPanel to use useSelect
* Check that a user can manage woocommerce for the store setup tab
* Add capabilities to pages
* Add testing instructions
2021-02-19 08:57:17 -05:00
Hsing-Yu Flowers
600c91a2cc
Check current user's install plugin capability before rendering ( https://github.com/woocommerce/woocommerce-admin/pull/6167 )
...
* Use get_userdata instead REST API
* Check current user's install plugin capability before rendering
* Retrieve user data via the REST API
2021-02-03 14:19:15 -03:00
Paul Sealock
328075abb7
Remove ` @woocommerce/wc-admin-settings` from data package ( https://github.com/woocommerce/woocommerce-admin/pull/5158 )
...
* remove getAdminLink
* prep for package release
* correctly pass in args
* tests
2020-09-18 14:22:52 +12:00
Daniel Bitzer
d8098d6fd7
Adds `@woocommerce/tracks` package ( https://github.com/woocommerce/woocommerce-admin/pull/5017 )
...
* Add @woocommerce/tracks package.json
* Add @woocommerce/tracks .npmrc
* Move lib/tracks.js in to tracks package
* Add tracks package debug dependency
* Add readme for tracks package
* Add changelog for tracks package
* Add info about debugging and opt-ins to tracks package readme
* Load tracks package script
* Add tracks package to packages readme
* Add tracks package to webpack config
* Add tracks package external to starter-pack
* Replace lib/tracks uses with @woocommerce/tracks
* Update package-lock.json
2020-08-20 14:29:52 +09:30
Sam Seay
2f1d65847c
Remove usage of __experimentalResolveSelect ( https://github.com/woocommerce/woocommerce-admin/pull/4949 )
...
This uses a generator action and hooks to reimplement the CTA as a more
simple and logicless component, with most of the logic now in the
HOC component.
2020-08-20 16:02:01 +12:00
Jeff Stieler
5fbc511f25
Don't directly import from React, use @wordpress/element. ( https://github.com/woocommerce/woocommerce-admin/pull/4978 )
2020-08-13 08:29:29 -04:00
Paul Sealock
c145783e0a
Fix dependency declarations ( https://github.com/woocommerce/woocommerce-admin/pull/4972 )
...
* renmove WC comment block
* client routes
* more fixes
* moar search
* getting there
* by hand now
* david beating goliath
* mission accomplished
* client filepath
* save
* got it
* remove script
* fixes
* deal with package internal dep
* remove webpack alias
* fix webpack relative paths
* remove commented rule
* remove extra line
* remove unused modules entry
2020-08-13 14:05:22 +12:00
Joshua T Flowers
fe4fcf2467
Add the experimental resolver to WCA data package ( https://github.com/woocommerce/woocommerce-admin/pull/4862 )
...
* Add the experimental resolver to WCA data package
* Add note about function origin and deprecation
2020-07-27 17:07:39 -07:00
Joshua T Flowers
774fd910c2
Refactor Jetpack connection flows ( https://github.com/woocommerce/woocommerce-admin/pull/4655 )
...
* Resolve Jetpack connection URL on benefits screen
* Resolve Jetpack connection URL in connection stats
* Fix up error handling for Jetpack connection flows
* Remove autoConnect option from Connect component
2020-06-25 15:01:33 +03:00
Paul Sealock
b5214e95d3
Stats Overview: Cleanup styles ( https://github.com/woocommerce/woocommerce-admin/pull/4625 )
2020-06-19 11:44:00 +12:00
Bec Scott
21aa058a67
Clean up Jetpack CTA styles to use base component styles ( https://github.com/woocommerce/woocommerce-admin/pull/4562 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-06-15 18:39:45 -07:00
Paul Sealock
fea332b5b4
Change homepage to homesceen ( https://github.com/woocommerce/woocommerce-admin/pull/4549 )
2020-06-15 14:17:12 +12:00