Commit Graph

711 Commits

Author SHA1 Message Date
Justin Shreve ea6da8858d Update the WP.com connection parameter to match the parameter in the API (https://github.com/woocommerce/woocommerce-admin/pull/2761) 2019-08-07 14:49:21 -04:00
Jeff Stieler 58209c4cde Merge pull request woocommerce/woocommerce-admin#2733 from woocommerce/fix/2732
add version string to _doing_it_wrong
2019-08-05 13:15:23 -06:00
Jeff Stieler b2707d3e23 Bail out of our `admin_title` filter if it's invoked before `current_screen`.
See: https://github.com/xwp/pwa-wp/issues/206
2019-08-02 08:32:52 -06:00
Justin Shreve dca1b07377 Onboarding - Task List: Add store connection task (https://github.com/woocommerce/woocommerce-admin/pull/2718)
* Adds store connection task

* PR Feedback
2019-08-01 14:09:08 -04:00
Justin Shreve 1410e7ed29 Add a "this store is being setup for a client" store detail field (https://github.com/woocommerce/woocommerce-admin/pull/2727) 2019-08-01 13:29:35 -04:00
Ron Rennick 050eabba4f use 0.16.0, fix typo in warning message 2019-08-01 11:19:56 -03:00
Ron Rennick 9b9105ec01 add version string to _doing_it_wrong 2019-08-01 10:25:52 -03:00
Jeff Stieler 06deec11f8 Fix groupby for category segmentation in reports. 2019-07-25 15:30:10 -06:00
Joshua Flowers b0aa7bdb42 Prevent onboarding from running on non-admin pages 2019-07-25 16:20:43 +08:00
Timmy Crawford 646235ac7b Notice: Update feedback notice verbiage and action. (https://github.com/woocommerce/woocommerce-admin/pull/2677) 2019-07-22 14:26:28 -07:00
Jeff Stieler f2c1837478 Hook in for onboarding reset a little later.
Page detection needs to wait until `current_screen`.
2019-07-22 08:33:58 -06:00
Jeff Stieler ecf2e34103 Add "doing it wrong" to avoid calculating the current page too early. 2019-07-22 08:33:58 -06:00
Joshua T Flowers f1f3a6e20d Fix flash of unstyled content for onboarding pages (https://github.com/woocommerce/woocommerce-admin/pull/2673) 2019-07-22 12:53:13 +08:00
Joshua T Flowers b42a8b34cd Onboarding: Add products task (https://github.com/woocommerce/woocommerce-admin/pull/2667)
* Add product subtask list component

* Add has-action class to list component

* Redirect after active task completion

* Refactor task completion check

* Add task completion statuses to component settings

* Fix missing className prop for list items

* Add task completion styling
2019-07-19 10:54:38 +08:00
Jeff Stieler 64d44bd905 Merge pull request woocommerce/woocommerce-admin#2659 from woocommerce/fix/2592-orders-linger
Reduce order status change delay in Orders Panel.
2019-07-18 08:20:39 -06:00
Joshua T Flowers 2d21db45ce Onboarding: Add the task list dashboard (https://github.com/woocommerce/woocommerce-admin/pull/2654)
* Add task list dashboard page

* Add actual site URL to header

* Fix typos

* Remove app bar

* Use material icons

* Update material icons to use Google hosted font

* Localize description strings
2019-07-18 18:11:21 +08:00
Timmy Crawford d62e3baed5 Nav: Hide nav on block editor. (https://github.com/woocommerce/woocommerce-admin/pull/2661) 2019-07-17 08:07:57 -07:00
Joshua T Flowers 8784ac9728 Onboarding: Update help tab with reset onboarding link (https://github.com/woocommerce/woocommerce-admin/pull/2658)
* Update help tab reset link for onboarding profiler

* Update wc_admin_url to allow dashboard URL

* Add function to reset onboarding profiler params
2019-07-17 09:49:01 +08:00
Jeff Stieler 69149ab83a Remove default date range for Orders report query. 2019-07-16 15:17:37 -06:00
Jeff Stieler f3fb79adaf Add parameters for specifying order IDs for reporting. 2019-07-16 15:17:36 -06:00
Joshua T Flowers 929f42e22d Add WC support check for child themes (https://github.com/woocommerce/woocommerce-admin/pull/2628)
* Add WC support check for child themes

* Fix installed themes loop double call
2019-07-11 16:39:32 +08:00
Ron Rennick 5e757d2f70 exclude old WC auto-draft orders from import 2019-07-08 15:36:12 -03:00
Ron Rennick 2260e60453 Merge pull request woocommerce/woocommerce-admin#2484 from woocommerce/fix/2400
use summary query to total coupons per order
2019-07-08 13:49:17 -03:00
Timmy Crawford dde788631c Notes: Type cast is_snoozeable on insert. (https://github.com/woocommerce/woocommerce-admin/pull/2573) 2019-07-08 09:48:38 -07:00
Ron Rennick 6da2728f99 Merge pull request woocommerce/woocommerce-admin#2593 from woocommerce/issue_2591
Notes: Only check for scheduled snooze action hourly
2019-07-08 08:39:50 -03:00
Joshua T Flowers 19870c18c0 Onboarding: Add theme uploader component (https://github.com/woocommerce/woocommerce-admin/pull/2580)
* Add theme uploader component

* Add theme to theme browser on upload complete

* Add a minimum height to dropzone area

* Use Muriel style Spinner during upload

* Add file field uploader to dropzone for accessibility

* Delete transient on theme install or theme switch
2019-07-08 10:54:26 +08:00
Brent Shepherd cd87294f70 Only check for scheduled snooze action hourly
Using a transient to take advantage of object caching.

Fixes woocommerce/woocommerce-admin#2591.
2019-07-08 11:55:03 +10:00
Timmy Crawford 995f26250e Settings: Fix wsod when no actionable statuses are set. (https://github.com/woocommerce/woocommerce-admin/pull/2577)
* Fix wsod when no actionable statuses are set.

* Updates per feedback.
2019-07-05 07:12:03 -07:00
Joshua T Flowers d640b15d09 Add a theme REST API to allow uploading themes (https://github.com/woocommerce/woocommerce-admin/pull/2568)
* Add theme upload REST api controller

* Add theme data to theme controller response

* Add tests for themes api

* Change user cap check to upload_themes

* Add test for users without theme capabilities
2019-07-05 16:01:35 +08:00
Justin Shreve 5a2f0c9da0 Onboarding - Add business extension recommendations (https://github.com/woocommerce/woocommerce-admin/pull/2551)
* Add business extension recommendations

* Fix failing test. Set max height and width for toggle

* Fix toggle display and fix when the extensions show (so they dont hide and disapear as "currently" selling is selected).
2019-07-04 11:56:28 -04:00
Joshua T Flowers 6c98e1d5cf Onboarding: Update theme order and sorting (https://github.com/woocommerce/woocommerce-admin/pull/2556)
* Only show installed themes with WC support and currently active theme

* Center tab panel buttons

* Fix installed param check typo

* Show installed themes in wc theme fetch fails
2019-07-04 14:12:33 +08:00
Jeff Stieler 5b905025fc Merge pull request woocommerce/woocommerce-admin#2526 from woocommerce/add/311-report-csv-exporter-endpoint
Add Report CSV Export Endpoint
2019-07-03 08:43:18 -06:00
Paul Sealock b3bde09814 Merge pull request woocommerce/woocommerce-admin#2444 from woocommerce/update/route-handling
Route handling: Remove hash in favor of path parameter
2019-07-03 13:16:04 +12:00
Paul Sealock dbd8793c05 leading slash in leaderboards 2019-07-03 10:40:41 +12:00
Jeff Stieler c7d94cc929 Use the default "read reports" permission for the export endpoint. 2019-07-02 13:53:42 -06:00
Jeff Stieler 3350605ef2 Merge pull request woocommerce/woocommerce-admin#2559 from woocommerce/add/2474-inbox-action-click
Add tracks event to Store Alert and Inbox Notification action clicks
2019-07-02 13:25:20 -06:00
Jeff Stieler 1270f5204b Send tracks events for triggered note actions. 2019-07-02 08:29:20 -06:00
Jeff Stieler cc4ca8b965 Move tracks helper function into core functions file. 2019-07-02 08:27:31 -06:00
Ron Rennick ca40be6676 Merge pull request woocommerce/woocommerce-admin#2543 from woocommerce/2503-followup
Add error checking for failed remote gets added in woocommerce/woocommerce-admin#2503
2019-07-02 10:54:15 -03:00
Paul Sealock 563e94b7a2 add leading slash in path for Leaderboards 2019-07-02 12:19:55 +12:00
Jeff Stieler e6c445e1d4 Verify that user can view reports before allowing export download. 2019-07-01 12:06:25 -06:00
Daniel Rey López eef988239e Change all remaining URLs from #/style to ?path=style 2019-07-01 09:15:46 +01:00
Paul Sealock f6854c377d Stock notifs: fix low_stock_amount for variations 2019-07-01 15:50:31 +12:00
Justin Shreve aed4ea63b4 Server side route handling 2019-07-01 12:22:34 +12:00
Ron Rennick ac28e781c7 Small fixes for PR woocommerce/woocommerce-admin#2503
- Use get_instance function instead of constructor
- Update URL to be HTTPS
- Add error checking for failed remote gets
2019-06-28 15:58:51 -03:00
Jeff Stieler 35d763fa8c Merge pull request woocommerce/woocommerce-admin#2463 from KZeni/patch-2
Add State alongside City (and other customer info).
2019-06-28 12:24:25 -06:00
Jeff Stieler 74ab15aebf Add report CSV downloading. 2019-06-28 11:09:41 -06:00
Jeff Stieler c68010f184 Remove user ID from export files.
We currently can’t filter Inbox items by user.
2019-06-28 11:09:41 -06:00
Jeff Stieler bc095bd746 Batch the creation of report export jobs. 2019-06-28 11:09:40 -06:00
Jeff Stieler 916ea55ae9 Respond with an error if there are no items to export. 2019-06-28 11:09:40 -06:00