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
7f898194b4
Tracks: add events to chart and table
2019-07-03 11:42:06 +12:00
Paul Sealock
3068013095
remove render404
2019-07-03 11:38:11 +12:00
Paul Sealock
dbd8793c05
leading slash in leaderboards
2019-07-03 10:40:41 +12:00
Timmy Crawford
1814741014
Settings: Better structure to settings page, and protect form changes ( https://github.com/woocommerce/woocommerce-admin/pull/2544 )
...
* Add section header for historical import.
* Add alert on unsaved changes.
* The glass is half full. Therefore my state change should be too.
* Update button text.
2019-07-02 13:50:59 -07:00
Jeff Stieler
c7d94cc929
Use the default "read reports" permission for the export endpoint.
2019-07-02 13:53:42 -06:00
Jeff Stieler
564b618f62
Remove placeholder "learn more" link from excluded status setting.
2019-07-02 13:42:29 -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
4a0b5b935a
Merge pull request woocommerce/woocommerce-admin#2560 from woocommerce/add/2474-track-alert-snooze
...
Send tracks event for snoozing store alerts.
2019-07-02 13:25:00 -06:00
renovate[bot]
b6be2eefc6
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2490 )
2019-07-02 12:10:42 -07:00
Timmy Crawford
f60c96b572
Ignore empty wp notice elements. ( https://github.com/woocommerce/woocommerce-admin/pull/2552 )
2019-07-02 08:35:03 -07:00
Timmy Crawford
0c1ed070b9
Examples: Update README ( https://github.com/woocommerce/woocommerce-admin/pull/2554 )
...
quick change to reflect the two new examples in the directory.
2019-07-02 08:34:37 -07:00
Jeff Stieler
bdfe3520c3
Send tracks event for snoozing store alerts.
2019-07-02 09:18:52 -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
8857635162
fix tests
2019-07-02 12:35:58 +12:00
Paul Sealock
b19e1dd261
Tracks: Add dashboard events
2019-07-02 12:31:48 +12:00
renovate[bot]
d52a32692c
Update dependency locutus to v2.0.11 ( https://github.com/woocommerce/woocommerce-admin/pull/2515 )
2019-07-01 17:26:35 -07:00
renovate[bot]
5f2a6492d4
Update dependency eslint-plugin-react to v7.14.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2513 )
2019-07-01 17:21:20 -07:00
Paul Sealock
9d98f09b64
remove console.log
2019-07-02 12:20:56 +12:00
Paul Sealock
563e94b7a2
add leading slash in path for Leaderboards
2019-07-02 12:19:55 +12:00
renovate[bot]
a12cc1b9e7
Update dependency eslint-plugin-jest to v22.7.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2512 )
2019-07-01 17:16:32 -07:00
renovate[bot]
24ba1b96cb
Update dependency concurrently to v4.1.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2510 )
2019-07-01 17:08:00 -07:00
renovate[bot]
63217f3975
Update dependency ast-types to v0.13.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2509 )
2019-07-01 17:06:10 -07:00
Paul Sealock
a1a4e04c1f
Merge pull request woocommerce/woocommerce-admin#2546 from woocommerce/fix/variations-low_stock_amount
...
Stock notifs: fix low_stock_amount for variations
2019-07-02 11:18:36 +12:00
Paul Sealock
3bbd19cc4d
Merge pull request woocommerce/woocommerce-admin#2548 from woocommerce/fix/dash-feature-flag-false
...
Customizable dashboard: handle turned off feature flag
2019-07-02 11:17:06 +12:00
Justin Shreve
752f8c456d
Onboarding - Profile Wizard: Add tracks events ( https://github.com/woocommerce/woocommerce-admin/pull/2531 )
...
* Onboarding: Add tracks events
* Update naming, fix how already_selling is determined
2019-07-01 14:13:29 -04:00
Jeff Stieler
e6c445e1d4
Verify that user can view reports before allowing export download.
2019-07-01 12:06:25 -06:00
Paul Sealock
a33bdda62e
Customizable dashboard: handle turned off feature flag
2019-07-01 21:40:50 +12:00
Paul Sealock
d72a0edc0a
Merge branch 'update/route-handling' of github.com:woocommerce/woocommerce-admin into update/route-handling
2019-07-01 20:42:27 +12:00
Paul Sealock
c5c52228b6
update changelog for navigation package
2019-07-01 20:41:57 +12: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
Paul Sealock
4032c09e67
update id names
2019-07-01 12:33:52 +12:00
Justin Shreve
aed4ea63b4
Server side route handling
2019-07-01 12:22:34 +12:00
Paul Sealock
123af97b1c
Merge pull request woocommerce/woocommerce-admin#2525 from woocommerce/add/filters-tracks
...
Advanced Filters: Add Tracks events
2019-07-01 11:05:59 +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
Kurt Zenisek
29c5098304
Swapped out postal_code for postcode to fix a bug
2019-06-28 13:15:50 -05:00
Job
b317e43869
Fixes issue with alerts on mobile ( https://github.com/woocommerce/woocommerce-admin/pull/2537 )
2019-06-28 10:46:17 -07:00
Jeff Stieler
fbd231acf4
Add test for reports export endpoint.
2019-06-28 11:10:13 -06:00
Jeff Stieler
3ab221db55
Add schema modification to Table Column example plugin.
2019-06-28 11:09:41 -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
Jeff Stieler
1650794f2b
Include user ID in report export status key.
2019-06-28 11:09:39 -06:00
Jeff Stieler
b76d7b61fc
Add endpoint for report export status.
2019-06-28 11:09:39 -06:00
Jeff Stieler
73e0c455d7
Add endpoint to initiate report CSV export generation.
2019-06-28 11:09:39 -06:00
Jeff Stieler
b6190e7fb0
Add class to process report exports using action scheduler.
2019-06-28 11:09:38 -06:00
Jeff Stieler
7332b07874
Small tweaks to report CSV exporter to support batching.
...
Use default limit, add public total_rows accessor, auto-load controllers.
2019-06-28 11:09:38 -06:00
Kurt Zenisek
cd743141b1
Renamed "State" label to "Region"
2019-06-28 11:42:28 -05:00
Kurt Zenisek
c2b255360d
Renamed "State" label to "Region"
2019-06-28 11:41:22 -05:00
Jeff Stieler
c787c8c50a
Always return columns in ‘posts_fields’ filters.
2019-06-28 10:40:17 -06:00
Jeff Stieler
ab7ceeed23
Merge pull request woocommerce/woocommerce-admin#2487 from benignant/patch-1
...
Remove style that causes incorrect margins for certain notices
2019-06-28 09:52:42 -06:00
Jeff Stieler
8c40000ec2
Merge pull request woocommerce/woocommerce-admin#2496 from woocommerce/fix/rest-controller-default-params
...
Test that REST controllers work with their default parameters.
2019-06-28 08:52:16 -06:00
Ron Rennick
6982c21d3d
Merge pull request woocommerce/woocommerce-admin#2519 from woocommerce/fix/2495
...
remove double slash from image urls, use string for download ID
2019-06-28 09:28:51 -03:00
Justin Shreve
89c56dba21
Remove hover on Card component ( https://github.com/woocommerce/woocommerce-admin/pull/2529 )
2019-06-28 06:42:09 -04:00
Joshua T Flowers
0bc8c96ace
Add installed themes and WooCommerce support to theme browser ( https://github.com/woocommerce/woocommerce-admin/pull/2503 )
...
* Add theme step to onboarding profiler
* Add installed themes to onboarding theme data
* Add theme status for install themes in frontend
* Add regex test to check for WooCommerce theme support
* Add woocommerce not supported icon and tooltips
* Cache installed themes for performance
* Update themes endpoint to use real wccom endpoint
* Update error icon to use info gridicon
2019-06-28 15:42:20 +08:00
Paul Sealock
e32b5560c0
Advanced Filters: Add Tracks events
2019-06-28 12:34:41 +12:00
Timmy Crawford
54ff76e178
Tracks: Fix double wcadmin_ prefix. ( https://github.com/woocommerce/woocommerce-admin/pull/2532 )
...
* Tracks: Fix double wcadmin_ prefix.
* Update comment
* underscore dangit
2019-06-27 15:56:39 -07:00
Ron Rennick
9f76b02283
set all the unit test download IDs to strings
2019-06-27 17:46:56 -03:00
Paul Sealock
272fad59fb
Merge pull request woocommerce/woocommerce-admin#2507 from woocommerce/release/0.14.0
...
release 0.14.0
2019-06-28 08:13:58 +12:00
Ron Rennick
41e6f63fa9
Merge pull request woocommerce/woocommerce-admin#2462 from woocommerce/fix/2403
...
open external note action links in a new tab
2019-06-27 15:40:52 -03:00
Jeff Stieler
7e87732dfb
Rework test to rely on the REST server handling route defaults.
2019-06-27 11:38:54 -06:00
Ron Rennick
93bcd60f58
check that url is not an empty string
...
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-06-27 09:33:46 -03:00
Albert Juhé Lluveras
808143d7c9
Remove updated stock products from Activity Panel ( https://github.com/woocommerce/woocommerce-admin/pull/2442 )
...
* Remove updated stock products from Activity Panel
* Use prefers-reduced-motion preference
* Update comparison to check if stock quantity is 'lower or equal to' lowStockAmount
* Focus quantityInput on 'beginEdit' instead of 'componentDidUpdate'
* Add comment explaining why we hide cards
* Refactor updateProductStock action
* Add type and parent_id properties to update
2019-06-27 11:21:43 +02:00
Jeff Stieler
2f4b8272e6
Merge pull request woocommerce/woocommerce-admin#2521 from woocommerce/fix/action-batch-range
...
Fix batch queue range bug.
2019-06-26 19:17:57 -06:00
Daniel Rey López
95c074fbc6
Add a filter to allow other extensions to register new WC-Admin-powered pages ( https://github.com/woocommerce/woocommerce-admin/pull/2492 )
2019-06-27 00:00:23 +01:00
Jeff Stieler
b8abe63d15
Don’t create a batch job that exceeds the range end.
2019-06-26 14:23:56 -06:00
Ron Rennick
7dfc3fe240
use current window for any dashboard URL
2019-06-26 17:16:54 -03:00
Jeff Stieler
5b4d671833
Change test queue batch size.
...
Introduces error condition where range start is beyond the end.
2019-06-26 14:16:33 -06:00
Ron Rennick
57a8fbcb51
remove double slash from image urls, use string for download ID
2019-06-26 16:55:57 -03:00
Ron Rennick
207fc6e9e0
simplify interval array entry check
2019-06-26 16:14:25 -03:00
Jeff Stieler
356f1ada77
Merge pull request woocommerce/woocommerce-admin#2502 from woocommerce/add/311-reports-csv-exporter-class
...
Add Reports CSV Exporter Class
2019-06-26 09:50:06 -06:00
Joshua T Flowers
0de2f70392
Onboarding: Add theme step and theme browser ( https://github.com/woocommerce/woocommerce-admin/pull/2493 )
...
* Add theme data to wcSettings onboarding data
* Add theme step to onboarding profiler
* Use free in place of price if theme is <= 0
* Add theme paid/free filter tabs
2019-06-26 10:22:44 +08:00
Paul Sealock
653a35c653
Release: remove Onboarding updates from changelog
2019-06-26 11:36:05 +12:00
Paul Sealock
442d45e55d
release 0.14.0
2019-06-26 11:34:06 +12:00
Paul Sealock
22fb9d357b
Merge pull request woocommerce/woocommerce-admin#2498 from woocommerce/add/tracks/activity-panel-open
...
Activity Panels: Add track event when panels are opened.
2019-06-26 11:27:32 +12:00
Paul Sealock
1aeb60697e
Update client/header/activity-panel/index.js
2019-06-26 11:20:22 +12:00
Paul Sealock
68c8bfedd9
Table extension: fix page error and jsDoc
2019-06-26 10:28:32 +12:00
Jeff Stieler
466ddda1a6
Add a test of the CSV export to the coupons report.
2019-06-24 19:26:33 -06:00
Jeff Stieler
2b61484246
Load the Report CSV Exporter class.
2019-06-24 19:26:12 -06:00
Timmy Crawford
e2cd150071
Activity Panels: Add track event when panels are opened.
2019-06-24 16:49:52 -07:00
Jeff Stieler
de793076da
Filter out image column when defining report columns.
2019-06-24 15:40:41 -06:00
Jeff Stieler
bff5416df2
Fix Products Report extended info schema.
2019-06-24 15:40:12 -06:00
Jeff Stieler
2c5d3991b5
Fix Orders Report extended info schema.
2019-06-24 13:30:15 -06:00
Ron Rennick
259a2616b1
add get_unique_coupon_count() to count unique coupons for a dataset
2019-06-24 16:19:07 -03:00
Jeff Stieler
83c8f756d8
Apply report controller default parameters for CSV export.
2019-06-24 12:57:07 -06:00
Jeff Stieler
d6d3161bff
Exclude IP download controller from defaults test.
2019-06-24 12:16:58 -06:00
Jeff Stieler
3a1501df29
Add default stats param for performance indicators.
...
Also, use the allowed stats for the value enum.
2019-06-24 10:55:43 -06:00
Jeff Stieler
6738d6c8cf
Fix default status value on Orders controller.
2019-06-24 10:55:43 -06:00
Jeff Stieler
4711a4e11d
Ensure coupons are enabled for testing.
2019-06-24 10:55:43 -06:00
Jeff Stieler
7e14630b3b
Set default params on each test request, and use an admin user.
2019-06-24 10:55:40 -06:00
Jeff Stieler
ff8615dac7
Test that all REST controllers can be called with default params.
2019-06-24 10:50:21 -06:00
Daniel Rey López
2ce8c97c48
Remove the "wpClosedMenu" page setting ( https://github.com/woocommerce/woocommerce-admin/pull/2441 )
2019-06-24 08:43:19 +01:00
benignant
a8b69be326
Remove declaration that causes incorrect margins
...
The declaration in question causes notices that are not collapsed and do not have the 'updated' class to have incorrect margins.
2019-06-23 00:35:51 -04:00
Joshua T Flowers
cf0e4ff1f7
Onboarding: Pull dynamic prices for product types ( https://github.com/woocommerce/woocommerce-admin/pull/2467 )
...
* Get dynamic price data from wccom and append to product types
* Remove redundant data from product types
* Only add product types if profiler is not skipped or completed
* Cache product data fetch from wccom
2019-06-22 12:02:11 +08:00
Justin Shreve
592c9d8e15
Save value of the tracking setting on both 'next' and 'skip profiler actions ( https://github.com/woocommerce/woocommerce-admin/pull/2468 )
2019-06-21 12:51:56 -04:00
Justin Shreve
762a2d6540
Fix mobile stepper positioning on mobile ( https://github.com/woocommerce/woocommerce-admin/pull/2472 )
2019-06-21 12:49:44 -04:00
Jeff Stieler
c13d35c68a
JSON encode non-scalar values for CSV.
2019-06-21 10:40:06 -06:00
Jeff Stieler
f0a01b09c0
Remove columns with CSV-unfriendly values, like HTML.
2019-06-21 10:38:36 -06:00
Jeff Stieler
0c9ef05103
Include export type with column value callback.
2019-06-21 10:38:01 -06:00
Ron Rennick
5038c672ee
use summary query to total coupons per order
2019-06-21 12:47:02 -03:00
Jeff Stieler
fbc28cb265
Merge pull request woocommerce/woocommerce-admin#2464 from woocommerce/fix/1985-fatal-get-customer-id
...
Check for good WC_Orders before using instance methods.
2019-06-21 08:08:12 -06:00
Ron Rennick
945baebf5e
Merge pull request woocommerce/woocommerce-admin#2457 from woocommerce/fix/readme-typo
...
fix typo in readme changelog for 0.13.0
2019-06-21 08:38:01 -03:00
Jeff Stieler
2cb63e79d2
Add CSV exporter class for reports.
2019-06-20 19:01:38 -06:00
Kurt Zenisek
ce8d670420
Increased assertCount to accommodate the added data point
2019-06-20 14:24:14 -05:00
Jeff Stieler
f75e3c7820
Check for good WC_Orders before using instance methods.
2019-06-20 08:31:10 -06:00
Ron Rennick
a05daef8d7
update URL test to wc-admin#/
2019-06-20 10:49:25 -03:00
Albert Juhé Lluveras
88eb5b0bc5
Add wp-api-fetch script to dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/2460 )
2019-06-20 10:53:02 +02:00
Paul Sealock
01ed625280
Merge pull request woocommerce/woocommerce-admin#2440 from woocommerce/extend/report-tables
...
Report Tables: Add example extension
2019-06-20 20:26:25 +12:00
Paul Sealock
68a95f8a83
Report Tables: extend columns
2019-06-20 20:03:56 +12:00
Joshua T Flowers
ee81663f99
Prevent duplicate customer imports ( https://github.com/woocommerce/woocommerce-admin/pull/2428 )
...
* Get customer ID from existing order ID if present
* Use get_report_customer_id method in order for both orders and refunds
2019-06-20 12:03:55 +08:00
Joshua T Flowers
57416a2bdb
Refactor customer name retrieval ( https://github.com/woocommerce/woocommerce-admin/pull/2418 )
...
* Return early from creating customer if order is false
* Refactor customer first and last name methods
* Separate customer name tests to create guest orders
* Check for parent_id before retrieving customer ID in refund
* Use registered customer ID in import report tests
* Compare absolute integer when checking for valid customer ID
* Check for order before getting customer ID when retrieving existing customer ID
2019-06-20 11:22:47 +08:00
Kurt Zenisek
228acaf09e
Added state alongside city & other info, and made location info sortable for convenient grouping of data at a glance.
...
I figured there's no reason you couldn't sort by the location data just so you can group them together (ex. quickly see how many are from a specific state at a glance rather than having it spread out & not having a means to group them together from this view.)
2019-06-19 17:15:58 -05:00
Kurt Zenisek
7e7583710a
Added state alongside city & other info
2019-06-19 17:13:43 -05:00
Kurt Zenisek
fccbd105f1
Added state alongside city & other info
2019-06-19 17:13:05 -05:00
Kurt Zenisek
25be322d29
Added state alongside city & other info
2019-06-19 17:12:17 -05:00
Kurt Zenisek
a39c885160
Added state alongside city & other info
2019-06-19 17:11:24 -05:00
Ron Rennick
46ef804ae4
open external note action links in a new tab
2019-06-19 16:23:32 -03:00
Ron Rennick
48ca0c71f3
fix typo in readme changelog for 0.13.0
2019-06-19 11:05:21 -03:00
renovate[bot]
4d419f6b1d
Update dependency @octokit/rest to v16.28.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2459 )
2019-06-19 14:00:23 +08:00
renovate[bot]
d025d7d42c
Update dependency dompurify to v1.0.11 ( https://github.com/woocommerce/woocommerce-admin/pull/2458 )
2019-06-19 13:57:27 +08:00
renovate[bot]
a1e87ed972
Update dependency babel-eslint to v10.0.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2456 )
2019-06-19 10:56:15 +08:00
renovate[bot]
62af41d457
Pin dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/2455 )
2019-06-19 10:55:02 +08:00
Albert Juhé Lluveras
4174db4874
Allow keyboard interaction in Stock Activity Panel form ( https://github.com/woocommerce/woocommerce-admin/pull/2447 )
2019-06-18 17:58:10 +02:00
Ron Rennick
223f8ca550
Merge pull request woocommerce/woocommerce-admin#2443 from woocommerce/update-tested-to-version
...
update tested to version in plugin repo readme.txt
2019-06-18 09:30:44 -03:00
Paul Sealock
4edc9cdb9e
Merge pull request woocommerce/woocommerce-admin#2437 from woocommerce/fix/changelog-note-option
...
Changelog script: Use PR author note, if supplied
2019-06-18 22:29:10 +12:00
Paul Sealock
c207c545e6
Changelog: Use author's note, if supplied
2019-06-18 22:11:58 +12:00
Albert Juhé Lluveras
e80530a614
Fix Activity Panel being overlapped by editor toolbar ( https://github.com/woocommerce/woocommerce-admin/pull/2446 )
2019-06-18 11:33:39 +02:00
Paul Sealock
8aaa18c339
Merge pull request woocommerce/woocommerce-admin#2425 from woocommerce/fix/potential-endless-syncs
...
Action Scheduler: fix potential endless sync
2019-06-18 10:50:38 +12:00
Jeff Stieler
3cc57dca6d
Merge pull request woocommerce/woocommerce-admin#2424 from woocommerce/add/test-version-bump
...
Add test to catch missing version updates.
2019-06-17 16:39:24 -06:00
Paul Sealock
18d535d65a
Action Scheduler: fix potential endless sync
2019-06-18 10:39:16 +12:00
Ron Rennick
22db75a802
update tested to version in plugin repo readme.txt
2019-06-17 16:22:11 -03:00
Ron Rennick
18d3486618
Merge pull request woocommerce/woocommerce-admin#2228 from woocommerce/fix/2188
...
add match=any support for advanced orders table filter
2019-06-17 11:47:58 -03:00
Jeff Stieler
d3be24891c
Warn against directly updating the plugin version constant.
2019-06-17 08:40:37 -06:00
Albert Juhé Lluveras
d65736c5f3
Remove test menu from Orders panel ( https://github.com/woocommerce/woocommerce-admin/pull/2438 )
2019-06-17 10:09:59 +02:00
renovate[bot]
170b815477
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2436 )
2019-06-17 15:59:58 +08:00
Paul Sealock
31f805f651
Merge pull request woocommerce/woocommerce-admin#2433 from woocommerce/changelog/omit-unmerged-prs
...
Changelog: Omit unmerged pull requests
2019-06-17 09:56:23 +12:00
Albert Juhé Lluveras
61fda5af56
Update Dashboard Charts naming and order ( https://github.com/woocommerce/woocommerce-admin/pull/2429 )
2019-06-15 14:12:19 +02:00
Paul Sealock
77f8d7a108
Changelog: Omit unmerged pull requests
2019-06-15 19:25:04 +12:00
Jeff Stieler
4b536ec1e0
Remove unnecessary WP style dependencies.
...
Use WP component styles instead of full edit-blocks styles.
2019-06-14 11:13:59 -06:00
Jeff Stieler
e235dd3f40
Fix version constant update logic.
2019-06-14 10:29:03 -06:00
Albert Juhé Lluveras
15ecc94252
Fix conflicts with WordPress.com toolbar ( https://github.com/woocommerce/woocommerce-admin/pull/2431 )
...
* Fix conflicts with WordPress.com toolbar
* Simplify selector
* Decrease z-index of header
* Remove unnecessary important
2019-06-14 17:48:28 +02:00
Jeff Stieler
4c62701b86
Merge pull request woocommerce/woocommerce-admin#2423 from woocommerce/fix/2288-unhandled-rest-requests-wp-error
...
Performance indicators - bail whenever an internal API request fails.
2019-06-14 09:20:02 -06:00
Albert Juhé Lluveras
d6e37124c7
Fix some Dashboard charts using wrong endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/2417 )
2019-06-14 10:54:12 +02:00
Paul Sealock
8d7299538e
Merge pull request woocommerce/woocommerce-admin#2412 from woocommerce/add/changelog-script
...
Add changelog script
2019-06-14 20:24:29 +12:00
Paul Sealock
2ad2bf84bb
Add changelog script
2019-06-14 20:15:04 +12:00
Jeff Stieler
d4e242b028
Add test to catch missing version updates.
2019-06-13 15:40:02 -06:00
Jeff Stieler
489f740741
Handle no data / error case for preloaded endpoint data.
2019-06-13 14:54:10 -06:00
Paul Sealock
4aab25b8ba
Table queries: remove befor/after from no interval endpoints
2019-06-14 06:21:35 +12:00
Ron Rennick
241ebb63ff
Merge pull request woocommerce/woocommerce-admin#2407 from woocommerce/fix/2354
...
Update Amount of {Item} to Number of {Item} when it's a count throughout
2019-06-13 13:41:15 -03:00
Ron Rennick
cfa913a4b8
update status query to OR when there is a status filter
2019-06-13 13:10:46 -03:00
Albert Juhé Lluveras
3e0d296646
Fix search bar in Orders page not being tapable on mobile ( https://github.com/woocommerce/woocommerce-admin/pull/2384 )
...
* Fix search bar in Orders page not being tapable on mobile
* Cleanup
* Remove unnecessary duplicated media-query
* Cleanup
2019-06-13 18:07:02 +02:00
Joshua T Flowers
2f49a0a5a7
Prevent multiple imports from running simultaneously ( https://github.com/woocommerce/woocommerce-admin/pull/2414 )
...
* Prevent multiple imports from running simultaneously
* Cancel previous imports before importing again in tests
2019-06-13 23:32:58 +08:00
Jeff Stieler
9170b5a46e
Tag 0.13.2
...
Bump version so database migrations are run.
2019-06-13 08:56:49 -06:00
Ron Rennick
234d53975e
change 2 other Amount strings to Number
2019-06-13 11:27:44 -03:00
Jeff Stieler
acafd46849
Fix change log formatting.
...
Remove duplicate section headers and complete version heading formats.
2019-06-13 07:56:22 -06:00
Paul Sealock
be61ba331a
Merge pull request woocommerce/woocommerce-admin#2410 from woocommerce/fix/woocommerce-disabled-fatal
...
Fix: Exit deactivate early if WooCommerce not active.
2019-06-13 13:43:37 +12:00
Timmy Crawford
c5b24567fc
Fix: Exit deactivate early if WooCommerce not active.
2019-06-12 17:16:04 -07:00
Paul Sealock
2ad2c0f420
Release 0.13.0
2019-06-13 10:55:19 +12:00
Paul Sealock
b76b259d82
Merge pull request woocommerce/woocommerce-admin#2385 from woocommerce/fix/2343-skip_existing-not-importing-all-data
...
Fix some data not to being imported when 'skip_existing' option is enabled
2019-06-13 10:19:56 +12:00
Albert Juhé Lluveras
db169972d2
Fix comment
2019-06-12 23:58:20 +02:00
Albert Juhé Lluveras
4a5be15057
Merge branch 'master' into fix/2343-skip_existing-not-importing-all-data
2019-06-12 23:56:35 +02:00
Albert Juhé Lluveras
b1bd53cb4e
Adds comments to explain why page is fixed when skip_existing is set to true
2019-06-12 23:51:56 +02:00
Albert Juhé Lluveras
2d4b7b9938
Fix Activity Panel layout on mobile ( https://github.com/woocommerce/woocommerce-admin/pull/2405 )
2019-06-12 23:51:08 +02:00
Jeff Stieler
698c373a67
Merge pull request woocommerce/woocommerce-admin#2353 from woocommerce/renovate/lock-file-maintenance
...
Lock file maintenance
2019-06-12 23:47:59 +02:00
Renovate Bot
281060acdb
Lock file maintenance
2019-06-12 21:26:43 +00:00
Paul Sealock
2e0ef7f93c
Notes: update sales record link
2019-06-13 09:26:05 +12:00
Paul Sealock
ed21ccf62e
Merge pull request woocommerce/woocommerce-admin#2387 from woocommerce/fix/2365-improve-tab-switching-read-suppression
...
Improve hidden tab suppression/fix rapid requests
2019-06-13 09:22:48 +12:00
Renovate Bot
e04862ef7e
Update dependency lerna to v3.15.0
2019-06-12 15:01:10 -06:00
Jeff Stieler
c2ca48274e
Merge pull request woocommerce/woocommerce-admin#2398 from woocommerce/renovate/husky-2.x
...
Update dependency husky to v2
2019-06-12 22:55:32 +02:00
Jeff Stieler
bde6e15c53
Merge pull request woocommerce/woocommerce-admin#2395 from woocommerce/renovate/css-loader-3.x
...
Update dependency css-loader to v3
2019-06-12 22:49:18 +02:00
Ron Rennick
6b02ee217c
Update Amount of Orders to Number of Orders throughout
2019-06-12 16:16:18 -03:00
Joshua Flowers
e518f13444
Cancel all wc-admin actions on deactivate
2019-06-12 13:11:13 -06:00
Joshua Flowers
4f44f97a67
Fix uninstall classes and move table deletion to uninstall
2019-06-12 13:11:13 -06:00
Joshua Flowers
9028488548
Remove table data on plugin deactivate
2019-06-12 13:11:13 -06:00
Jeff Stieler
ea12ad086b
Merge pull request woocommerce/woocommerce-admin#2402 from woocommerce/add/uninstall-on-release
...
Add uninstall file to release ZIP
2019-06-12 21:09:51 +02:00
Jeff Stieler
f88efb3173
Don’t dispatch fresh-data request actions when document is hidden.
2019-06-12 12:58:46 -06:00
Jeff Stieler
6f9681ff53
Merge pull request woocommerce/woocommerce-admin#2359 from woocommerce/renovate/wordpress-monorepo
...
Update wordpress monorepo
2019-06-12 20:48:29 +02:00
Jeff Stieler
8c9328c382
Specify trusty dist for Travis builds.
2019-06-12 11:52:51 -06:00
Jeff Stieler
3f2957dc0d
Update new sass variable.
2019-06-12 11:37:13 -06:00
Joshua T Flowers
81ffa853f3
Remove table data on plugin uninstall ( https://github.com/woocommerce/woocommerce-admin/pull/2399 )
...
* Remove table data on plugin deactivate
* Fix uninstall classes and move table deletion to uninstall
2019-06-13 00:16:08 +08:00
Jeff Stieler
b83ef86add
Merge pull request woocommerce/woocommerce-admin#2325 from woocommerce/add/admin-note-trigger-action
...
Trigger an action server side when admin note actions are clicked
2019-06-12 17:04:10 +02:00
Albert Juhé Lluveras
9f0ab4ec76
Add uninstall file to release ZIP file
2019-06-12 11:51:42 +02:00
Albert Juhé Lluveras
8bc2261c8a
Add date_created_gmt property to orders endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/2086 )
...
* Add date_created_gmt property to orders enpoint
* Make date_created properties of type date-time and improve descriptions
2019-06-12 11:21:56 +02:00
Joshua T Flowers
95d1a1d245
Add onbaording step 7 - Business Details ( https://github.com/woocommerce/woocommerce-admin/pull/2347 )
2019-06-12 11:56:10 +08:00
Renovate Bot
71287787cc
Update dependency husky to v2
2019-06-12 02:56:42 +00:00
Renovate Bot
484e377cdf
Update dependency css-loader to v3
2019-06-12 01:41:42 +00:00
Paul Sealock
4c3f122e89
Merge pull request woocommerce/woocommerce-admin#2292 from woocommerce/add/default-date-settings
...
Settings: Add default date settings
2019-06-12 11:48:01 +12:00
Paul Sealock
dbd536c7a3
Settings: Add default date
2019-06-12 11:40:21 +12:00
Renovate Bot
493629113b
Update wordpress monorepo
2019-06-11 21:56:55 +00:00
Renovate Bot
a9d913295a
Update dependency copy-webpack-plugin to v5
2019-06-11 21:50:09 +00:00
Renovate Bot
3fdc812305
Update dependency webpack-cli to v3.3.4
2019-06-11 21:28:35 +00:00
Jeff Stieler
e50edf6ea3
Merge pull request woocommerce/woocommerce-admin#2357 from woocommerce/renovate/webpack-4.x
...
Update dependency webpack to v4.33.0
2019-06-11 23:25:46 +02:00
Jeff Stieler
49a65bd9e7
Merge pull request woocommerce/woocommerce-admin#2356 from woocommerce/renovate/reactrouter-monorepo
...
Update dependency react-router-dom to v5.0.1
2019-06-11 23:18:27 +02:00
Jeff Stieler
88f51e9119
Merge pull request woocommerce/woocommerce-admin#2355 from woocommerce/renovate/autoprefixer-9.x
...
Update dependency autoprefixer to v9.6.0
2019-06-11 23:12:38 +02:00
Jeff Stieler
1825c30b26
Performance indicators - bail whenever an internal API request fails.
2019-06-11 14:10:59 -06:00
Jeff Stieler
4ae938c99d
Only update the status of a note if the triggered action is non-empty.
2019-06-11 12:38:49 -06:00
Albert Juhé Lluveras
ddbb8f0be8
Add tracks to import jobs ( https://github.com/woocommerce/woocommerce-admin/pull/2193 )
...
* Add tracks to import jobs
* Include tracks client if missing when recording events
* Add batch_number, batch_size and import_count properties to import jobs
* Reorder code
2019-06-11 19:55:10 +02:00
Timmy Crawford
39d5c09c81
Notes: Add filters to disable milestone and sales record notes. ( https://github.com/woocommerce/woocommerce-admin/pull/2227 )
...
* Add filters to disable milestone and sales record notes.
* Updates per feedback.
2019-06-11 08:12:16 -07:00
Albert Juhé Lluveras
5d01cee56c
Add progress bars to Historical Data Import screen ( https://github.com/woocommerce/woocommerce-admin/pull/2312 )
...
* Hook up import/status endpoint to Historical Data Import screen
* Fix PHP tests
* Add speak message when the import is complete
* Several fixes
* Cleanup
* Update progress bars every 3 seconds and bugfixes
* Rename ongoingImport to activeImport
* Use timestamp to identify queries
* Use timestamps for historical data state
* Add 'initializing' status
* Cleanup
* Pass less props around
* Refactor getStatus
* Set stop timestamp on request error
* Typo
2019-06-11 14:47:53 +02:00
Albert Juhé Lluveras
3123c4e047
Fix wrong average numbers in chart legends ( https://github.com/woocommerce/woocommerce-admin/pull/2352 )
...
* Fix wrong average numbers in chart legends
* Dashboard Extension example: update legend totals
* Rename 'totals' to 'legendTotals'
* Make sure legendTotals includes key property
2019-06-11 14:31:53 +02:00
Albert Juhé Lluveras
8790655c39
Make sure notices element exist before creating <WordPressNotices> ( https://github.com/woocommerce/woocommerce-admin/pull/2378 )
2019-06-11 14:14:06 +02:00
coderkevin
78e85f87c3
Improve hidden tab suppression/fix rapid requests
...
This fixes the rapid request problem that was happening when switching
tabs while having timed out requests. It changes the approach from
suppressing the actions sent out to preventing the read function from
being called at all.
I think the original problem has occurred because the original approach
was relying on an internal implementation of apiFetch from wp.data. This
new approach does not have such a dependency. It prevents apiFetch from
even being called. However, in the process, it will also prevent any
newly required resources from being fetched if the user manages to
switch tabs before it is requested. (e.g. refresh, then switch tabs
quickly).
2019-06-10 17:03:08 -05:00
Albert Juhé Lluveras
5a732d565a
Fix 'skip_existing' option making not all data not to be imported
2019-06-10 12:45:01 +02:00
Albert Juhé Lluveras
8ed63c5547
Remove second beta warning from readme ( https://github.com/woocommerce/woocommerce-admin/pull/2362 )
2019-06-09 11:38:53 +02:00
Mike Jolley
3bd945511a
Merge pull request woocommerce/woocommerce-admin#2191 from woocommerce/fix/low-stock-handling
...
Low stock handling inconsistencies with WooCommerce 3.6+
2019-06-06 12:15:46 +02:00
Paul Sealock
39d9ed38ed
Merge pull request woocommerce/woocommerce-admin#2369 from shoheitanaka/patch-2
...
Double space at 191 row
2019-06-06 10:13:16 +02:00
Shohei Tanaka
85bd2ce168
Double space at 191 row
...
I find double space, like misspelling.
2019-06-06 15:18:33 +09:00
Shohei Tanaka
fccf1f6156
Misspelling at update config.jp
...
This sentence is order, but older.
2019-06-06 14:54:28 +09:00
Renovate Bot
4e9acf6a32
Update dependency webpack to v4.33.0
2019-06-05 01:39:37 +00:00
Renovate Bot
42bc4ce0a1
Update dependency react-router-dom to v5.0.1
2019-06-05 00:36:05 +00:00
Renovate Bot
49310077d2
Update dependency autoprefixer to v9.6.0
2019-06-05 00:34:34 +00:00
Jeff Stieler
5785dfdfba
Only animate actioned notes if no reduced motion preference.
...
Speed up animation as well.
2019-05-31 10:02:26 -06:00
Jeff Stieler
6005cbbf05
Speed up admin note fade out animation.
2019-05-31 10:02:26 -06:00
Jeff Stieler
e1722a9ab8
Fix typo.
2019-05-31 10:02:26 -06:00
Jeff Stieler
82edc1c8c8
Only show unactioned notes in the Inbox panel.
...
And hide notes once an action has been taken.
2019-05-31 10:02:25 -06:00
Jeff Stieler
5a49991cb1
Trigger a note action on button click.
2019-05-31 09:59:20 -06:00
Jeff Stieler
698f947c16
Include the corresponding note in triggered action hook.
2019-05-31 09:59:20 -06:00
Jeff Stieler
17d793d731
Add endpoint for triggering note actions.
2019-05-31 09:59:20 -06:00
Jeff Stieler
8867152d88
Include ID when retrieving note action data.
2019-05-31 09:59:20 -06:00
Jeff Stieler
b06c392ab3
Prevent double escaping of note action URLs.
2019-05-31 09:59:21 -06:00
Joshua T Flowers
c524cb905f
Put onboarding controllers behind feature flag check ( https://github.com/woocommerce/woocommerce-admin/pull/2350 )
...
* Put onboarding controllers behind feature flag check
* Don't load profileItems if onboarding is disabled
2019-05-31 16:55:52 +02:00
Albert Juhé Lluveras
1939ea084c
Transpile newspack-components package ( https://github.com/woocommerce/woocommerce-admin/pull/2348 )
2019-05-31 10:34:26 +02:00
Joshua T Flowers
a9e4feb454
Hook up onboarding step 1 actions ( https://github.com/woocommerce/woocommerce-admin/pull/2334 )
...
* Hook up onboarding step 1 actions
* Remove updateProfile method from profile wizard
* Fix profile completion updates on last step
2019-05-31 12:51:33 +08:00
Jeff Stieler
0756dd929b
Merge pull request woocommerce/woocommerce-admin#2324 from woocommerce/add/admin-note-without-link
...
Allow note action URLs to be empty.
2019-05-30 10:42:02 -06:00
Jeff Stieler
c10988bc54
Merge pull request woocommerce/woocommerce-admin#2344 from woocommerce/add/paragraph-support-admin-notes
...
Allow paragraph tags in admin notes.
2019-05-30 10:40:59 -06:00
Joshua T Flowers
7622dee166
Add onboarding step 6 - Product Types ( https://github.com/woocommerce/woocommerce-admin/pull/2335 )
...
* Add product type information to onboarding
* Add product types step to onboarding profiler
* Update product type prices and learn more URLs
* Add styling to allow help text in checkbox group
* Match button and card action styling
2019-05-30 16:36:02 +08:00
Joshua T Flowers
b6b411bab4
Add onboarding step 4 ( https://github.com/woocommerce/woocommerce-admin/pull/2304 )
...
* Add store details onboarding step
* Hide hide disabled buttons in card content area
* Save store details to wc settings
* Remove email field from store details
* Add city field to store details
* Store countryState options in state to avoid recalculating on rerender
* Add muriel component style changes
* Continue to next form step if form input is valid
2019-05-30 15:15:39 +08:00
Justin Shreve
423757a7e2
Add Onboarding Step 5 - Industry ( https://github.com/woocommerce/woocommerce-admin/pull/2323 )
...
* Add Onboarding Step 5 - Industry
* Handle PR feedback: Switch to updateProfileItems, remove unnecessary css class, remove unecessary translation call
2019-05-30 14:31:07 +08:00
Jeff Stieler
8fad6e7dd7
Allow paragraph tags in admin notes.
2019-05-29 16:28:37 -06:00
renovate[bot]
186aa90c90
Update dependency core-js to v2.6.9 ( https://github.com/woocommerce/woocommerce-admin/pull/2329 )
2019-05-29 18:20:54 -04:00
renovate[bot]
bc13d8a292
Update dependency mini-css-extract-plugin to v0.7.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2331 )
2019-05-29 18:17:02 -04:00
renovate[bot]
9eb3cc7352
Update dependency recast to v0.18.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2332 )
2019-05-29 11:21:23 -04:00
renovate[bot]
94f3b9ff8b
Update dependency eslint-plugin-jest to v22.6.4 ( https://github.com/woocommerce/woocommerce-admin/pull/2330 )
2019-05-29 11:16:32 -04:00
renovate[bot]
d3872ae506
Update dependency webpack to v4.32.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2333 )
2019-05-29 11:12:41 -04:00
renovate[bot]
b0b49eed53
Update dependency color-studio to v1.0.4 ( https://github.com/woocommerce/woocommerce-admin/pull/2328 )
2019-05-29 11:08:31 -04:00
Jeff Stieler
d7628ccad4
Remove beta warning from readme.
2019-05-29 08:30:00 -06:00
Ron Rennick
eaa0088fd4
Merge pull request woocommerce/woocommerce-admin#2320 from woocommerce/fix/2314
...
allow additional parameters in the page query string
2019-05-28 12:08:07 -03:00
Justin Shreve
0de8594b9f
Remove customizable dashboarding heading ( https://github.com/woocommerce/woocommerce-admin/pull/2321 )
2019-05-28 10:47:19 -04:00
Joshua T Flowers
3b945b4bba
Add profile onboarding mutators and selectors to wc-api ( https://github.com/woocommerce/woocommerce-admin/pull/2310 )
...
* Add onboarding profile selectors and mutators to wc-api
* Show onboarding profiler depending on API results
* Add initial state hydration for onboarding profile
* Add onboarding namespace constant
2019-05-28 22:45:52 +08:00
Joshua T Flowers
4c8487abad
Fix boolean casting in profile controller params ( https://github.com/woocommerce/woocommerce-admin/pull/2316 )
...
* Fix boolean casting in profile controller params
* Update onboarding profile API tests
2019-05-28 22:43:00 +08:00
Joshua T Flowers
74d02bc717
Store state settings individually to prevent overwriting ( https://github.com/woocommerce/woocommerce-admin/pull/2317 )
2019-05-28 22:23:05 +08:00
Justin Shreve
821408fc83
Add Muriel/Newspack components for use in onboarding ( https://github.com/woocommerce/woocommerce-admin/pull/2313 )
...
* Add Muriel/Newspack components for use in onboarding
* Adjust some alignment
2019-05-28 10:05:55 -04:00
Joshua T Flowers
5e8509edd3
Onboarding: Add profiler body class on initial load + respect skipped/completed flags ( https://github.com/woocommerce/woocommerce-admin/pull/2300 ) ( https://github.com/woocommerce/woocommerce-admin/pull/2318 )
...
* Add profiler body class on initial load, and respect skipped/complete status.
* Handle PR feedback: Remove unnecessary global, add some todos, added a filter around the next step slug, generalized the is-loading class a bit.
2019-05-28 06:38:01 -04:00
Ron Rennick
d0cee1e37b
allow additional parameters in the page query string
2019-05-28 05:20:54 -03:00
Joshua T Flowers
cda83b4509
Onboarding - Add shared step actions and step 1 actions ( https://github.com/woocommerce/woocommerce-admin/pull/2283 )
...
* Add method to go to next profiler step in step controller
* Add method to update profile params in step controller
* Add action methods to step 1 in the profiler
* Allow JSON body params for profile controller
* Use JSON body params in onboarding profile tests
2019-05-28 11:09:48 +08:00
Paul Sealock
bebdb63fe6
Merge pull request woocommerce/woocommerce-admin#2301 from woocommerce/fix/controller-docs
...
Extensions: fix registering a page
2019-05-28 06:49:55 +12:00
Paul Sealock
02f232b39f
Suggest text-domain in docs, not woocommerce-admin
...
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-05-28 06:41:46 +12:00
Paul Sealock
2c87233c24
Merge pull request woocommerce/woocommerce-admin#2302 from woocommerce/fix/duplicate-ext-names
...
Dashboard Extension Example: Make namespace unique
2019-05-28 06:40:29 +12:00
Justin Shreve
fa673a66c6
Update Profile Wizard Header to Display Stepper ( https://github.com/woocommerce/woocommerce-admin/pull/2296 )
...
* Update Profile Wizard Header to contain steps
* Handle PR Feedback: Fix wpbody-content height only applying on onboarding routes, fix width/alignment of stepper.
2019-05-27 12:37:02 -04:00
renovate[bot]
e21a8f6b91
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2308 )
2019-05-27 09:47:52 -04:00
Albert Juhé Lluveras
66e6820b88
Add missing space in Orders Activity Panel card ( https://github.com/woocommerce/woocommerce-admin/pull/2306 )
2019-05-27 11:38:50 +02:00
Ron Rennick
08f542de3f
Merge pull request woocommerce/woocommerce-admin#2263 from woocommerce/consistent-licenses
...
include license.txt and update component package.json files
2019-05-24 23:29:41 -03:00
Jeff Stieler
0d9784700c
Allow note action URLs to be empty.
2019-05-24 13:05:12 -04:00
Joshua T Flowers
72206d296c
Update settings wc-api to accept multiple setting groups ( https://github.com/woocommerce/woocommerce-admin/pull/2293 )
...
* Allow getSettings to read settings from any group
* Change updateSettings to accept object with multiple setting groups
2019-05-24 15:22:21 +08:00
Paul Sealock
f2fae218ef
Dashboard Extension Example: Make namespace unique
2019-05-24 11:58:00 +12:00
Paul Sealock
01b84f1c41
Extensions: fix registering a page
2019-05-24 11:42:01 +12:00
Paul Sealock
a0ad2f1fa7
Merge pull request woocommerce/woocommerce-admin#2225 from woocommerce/fix/persistedQuery-sidebar
...
Persisted Queries: Avoid adding to non time related screens
2019-05-24 08:47:06 +12:00
Paul Sealock
f9bad3646d
Persisted Queries: Avoid non-time related screens
2019-05-24 08:38:52 +12:00
Paul Sealock
1c750474a0
Merge pull request woocommerce/woocommerce-admin#2280 from woocommerce/add/dashboard-section-example
...
Dashboard Extentions: Add a section
2019-05-24 08:37:41 +12:00
Paul Sealock
67f9081579
Add analytics card class to chart
...
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-05-24 08:09:59 +12:00
Jeff Stieler
c4a6471e9c
Merge pull request woocommerce/woocommerce-admin#2291 from woocommerce/fix/2192-screen-meta-links
...
Move StoreAlerts below screen meta links on embed pages.
2019-05-23 11:25:06 -06:00
Jeff Stieler
34b1c19456
Fix reflow on mobile when no alerts are present.
...
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-05-23 11:10:41 -06:00
Jeff Stieler
5fc0f03713
Reduce the top padding for StoreAlerts in mobile.
2019-05-23 10:39:09 -06:00
Jeff Stieler
f4d9818fc8
Remove unused layout component and export.
2019-05-23 10:38:45 -06:00
Justin Shreve
c921593cfd
Add Muriel Styled Spinner ( https://github.com/woocommerce/woocommerce-admin/pull/2289 )
...
* Add Muriel Styled Spinner
* Handle PR feedback: Fix ordering of example components, fix tabbing/spacing in stepper example file, and fix base muriel colors for the stepper and profile wizard.
2019-05-23 08:42:58 -04:00
Justin Shreve
0e1db89f67
Add onboarding plugin installation (step 2) ( https://github.com/woocommerce/woocommerce-admin/pull/2270 )
...
* Add onboarding plugin installation (step 2)
* Handle PR Feedback: Fix vertical label display on mobile, fix Jetpack connect URL generation, so we make sure the plugin is active first, add new constant for local calypso development, fix typo, refactor activatePlugin/installPlugin on the JS side, sanitize plugin name input.
2019-05-23 08:10:42 -04:00
Albert Juhé Lluveras
37fab0227d
Prevent screen meta reflows
2019-05-23 11:43:57 +02:00
Albert Juhé Lluveras
539407bc85
Remove d3-array dependency ( https://github.com/woocommerce/woocommerce-admin/pull/2286 )
2019-05-23 10:01:34 +02:00
Timmy Crawford
76ac6ec282
Add a prompt for Changelog entry in PR template. ( https://github.com/woocommerce/woocommerce-admin/pull/2251 )
2019-05-22 15:23:41 -07:00
Jeff Stieler
9578280423
Move StoreAlerts below screen meta links on embed pages.
2019-05-22 14:59:18 -06:00
Justin Shreve
9eedd00d52
Fix `box-shadow-8dp` error. ( https://github.com/woocommerce/woocommerce-admin/pull/2290 )
2019-05-22 16:54:31 -04:00
Paul Sealock
68f2af7722
Dashboard: Move title edit to Controls
2019-05-23 08:43:45 +12:00
Paul Sealock
5e532057a9
Extensions: Add Dashboard Section
2019-05-23 08:27:59 +12:00
Joshua T Flowers
0fd2c24694
Return a success message when updating in profiler controller ( https://github.com/woocommerce/woocommerce-admin/pull/2285 )
2019-05-23 00:47:54 +08:00
Joshua T Flowers
7c5394408d
Add onboarding profile wizard step 1 ( https://github.com/woocommerce/woocommerce-admin/pull/2260 )
...
* Add onboarding step 1 content
* Add onboarding content styling
* Extract step 1 specific styles to separate stylesheet
* Update muriel box shadow variable names
2019-05-23 00:19:56 +08:00
Jeff Stieler
a2946ab6d1
Merge pull request woocommerce/woocommerce-admin#2272 from woocommerce/update/allowed-html-admin-notices
...
Allow links in admin notice content.
2019-05-22 08:33:18 -06:00
Jeff Stieler
225d75e73a
Merge pull request woocommerce/woocommerce-admin#2269 from woocommerce/add/primary-notice-actions
...
Add support for “primary” admin notice actions.
2019-05-22 08:29:18 -06:00
Jeff Stieler
a70a3deaa8
Allow links in admin notice content.
2019-05-22 08:20:53 -06:00
Jeff Stieler
f3ae3464fa
Merge pull request woocommerce/woocommerce-admin#2271 from woocommerce/fix/wp-api-import-spec
...
Remove errant import update operation from `wp-api` spec.
2019-05-22 08:03:44 -06:00
renovate[bot]
f8f69f6b6b
Update dependency core-js to v2.6.8 ( https://github.com/woocommerce/woocommerce-admin/pull/2275 )
2019-05-22 11:11:20 +02:00
renovate[bot]
d80d996bcb
Update dependency lerna to v3.14.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2278 )
2019-05-22 11:06:33 +02:00
renovate[bot]
36b9f4cecf
Update dependency ast-types to v0.13.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2274 )
2019-05-22 10:39:20 +02:00
Joshua T Flowers
633177bdea
Update Card component to use Muriel design ( https://github.com/woocommerce/woocommerce-admin/pull/2252 )
...
* Use Muriel card styling and override card styles in reports
* Add card description prop
* Add isInactive prop and styling to card component
2019-05-22 16:38:25 +08:00
renovate[bot]
8b5681c466
Update babel monorepo to v7.4.5 ( https://github.com/woocommerce/woocommerce-admin/pull/2273 )
2019-05-22 10:31:29 +02:00
Jeff Stieler
3c243ffe00
Remove errant import update operation from wp-api spec.
2019-05-21 13:36:01 -06:00
Jeff Stieler
db5a1b7348
Add support for “primary” admin notice actions.
2019-05-21 13:22:48 -06:00
Justin Shreve
acd3f2f9d2
Update Onboarding Colors ( https://github.com/woocommerce/woocommerce-admin/pull/2264 )
...
* Update Onboarding Colors
* Bump package version, fix a couple duplicate definitions
* Adjust stroke to match Calypso style
2019-05-21 11:47:18 -04:00
Albert Juhé Lluveras
a382fd6143
Hook up import/totals endpoint to Historical Data Import screen ( https://github.com/woocommerce/woocommerce-admin/pull/2208 )
...
* Hook up import/totals endpoint to Historical Data Import screen
* Remove getImportTotalsError and isGetImportTotalsRequesting selectors which were not used
* Remove duplicate style import
* Fix RTL displays
2019-05-20 22:50:25 +02:00
Jeff Stieler
7a6c7add9e
Merge pull request woocommerce/woocommerce-admin#2265 from woocommerce/fix/2229-exclude-drafts-import
...
Exclude auto-draft and trashed orders from imports.
2019-05-20 14:39:11 -06:00
Paul Sealock
765fbc6799
Merge pull request woocommerce/woocommerce-admin#2258 from woocommerce/fix/dashboard-charts-data
...
Dashboard: Extend charts data
2019-05-21 08:18:25 +12:00
Paul Sealock
34aa71cfbb
Dashboard Charts: simplify data
2019-05-21 08:09:49 +12:00
Jeff Stieler
0d863ae7a6
Exclude auto-draft and trashed orders from imports.
2019-05-20 13:51:44 -06:00
Justin Shreve
416cb60b37
Add vertical and spinner options to the Stepper Component ( https://github.com/woocommerce/woocommerce-admin/pull/2255 )
...
* Add a vertical mode to the stepper component, and make some adjustments to the font weights.
Also adds a 'isPending' parameter to show a spinner for the currently active step.
* Handle PR feedback: Fix typo, add some margin to stop bouncing around in horizontal mode, add vertical example to devdocs.
* Fix linter errors
2019-05-20 14:31:03 -04:00
Joshua T Flowers
92665467ab
Fix profiler header gap and SVG properties ( https://github.com/woocommerce/woocommerce-admin/pull/2262 )
...
* Fix invalid SVG rules in profile wizard logo
* Fix profile wizard header gap on mobile
2019-05-20 13:49:26 -04:00
renovate[bot]
f9d61a98b9
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2257 )
2019-05-20 19:03:36 +02:00
Daniel Rey López
f00b7bf175
Update the minimum WooCommerce requirement on README ( https://github.com/woocommerce/woocommerce-admin/pull/2256 )
...
WC-Admin requires WooCommerce 3.6+: https://github.com/woocommerce/woocommerce-admin/issues/2118
I've updated the README since it still said "3.5.0".
2019-05-20 09:45:13 -04:00
Ron Rennick
69e8f5151f
include license.txt and update component package.json files
2019-05-18 01:19:20 -03:00
Joshua T Flowers
8f528ee824
Add Stepper component ( https://github.com/woocommerce/woocommerce-admin/pull/2246 )
...
* Add Stepper component
* Add Muriel colors as variables
* Add changelog entry for Stepper component
2019-05-17 16:01:40 +08:00
Joshua T Flowers
5e07474d16
Add step wrapper/controller to onboarding profile wizard ( https://github.com/woocommerce/woocommerce-admin/pull/2241 )
...
* Render profiler step based on query
* Add profile wizard header component
* Add profile wizard header styling
* Add plugin step
* Add header logo as SVG
2019-05-17 11:04:52 +08:00
Ron Rennick
e873144e4a
Merge pull request woocommerce/woocommerce-admin#2248 from woocommerce/consistent-licenses
...
update to consistent license
2019-05-16 13:35:31 -03:00
Mike Jolley
fdeb6ae403
Merge pull request woocommerce/woocommerce-admin#2226 from woocommerce/update/refactor-main-file
...
Refactor main file into singleton class structure
2019-05-16 17:31:46 +01:00
Jeff Stieler
aea0b269eb
Merge pull request woocommerce/woocommerce-admin#2245 from woocommerce/update/wc-notice-intercept
...
Handle `WC_Admin_Notices`.
2019-05-16 10:23:04 -06:00
Ron Rennick
eddd12beb8
update to consistent license
2019-05-16 13:14:03 -03:00
Mike Jolley
7a73c6cb97
update_db_version
2019-05-16 14:21:57 +01:00
Mike Jolley
97e980cf02
Move print_emoji_detection_script
2019-05-16 14:21:11 +01:00
Mike Jolley
79373b062c
Merge branch 'master' into update/refactor-main-file
2019-05-16 14:20:13 +01:00
Joshua T Flowers
1d978224eb
Drop 'sold' from 'products sold' in products report ( https://github.com/woocommerce/woocommerce-admin/pull/2240 )
2019-05-16 13:05:55 +08:00
Joshua T Flowers
8a03b1bfb3
Add onboarding profile REST endpoints ( https://github.com/woocommerce/woocommerce-admin/pull/2217 )
...
* Add onboarding profile endpoint to get profile data
* Add onboarding profile update endpoint
* Add onboarding profile endpoint tests
* Update onboarding API namespaces
2019-05-16 13:05:37 +08:00
Joshua T Flowers
c87ab4eed7
Update how refunds are displayed in tables ( https://github.com/woocommerce/woocommerce-admin/pull/2102 )
...
* Add customer functions to order and refund classes
* Use parent order for refund order number
* Add renderCurrency method to format negative currencies
* Allow negative number of items for refund fields in database
2019-05-16 13:04:37 +08:00
Jeff Stieler
6b9fa2ee7a
Collapse WC admin notices.
...
Achieved through adding class exclusion to the “should collapse” logic.
2019-05-15 17:34:14 -06:00
Paul Sealock
b3bc7dce97
Merge pull request woocommerce/woocommerce-admin#2232 from woocommerce/release/0.12.0
...
release 0.12.0
2019-05-16 07:50:30 +12:00
Ron Rennick
f8c862e4ad
Merge pull request woocommerce/woocommerce-admin#2211 from woocommerce/update/1968-report-permissions
...
update default capability for analytics report to view_woocommerce_reports
2019-05-15 15:28:31 -03:00
Ron Rennick
2aaf7f1d57
Merge pull request woocommerce/woocommerce-admin#2219 from woocommerce/fix/2195
...
Add filters for customer roles
2019-05-15 15:27:50 -03:00
Renovate Bot
aa93b5b8f9
Update dependency lerna to v3.14.0
2019-05-15 13:18:52 +00:00
Mike Jolley
cabad3cedc
Merge pull request woocommerce/woocommerce-admin#2236 from woocommerce/renovate/webpack-4.x
...
Update dependency webpack to v4.31.0
2019-05-15 14:14:56 +01:00
Ron Rennick
e5196c8289
always use AND for status subquery
2019-05-15 10:00:55 -03:00
Mike Jolley
a1bd3bdc17
Merge pull request woocommerce/woocommerce-admin#2233 from woocommerce/renovate/babel-loader-8.x
...
Update dependency babel-loader to v8.0.6
2019-05-15 13:39:01 +01:00
Renovate Bot
3665674994
Update dependency webpack to v4.31.0
2019-05-15 03:01:02 +00:00
Renovate Bot
6efe626287
Update dependency recast to v0.17.6
2019-05-15 02:57:33 +00:00
Renovate Bot
b871b57808
Update dependency babel-loader to v8.0.6
2019-05-15 01:38:42 +00:00
Paul Sealock
ad4818b55b
Feature flags: Enable customizable dash on plugin
2019-05-15 12:05:10 +12:00
Paul Sealock
9ff4684be7
release 0.12.0
2019-05-15 11:59:40 +12:00
Mike Jolley
91f68121cd
Use $this not static method
2019-05-14 23:09:02 +01:00
Mike Jolley
45102746e6
docblock
2019-05-14 23:08:13 +01:00
Paul Sealock
b4fa697a71
Dashboard: re-arrange section dropdown order
2019-05-15 08:54:03 +12:00
Paul Sealock
d7d630558d
Merge pull request woocommerce/woocommerce-admin#2194 from woocommerce/fix/dashboard-issues
...
Fix/dashboard issues
2019-05-15 07:30:41 +12:00
Ron Rennick
bfd41fb577
add customer role filter to customer data store
2019-05-14 16:04:31 -03:00
Mike Jolley
41a19448f3
Continue load if not built
2019-05-14 19:33:47 +01:00
Ron Rennick
15b3bd55ec
update cap handling for new page controller
2019-05-14 15:31:03 -03:00
Mike Jolley
2752605f54
Merge branch 'master' into update/refactor-main-file
2019-05-14 19:21:32 +01:00
Mike Jolley
254e378346
Moved actionsheduler hook to main file
2019-05-14 19:19:24 +01:00
Mike Jolley
e91bf985f4
Call the installer in `register_activation_hook` ( https://github.com/woocommerce/woocommerce-admin/pull/2220 )
...
* Call installer in register_activation_hook
* Just create the tables
2019-05-14 11:11:08 -07:00
Paul Dechov
a2dafef1d6
Keep border color and spacing consistent between summary items ( https://github.com/woocommerce/woocommerce-admin/pull/2007 )
...
* Ensure consistent inner border between summary items
Switches bottom border to same color as inner right border, except in cases where it is an outer border. Also adjusts right border of last item in unbalanced grid to the same inner border color.
* Set consistent summary item label height
Makes sure that wrapped label doesn't interfere with common item height for grid
* Implements flexbox instead of fixed height labels
* fix indentation
* Add newline
2019-05-14 10:56:35 -07:00
Ron Rennick
ba1a262a3c
add match=any support for advanced orders table filter
2019-05-14 14:54:53 -03:00
Jeff Stieler
65ca404077
Merge pull request woocommerce/woocommerce-admin#2209 from woocommerce/update/1432-page-handler-embed-refactor
...
Refactor page handler API
2019-05-14 11:54:34 -06:00
Jeff Stieler
93217253ac
Dynamically generate email settings section names in page controller.
2019-05-14 11:36:31 -06:00
Albert Juhé Lluveras
772fe5c7e2
Fix EllipsisMenu misalignment in wide containers ( https://github.com/woocommerce/woocommerce-admin/pull/2207 )
2019-05-14 10:31:56 -07:00
Jeff Stieler
a9195efb16
Add missing translation.
2019-05-14 11:25:46 -06:00
Mike Jolley
8d45240e02
Refactor main file into singleton class
2019-05-14 15:34:16 +01:00
Mike Jolley
16bd80fc24
Include core functions
2019-05-14 15:33:56 +01:00
Mike Jolley
1e4bcd631a
Create class to listen for cron events, move from main file
2019-05-14 15:33:45 +01:00
Mike Jolley
b976a5b9d7
Add cron event creation to installer and improve methods
2019-05-14 15:33:22 +01:00
Mike Jolley
9951a286bf
Move functions from main file to core-functions.php file
2019-05-14 15:33:02 +01:00
Mike Jolley
65e3fa905c
Add uninstaller file
2019-05-14 15:32:43 +01:00
Jeff Stieler
122620f031
Sanitize customer IDs in “get customers by orders” query.
2019-05-14 08:30:00 -06:00
Jeff Stieler
071dc7debe
Handle “all guests” when getting customers from orders.
2019-05-14 08:25:43 -06:00
Jeff Stieler
211c00935a
Merge pull request woocommerce/woocommerce-admin#2224 from woocommerce/fix/2222-frequent-order-count-query-milestones
...
Order milestones: prevent order count queries from being issues on every request.
2019-05-14 07:36:26 -06:00
Joshua T Flowers
b8bd689fd0
Import refunds on data sync ( https://github.com/woocommerce/woocommerce-admin/pull/2205 )
2019-05-14 18:37:09 +08:00
Joshua T Flowers
ffed0e8ab2
Fix onboarding profiler layout and notices ( https://github.com/woocommerce/woocommerce-admin/pull/2218 )
...
* Hide nags in notices in profiler
* Center content layout for profiler wizard
2019-05-14 11:21:14 +08:00
Jeff Stieler
6860773fb4
Refactor first two order milestones to behave the same as the others.
...
Prevents order count queries from being issues on every request.
2019-05-13 16:34:51 -06:00
Jeff Stieler
93085fe268
Add documentation on using the new page controller functions.
2019-05-13 15:14:18 -06:00
Jeff Stieler
8cab7c047e
Add filters to page controller.
2019-05-13 15:14:17 -06:00
Jeff Stieler
742a1aa049
Move existing page connection to a separate file.
2019-05-13 15:14:17 -06:00
Jeff Stieler
0028fc0ffe
Use WC_Emails class to dynamically connect email settings pages.
2019-05-13 15:14:17 -06:00
Jeff Stieler
635f9faca7
Restore hardcoded “WooCommerce” root breadcrumb logic and remove “full” path requirement.
2019-05-13 15:14:16 -06:00
Jeff Stieler
3dff00a9a0
Refactor connecting existing admin pages and breadcrumb generation.
2019-05-13 15:14:16 -06:00
Jeff Stieler
6b12d3e1b4
Refactor “is admin page” logic to use page controller.
2019-05-13 15:14:15 -06:00
Jeff Stieler
9fdf2cfb47
Refactor app entry page and dashboard page registration.
2019-05-13 14:30:26 -06:00
Jeff Stieler
7506201571
Refactor analytics page registration.
2019-05-13 14:19:26 -06:00
Jeff Stieler
19bfd01599
Add new page controller class, replace page registration function.
2019-05-13 14:19:26 -06:00
Mike Jolley
d226b80cd4
Merge pull request woocommerce/woocommerce-admin#2215 from woocommerce/renovate/lock-file-maintenance
...
Lock file maintenance
2019-05-13 19:13:08 +01:00
Ron Rennick
85e82f07f5
fix warning for string shipping tax meta value
2019-05-13 15:01:05 -03:00
Ron Rennick
6780ae0136
update unit tests for new customer count
2019-05-13 14:14:53 -03:00
Ron Rennick
33919a652d
phpcs sniff fixes
2019-05-13 13:48:22 -03:00
Ron Rennick
28b10f2eb6
restrict customer import to customer role with filter
2019-05-13 13:47:16 -03:00
Renovate Bot
14c162f3de
Lock file maintenance
2019-05-13 04:00:13 +00:00
Ajay Ghaghretiya
38c40430ef
Hide WordPress Upgrade Nag ( https://github.com/woocommerce/woocommerce-admin/pull/2213 )
2019-05-13 10:58:29 +08:00
Joshua T Flowers
fb91cd8788
Add import status endpoint and progress options ( https://github.com/woocommerce/woocommerce-admin/pull/2189 )
...
* Update import progress during batches
* Add import status route for querying import progress
* Update import totals before import start
* Move wc admin notes to separate action scheduler group
* Add import totals route to query customer and order totals
* Add wc helper queue job processing method
* Add import status and total tests
* Separate action type clearing for imports and notes
* Typecast action types as array in clear_pending_wcadmin_actions()
2019-05-13 10:30:07 +08:00
Paul Sealock
c9f738dec8
Dashboard: Fix index and extension issues
2019-05-13 07:20:14 +12:00
Albert Juhé Lluveras
54a09ab232
Replace Rebuild reports settings with Import Historical Data ( https://github.com/woocommerce/woocommerce-admin/pull/2198 )
...
* Hide progress bars and status from Import Historical Data screen
* Remove Rebuild Reports Sections from Settings
* Add Delete Imported Data button to the default actions
* Unify @todo comments
2019-05-10 11:34:03 +02:00
Joshua T Flowers
c6a6e737c4
Add refund filtering to order reports ( https://github.com/woocommerce/woocommerce-admin/pull/2179 )
...
* Add customer functions to order and refund classes
* Extract shared order and refund methods to trait
* Add refund filter to advanced filters in orders report
* Filter refund types in orders data store
* Extract refunds subquery to parent report data store method
* Add refund subquery filtering to order stats data store
* Add tests around refund type filtering
* Change the default option for the refunds filter
2019-05-10 14:56:57 +08:00
Joshua T Flowers
3382fb7011
Record refunds separate from order entries ( https://github.com/woocommerce/woocommerce-admin/pull/2083 )
...
* Sync refunds on order sync
* Separate order and refund class extensions
* Add customer functions to order and refund classes
* Change products store to work with refund amounts
* Return early for refunds in coupon data store
* Allow refund processing in tax data store
* Remove unused refund amounts from tables and data stores
* Change order counts to parse out refund entries
* Include refunded orders in default queried statuses
* Only process order number filter on shop order post types
* Extract shared order and refund methods to trait
* Fix renamed schedule_single_order_import method
* Bump PHP and WP version requirements
2019-05-10 14:39:25 +08:00
Ron Rennick
41a341f690
Merge pull request woocommerce/woocommerce-admin#2190 from woocommerce/fix/2180
...
fix customer name logic on populating customer lookup data
2019-05-09 09:39:49 -03:00
Ron Rennick
2cd44376de
Merge pull request woocommerce/woocommerce-admin#2150 from woocommerce/add/report-filter-default-value
...
add a defaultValue parameter to the ReportFilters, ReportChart component
2019-05-09 09:39:16 -03:00
Mike Jolley
a3b90cdb9e
Update get_count to use lookup table
2019-05-09 10:38:26 +01:00
Mike Jolley
d7b81e40d4
Update count query for low stock
2019-05-09 10:28:28 +01:00
Albert Juhé Lluveras
77ff3ea5cf
Hook up API Historical Data screen to API endpoints ( https://github.com/woocommerce/woocommerce-admin/pull/2177 )
...
* Hook up API Historical Data screen to API endpoints
* Avoid making an unnecessary Math.abs()
2019-05-09 11:11:58 +02:00
Albert Juhé Lluveras
065c1fc660
Show Y grid ticks/lines in charts where all values are lower than 1 ( https://github.com/woocommerce/woocommerce-admin/pull/2147 )
...
* Show Y grid ticks/lines in chart where all values are below 1
* Improve how step is calculated for -1 to 1 values
* Add tests
* Handle case when max and min values are 0
2019-05-09 10:20:48 +02:00
Joshua T Flowers
1df54fdae5
Check for page suffix to fix blank pages with WC Branding ( https://github.com/woocommerce/woocommerce-admin/pull/2187 )
2019-05-09 10:39:11 +08:00
Paul Sealock
1a7ba43d46
Merge pull request woocommerce/woocommerce-admin#2185 from woocommerce/renovate/eslint-plugin-wpcalypso-4.x
...
Update dependency eslint-plugin-wpcalypso to v4.1.0
2019-05-09 09:14:21 +12:00
Paul Sealock
add7061a17
Merge pull request woocommerce/woocommerce-admin#2186 from woocommerce/renovate/gridicons-3.x
...
Update dependency gridicons to v3.3.1
2019-05-09 09:13:33 +12:00
Timmy Crawford
d51845930a
Dashboard: Rename class/feature to remove conflict with legacy dashboard widget ( https://github.com/woocommerce/woocommerce-admin/pull/2138 )
...
* Dashboard: Rename class/feature to remove conflict with legacy dashboard class
* Updates per feedback, and fixes.
2019-05-08 09:10:05 -07:00
Mike Jolley
196543ef7f
Render stock status as 'low' on stock report
2019-05-08 15:25:46 +01:00
Mike Jolley
d95e69532e
Update stock report filtering to use correct low stock amounts and lookup table data for performance
2019-05-08 14:58:28 +01:00
Mike Jolley
f85b25f34d
Update stock and sku search query in API to use lookup table.
...
Lookup table was introduced in 3.6 and will improve performance for these 2 queries.
2019-05-08 14:05:35 +01:00
Ron Rennick
0f2788ed1c
fix customer name logic on populating customer lookup data
2019-05-08 10:01:12 -03:00
Mike Jolley
684c526d1e
Fix low stock report due to NULL _low_stock_amount
...
Empty meta values are not stored from WC 3.6+. _low_stock_amount could be NULL. This fixes the low stock queries.
2019-05-08 13:43:25 +01:00
Ron Rennick
d4f1e6bbd8
Merge pull request woocommerce/woocommerce-admin#2139 from woocommerce/add/table-default-order
...
add defaultOrder field to tablecard header
2019-05-08 08:41:48 -03:00
Paul Sealock
ed1d7c5f62
Merge pull request woocommerce/woocommerce-admin#2184 from woocommerce/fix/travis-failing-build-success
...
Travis: Exit scripts with error when one occurs
2019-05-08 21:12:45 +12:00
Albert Juhé Lluveras
6a8c7a235b
Use hiddenBlocks in store-perf
...
Co-Authored-By: psealock <psealock@gmail.com>
2019-05-08 20:41:38 +12:00
Renovate Bot
2d30017ff6
Update dependency gridicons to v3.3.1
2019-05-08 02:16:06 +00:00
Renovate Bot
3ab98be1fc
Update dependency eslint-plugin-wpcalypso to v4.1.0
2019-05-08 02:14:21 +00:00
Paul Sealock
b3ca4961da
Merge pull request woocommerce/woocommerce-admin#2183 from woocommerce/renovate/eslint-plugin-react-7.x
...
Update dependency eslint-plugin-react to v7.13.0
2019-05-08 14:11:40 +12:00
Paul Sealock
9efe16c485
Fix lint error
2019-05-08 14:02:12 +12:00
Paul Sealock
7fc14eae85
Travis: Exit scripts with error when one occurs
2019-05-08 13:54:11 +12:00
Renovate Bot
63ac1e1c5f
Update dependency eslint-plugin-react to v7.13.0
2019-05-08 01:29:25 +00:00
Renovate Bot
e318f2bdce
Update dependency deasync to v0.1.15
2019-05-08 01:27:51 +00:00
Paul Sealock
ee895e0f77
Check for config.defaultValue in Report Chart
2019-05-08 08:46:58 +12:00
Paul Sealock
448d12b91d
Replace use of 'all' in filters with check for config.defaultValue
2019-05-08 08:42:29 +12:00
Justin Shreve
00cbca33df
Add profile wizard base page ( https://github.com/woocommerce/woocommerce-admin/pull/1933 )
...
* Add profile wizard base page
* Update wizard base to the new color/font treatments
2019-05-07 15:25:51 -04:00
Ron Rennick
8744a8d6c9
fix merge conflicts
2019-05-07 15:22:48 -03:00
Ron Rennick
fb9011f191
update component change log
2019-05-07 15:16:42 -03:00
Albert Juhé Lluveras
cab0e38c30
Save section/block preferences in user data ( https://github.com/woocommerce/woocommerce-admin/pull/2148 )
...
* Save section/block preferences in user data
* Optimize updateSection code
* Remove no longer used prop
* Refactor dashboard blocks to make them extendable
* Check that defaultSection exists before merging
* Rename 'sectionsDefinion' to 'defaultSections'
* Add Dashboard README
* Update README with new props
* Update settings when moving/removing dashboard sections
* Add missing props to README example
* Move 'section.js' inside 'components' folder
* Fix README sentence
2019-05-07 09:21:34 +02:00
Albert Juhé Lluveras
d0981d2101
Vertically center Dashboard 'Add more' button ( https://github.com/woocommerce/woocommerce-admin/pull/2171 )
...
* Vertically center Dashboard 'Add more' button
* Remove top padding instead of using negative margin
2019-05-07 09:21:16 +02:00
Albert Juhé Lluveras
644c1e99e3
Don't make an API call when there are no performance indicators ( https://github.com/woocommerce/woocommerce-admin/pull/2157 )
...
* Don't make an API call when there are no performance indicators
* Hide store-performance elements if it's empty
2019-05-07 09:20:48 +02:00
Albert Juhé Lluveras
46d3be23dd
Add Historical Data Import Screen ( https://github.com/woocommerce/woocommerce-admin/pull/2073 )
...
* Add Historical Data Import Screen
* Fix date picker not being accessible
* Cleanup
* Fix period selector typo
Co-Authored-By: Aljullu <aljullu@gmail.com>
* Move state to props
* Add filter to status labels
* Get rid of 'step' state property
* Format 'importDate' as YYYY-MM-DD
* Minor improvements
* Hardcode control height
* Use dateValidationMessages when possible
* Update imported all data actions
* Update filter name
2019-05-07 09:18:48 +02:00
Joshua T Flowers
0ed477fc3c
Fix customer type filter param in orders report ( https://github.com/woocommerce/woocommerce-admin/pull/2169 )
2019-05-07 13:17:43 +08:00
Renovate Bot
0f526ee6b7
Lock file maintenance
2019-05-07 09:06:48 +12:00
Paul Sealock
819260072c
Merge pull request woocommerce/woocommerce-admin#2145 from woocommerce/renovate/node-sass-4.x
...
Update dependency node-sass to v4.12.0
2019-05-07 09:01:21 +12:00
Paul Sealock
f13f30fb70
Merge pull request woocommerce/woocommerce-admin#2144 from woocommerce/renovate/lerna-monorepo
...
Update dependency lerna to v3.13.4
2019-05-07 08:59:18 +12:00
Paul Sealock
7696e77dc0
Merge pull request woocommerce/woocommerce-admin#2143 from woocommerce/renovate/eslint-plugin-jest-22.x
...
Update dependency eslint-plugin-jest to v22.5.1
2019-05-07 08:58:19 +12:00
Paul Sealock
aa2aca4f16
Merge pull request woocommerce/woocommerce-admin#2142 from woocommerce/renovate/ast-types-0.x
...
Update dependency ast-types to v0.12.4
2019-05-07 08:56:49 +12:00
Paul Sealock
71e1f2d0d9
Merge pull request woocommerce/woocommerce-admin#2141 from woocommerce/renovate/fresh-data-framework-0.x
...
Update dependency @fresh-data/framework to v0.6.1
2019-05-07 08:51:57 +12:00
Paul Sealock
f91135b496
Merge pull request woocommerce/woocommerce-admin#2140 from woocommerce/renovate/babel-monorepo
...
Update babel monorepo to v7.4.4
2019-05-07 08:49:37 +12:00
Paul Sealock
e012af7add
EllipsisMenu: Refactor to expose renderContent args
2019-05-06 10:56:20 +12:00
Paul Sealock
b90f5ecb98
Merge pull request woocommerce/woocommerce-admin#2134 from woocommerce/add/dashboard-section-toggle
...
Dashboard: Section add, remove, move up, and move down
2019-05-06 10:54:17 +12:00
Albert Juhé Lluveras
beb3a93d4c
Persist chart interval in Dashboard ( https://github.com/woocommerce/woocommerce-admin/pull/2156 )
2019-05-03 19:53:07 +02:00
Paul Sealock
9f7497fa12
Dashboard: add section toggle
2019-05-03 09:26:55 +12:00
Ron Rennick
f529143e14
add a defaultValue parameter to the ReportFilters component
2019-05-02 15:21:37 -03:00
Ron Rennick
9363686545
use defaultOrder for previous sort order on first sort
2019-05-02 14:39:37 -03:00
Albert Juhé Lluveras
0162adf532
Allow renaming Dashboard sections ( https://github.com/woocommerce/woocommerce-admin/pull/2131 )
...
* Allow renaming Dashboard sections
* Create a wrapper 'Section' component that handles the section title events
* Add blank lines in ellipsis-menu code
* PR feedback
* Remove onToggle prop from EllipsisMenu
* Get rid of default title
2019-05-02 12:22:34 +02:00
Jeff Stieler
a36e3cd024
Merge pull request woocommerce/woocommerce-admin#2034 from woocommerce/add/1850-import-endpoint
...
Add import endpoint and controller
2019-05-01 13:29:00 -06:00
Jeff Stieler
cda1645672
Review feedback changes.
...
Incorrect comment and unused function argument.
2019-05-01 08:30:27 -06:00
Albert Juhé Lluveras
c69ce9ed78
Prevent chart type buttons breaking in two lines ( https://github.com/woocommerce/woocommerce-admin/pull/2135 )
2019-05-01 11:04:17 +02:00
Renovate Bot
1d952b5e2d
Update dependency node-sass to v4.12.0
2019-05-01 02:33:52 +00:00
Renovate Bot
8f0c098ee3
Update dependency lerna to v3.13.4
2019-05-01 02:32:20 +00:00
Renovate Bot
829e0e9d20
Update dependency eslint-plugin-jest to v22.5.1
2019-05-01 01:42:14 +00:00
Renovate Bot
6b9072b6c7
Update dependency ast-types to v0.12.4
2019-05-01 01:41:02 +00:00
Renovate Bot
0b20fb7867
Update dependency @fresh-data/framework to v0.6.1
2019-05-01 00:41:04 +00:00
Renovate Bot
20fd6abf4c
Update babel monorepo to v7.4.4
2019-05-01 00:39:50 +00:00
Joshua Flowers
63c59a1f72
Update batch test function names and constants
2019-04-30 17:39:02 -06:00
Joshua Flowers
591c66995d
Add tests for delete endpoint
2019-04-30 17:39:01 -06:00
Joshua Flowers
0a229e3654
Add delete batch actions for orders and customers
2019-04-30 17:37:20 -06:00
Joshua Flowers
a4d1256292
Add customer deletion method to customers data store
2019-04-30 17:37:20 -06:00
Joshua Flowers
fe0dea6373
Add delete imports endpoint
2019-04-30 17:37:19 -06:00
Paul Sealock
a758ac8b80
Merge pull request woocommerce/woocommerce-admin#2132 from woocommerce/fix/extension-examples
...
Fix/extension examples
2019-05-01 07:02:40 +12:00
Ron Rennick
c48fc40b11
add defaultOrder field to tablecard header
2019-04-30 15:11:30 -03:00
Jeff Stieler
f9c1b130c3
Add extra verification to import cancel endpoint test.
2019-04-30 10:38:07 -06:00
Joshua Flowers
61492c5f10
Add import cancel tests
2019-04-30 10:17:09 -06:00
Joshua Flowers
cad94415c5
Add endpoint route to cancel all pending import actions
2019-04-30 10:17:08 -06:00
Jeff Stieler
a3fdd72ba5
Merge pull request woocommerce/woocommerce-admin#1907 from woocommerce/fix/1615-order-number-filter
...
Support Sequential Order Numbers in Downloads Report order number filter
2019-04-30 10:10:39 -06:00
Jeff Stieler
4a85b012b5
Add tests for customer import using new parameters.
2019-04-30 09:46:14 -06:00
Jeff Stieler
3bfc53c9cf
Reintroduce the customer lookup init to report regeneration.
...
With the new date range and “skip existing” logic.
2019-04-30 09:17:12 -06:00
Jeff Stieler
e350cfc898
Remove strict comparison from “is valid customer” logic.
...
Needed for the function to work in scheduled actions.
2019-04-30 09:09:35 -06:00
Ron Rennick
e9a3c2bdc0
Merge pull request woocommerce/woocommerce-admin#2129 from woocommerce/fix/2126
...
add check for woocommerce submenu item array
2019-04-30 08:06:29 -03:00
Albert Juhé Lluveras
1c67b40d76
Scroll to top of the table when navigating table pages ( https://github.com/woocommerce/woocommerce-admin/pull/2051 )
...
* Scroll to top of the table when navigating table pages
* Cleanup
* Avoid using scroll-padding-top
* Add space between the table top and the scroll point
* Only call if the page is different
* Move focus to the top of the table when switching pages
* Use CSS variables in the Activity Panel and breadcrumbs CSS (https://github.com/woocommerce/woocommerce-admin/pull/2096 )
* Use CSS variables in the Activity Panel and breadcrumbs CSS
* Cleanup
* Focus on table element when navigating pages
2019-04-30 11:43:55 +02:00
Albert Juhé Lluveras
40b47c3a18
Add empty state for the Reviews panels ( https://github.com/woocommerce/woocommerce-admin/pull/2124 )
...
* Add message to empty Reviews panel in the Activity Panel
* Add other reviews unread messages
* Cleanup
* Open external links in new tabs
* Avoid doing unnecessary API calls
* Remove 'activity_panel_reviews_last_read'
2019-04-30 11:40:10 +02:00
Paul Sealock
e6cc2ba3f4
Merge pull request woocommerce/woocommerce-admin#2125 from woocommerce/fix/components-readme-url
...
Components: fix README url
2019-04-30 08:03:17 +12:00
renovate[bot]
7b9f6e72f3
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2127 )
2019-04-29 13:00:03 -07:00
Paul Sealock
f739ba57c7
Components: fix README url
2019-04-30 07:55:32 +12:00
Ron Rennick
e409ef943a
update analytics report readme
2019-04-29 08:58:33 -03:00
Ron Rennick
4ceb3f3c2d
add check for woocommerce submenu item array
2019-04-29 06:57:33 -03:00
Paul Sealock
c1adc83676
apple table
2019-04-29 15:47:46 +12:00
Paul Sealock
88e6626d6a
Extension Examples: fix issues
2019-04-29 15:31:21 +12:00
Timmy Crawford
2aaf0ee4b5
Add check for wp_set_script_translations. ( https://github.com/woocommerce/woocommerce-admin/pull/2117 )
...
* Add check for wp_set_script_translations.
* Update admin alert to show correct required WooCommerce version.
* Few more 3.6 text changes.
2019-04-26 11:39:37 -07:00
Mike Jolley
867e236c28
Ensure the feature-config.php file is built with `npm run build` ( https://github.com/woocommerce/woocommerce-admin/pull/2115 )
...
* Ensure the feature-config file is built
* Missing doc for `dev` build
* Call feature flag build once
* Inline docs with updated default
2019-04-26 11:37:39 -07:00
Joshua T Flowers
53a4098de1
Fix missing leaderboard schema options ( https://github.com/woocommerce/woocommerce-admin/pull/2059 )
...
* Add missing schema properties
* Add missing leaderboard schema tests
2019-04-26 10:43:52 -07:00
Ron Rennick
c0171f952e
Merge pull request woocommerce/woocommerce-admin#2060 from woocommerce/fix/2053
...
update path to feature-config-core.php
2019-04-25 12:25:22 -03:00
Kelly Dwan
18bb29e35d
Fix warnings in travis: CSS lint error & phpunit warning ( https://github.com/woocommerce/woocommerce-admin/pull/2109 )
...
* Fix stylelint issue
* Use WC_Helper_Order to create the order, which will correctly populate customer info
2019-04-25 10:22:57 -04:00
Ron Rennick
58056bdd89
fix merge conflicts
2019-04-25 09:37:29 -03:00
Ron Rennick
cb0cd08207
add admin phase to feature config build
2019-04-25 09:32:03 -03:00
Paul Sealock
5a2cd43314
Merge pull request woocommerce/woocommerce-admin#2076 from woocommerce/release/0.11.0-take-2
...
Release/0.11.0 take 2
2019-04-25 11:22:19 +12:00
Ron Rennick
ddac47e4ce
add line breaks to end of message to increase visibility
2019-04-24 16:56:57 -03:00
renovate[bot]
b6c114340a
Update dependency webpack-cli to v3.3.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2107 )
2019-04-24 15:44:25 -04:00
renovate[bot]
d53b48ceff
Update dependency woocommerce/woocommerce-sniffs to v0.0.6 ( https://github.com/woocommerce/woocommerce-admin/pull/2108 )
2019-04-24 15:41:54 -04:00
renovate[bot]
212e030e92
Update dependency recast to v0.17.5 ( https://github.com/woocommerce/woocommerce-admin/pull/2105 )
...
* Update dependency recast to v0.17.5
* Run `npm run docs`
2019-04-24 15:40:41 -04:00
renovate[bot]
9e93ef3e9b
Update dependency webpack to v4.30.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2106 )
2019-04-24 15:35:00 -04:00
renovate[bot]
1d8c5c1e0c
Update dependency node-watch to v0.6.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2104 )
2019-04-24 15:28:57 -04:00
Ron Rennick
998cd60744
use mkdir(), add message
2019-04-24 13:50:30 -03:00
Paul Sealock
d7757404d8
release 0.11.0
2019-04-24 13:33:33 +12:00
Joshua T Flowers
c17baa02cd
Encode and decode persited query as JSON string in the leaderboards controller ( https://github.com/woocommerce/woocommerce-admin/pull/2100 )
...
* Encode and decode persited query as JSON string in leaderboards controller
* Update peristed query tests to use JSON string
2019-04-24 04:38:49 +08:00
Joshua T Flowers
8bc3d8622e
Add order date filter to customers data store ( https://github.com/woocommerce/woocommerce-admin/pull/2094 )
...
* Add before and after params to customers controller
* Map before and after order params to order creation date filter
* Hook up customer date filter params in leaderboards controller
2019-04-23 10:01:36 +08:00
Justin Shreve
bdc94320f4
Add customizable dashboard feature flag, and base page. ( https://github.com/woocommerce/woocommerce-admin/pull/2052 )
2019-04-22 09:23:37 -04:00
Albert Juhé Lluveras
238c3270e6
Allow free input in the table pagination input field ( https://github.com/woocommerce/woocommerce-admin/pull/2091 )
...
* Allow free input in the table pagination input field
* Update pagination page on blur instead of on change
* Fix wrong changelog message
2019-04-22 12:24:32 +02:00
Albert Juhé Lluveras
6b43af2035
Make SummaryListPlaceholder height match SummaryNumber height ( https://github.com/woocommerce/woocommerce-admin/pull/2088 )
...
* Make SummaryListPlaceholder height match SummaryNumber height
* Add CHANGELOG message
* Fix mobile
2019-04-22 09:56:54 +02:00
renovate[bot]
68f97d214c
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2093 )
2019-04-22 12:17:04 +08:00
Hardip Parmar
e39a8e6e35
Remove CSV Download button when no data is available ( https://github.com/woocommerce/woocommerce-admin/pull/2084 )
2019-04-22 11:15:01 +08:00
Jeff Stieler
ba69a634f5
Document why the order number field should be a string.
2019-04-19 11:41:39 +02:00
Albert Juhé Lluveras
19500daad9
Add wcAdminAssetUrl property back ( https://github.com/woocommerce/woocommerce-admin/pull/2075 )
2019-04-18 10:38:42 +02:00
Paul Sealock
e799d38dca
Release build, make sure features are included
2019-04-18 07:04:56 +12:00
Ron Rennick
9ec06baeb3
ensure the /dist/ folder exists before writing feature-config-core
...
- change the default target environment to development
2019-04-17 10:29:31 -03:00
Ron Rennick
c00a7e277f
Merge pull request woocommerce/woocommerce-admin#2065 from woocommerce/remove-dup-build
...
remove unneeded build:feature-config from zip build
2019-04-17 09:25:14 -03:00
Albert Juhé Lluveras
3c433a24b3
Transpile acorn-jsx package ( https://github.com/woocommerce/woocommerce-admin/pull/2064 )
2019-04-17 10:34:45 +02:00
Joshua Flowers
eecedfdba8
Set orders date to midnight before if days is set
2019-04-17 15:57:51 +08:00
Joshua Flowers
44e8c56d88
Run count query early to maybe skip order id query
2019-04-17 15:50:46 +08:00
renovate[bot]
6ad5ee6dfc
Update dependency mini-css-extract-plugin to v0.6.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2069 )
2019-04-17 15:29:22 +08:00
renovate[bot]
c7a8bf5df5
Update dependency lerna to v3.13.3 ( https://github.com/woocommerce/woocommerce-admin/pull/2068 )
2019-04-17 15:21:41 +08:00
Paul Sealock
91967ea0dd
Merge pull request woocommerce/woocommerce-admin#2070 from woocommerce/fix/bad-merge-2033
...
Merge pull request woocommerce/woocommerce-admin#2018 from woocommerce/try/extension-build-env
2019-04-17 15:41:43 +12:00
renovate[bot]
339f870e4b
Update dependency memoize-one to v5.0.4 ( https://github.com/woocommerce/woocommerce-admin/pull/2067 )
2019-04-17 11:20:12 +08:00
renovate[bot]
36d19b3e77
Update dependency gridicons to v3.2.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2066 )
2019-04-17 11:13:54 +08:00
Paul Sealock
9c8e0ff666
Merge pull request woocommerce/woocommerce-admin#2018 from woocommerce/try/extension-build-env
...
Try: Extension Examples
2019-04-17 15:12:42 +12:00
Paul Sealock
8ff24a9a7e
Example Extensions: create build environment
2019-04-17 14:01:56 +12:00
Kelly Dwan
7ace7b108a
Update docs to remove confusing step ( https://github.com/woocommerce/woocommerce-admin/pull/2045 )
...
Since we’re using `from-package`, lerna does not ask for a version in the release process.
2019-04-16 19:00:36 -04:00
Kelly Dwan
8fc2c6fb0e
Clean up package.json & add a script ( https://github.com/woocommerce/woocommerce-admin/pull/2046 )
2019-04-16 19:00:19 -04:00
Ron Rennick
259e138df1
remove unneeded build:festure-config from zip build
2019-04-16 15:12:05 -03:00
renovate[bot]
1eedb88c04
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2056 )
2019-04-16 17:09:24 +08:00
renovate[bot]
ea096a1f94
Pin dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/2044 )
2019-04-16 16:43:08 +08:00
Ajay Ghaghretiya
4dddb62195
Fix-woocommerce/woocommerce-admin#1982 ( https://github.com/woocommerce/woocommerce-admin/pull/2019 )
...
* Fix-woocommerce/woocommerce-admin#1982
* Fix-woocommerce/woocommerce-admin#1982 #Tabs replaced with spaces
* woocommerce/woocommerce-admin#1982
* Fix-woocommerce/woocommerce-admin#1982 Resolved Inline comments must end in full-stops, exclamation marks, or question marks.
* update with tabs
fixes formatting
* update woocommerce-admin.php
tab formatting fixes.
* Update woocommerce-admin.php
Update
Co-Authored-By: Mr-AjayM <32254909+Mr-AjayM@users.noreply.github.com>
* Update woocommerce-admin.php
remove leading /
Co-Authored-By: Mr-AjayM <32254909+Mr-AjayM@users.noreply.github.com>
2019-04-16 10:11:34 +02:00
Albert Juhé Lluveras
d38b888a2e
Check if welcome message notice exists before creating it ( https://github.com/woocommerce/woocommerce-admin/pull/2063 )
2019-04-16 09:31:50 +02:00
Paul Sealock
2e3b3467a5
Remove lodash from bundle
2019-04-16 10:44:32 +12:00
Albert Juhé Lluveras
dab7cf7dff
Respect manual offsets in default before/after params ( https://github.com/woocommerce/woocommerce-admin/pull/2042 )
2019-04-15 19:28:19 +02:00
Albert Juhé Lluveras
b134853e83
Add empty state in Stock panel ( https://github.com/woocommerce/woocommerce-admin/pull/2049 )
...
* Add empty state in Stock panel
* Add isRequesting in the title check
2019-04-15 09:35:22 +02:00
ronakganatra9
efb6bba9bd
woocommerce/woocommerce-admin#1981 Fix/1981 welcome note added ( https://github.com/woocommerce/woocommerce-admin/pull/2005 )
...
* Added new admin note on plugin install. Fix-1981
* fix phpcs errors
* cbf change
* changes in phpcs error.
* Update includes/notes/class-wc-admin-notes-welcome-message.php
Co-Authored-By: ronakganatra9 <ronakganatra9@gmail.com>
* Changes implemented as per suggestion.
* suggestions apply of condition check and note name change.
* phpcs changes.
* mistake solved.
2019-04-15 09:34:27 +02:00
Albert Juhé Lluveras
b4c3998e7e
Add empty states for the Inbox and Orders panels ( https://github.com/woocommerce/woocommerce-admin/pull/2037 )
...
* Add empty states for the Inbox and Orders panels
* Typos
* Apply PR feedback
2019-04-15 09:06:34 +02:00
Jeff Stieler
72da1d4c57
Merge pull request woocommerce/woocommerce-admin#2032 from woocommerce/renovate/postcss-color-function-4.x
...
Update dependency postcss-color-function to v4.1.0
2019-04-12 15:44:48 -06:00
Ron Rennick
46fe413a5e
Merge pull request woocommerce/woocommerce-admin#1990 from woocommerce/fix/1931
...
center mobile icon vertically
2019-04-12 16:32:12 -03:00
Jeff Stieler
bf1d1323b3
Merge pull request woocommerce/woocommerce-admin#2043 from woocommerce/fix/activity-panel-readme
...
Update admin notes readme.
2019-04-12 13:30:49 -06:00
Jeff Stieler
8c382773c2
Fix grammar.
2019-04-12 13:08:05 -06:00
Jeff Stieler
ef0fd73f2c
Merge pull request woocommerce/woocommerce-admin#1998 from woocommerce/add/247-stock-panel
...
Hook up Stock panel
2019-04-12 09:19:21 -06:00
Albert Juhé Lluveras
164bae3075
Fix product link in stock panel.
...
Thanks @Aljullu
Co-Authored-By: jeffstieler <jeff.m.stieler@gmail.com>
2019-04-12 08:15:58 -06:00
Joshua Flowers
7a41da3058
Bust cache for orders query in import tests
2019-04-12 16:50:43 +08:00
Joshua Flowers
fcf0994276
Fix missing batch action arguments
2019-04-12 16:50:43 +08:00
Joshua Flowers
f213f5cb66
Make customer name empty string by default instead of null
2019-04-12 16:50:43 +08:00
Joshua Flowers
5838e2ab48
Add import controller tests
2019-04-12 16:50:42 +08:00
Joshua Flowers
0a42757628
Process customer during order update instead of pre-processing all
2019-04-12 16:50:42 +08:00
Joshua Flowers
780c9da3d2
Hook up regenerate UI setting to new import endpoint
2019-04-12 16:50:42 +08:00
Joshua Flowers
1f016b5418
Add days and skip options to regenerate reports function
2019-04-12 16:50:42 +08:00
Joshua Flowers
4180b48346
Add reports import controller and endpoint
2019-04-12 16:50:42 +08:00
Kelly Dwan
754c2a07eb
Update changelogs with latest versions, bump package versions where outdated ( https://github.com/woocommerce/woocommerce-admin/pull/2039 )
2019-04-11 14:43:45 -04:00
Justin Shreve
7fc70157c9
WC_Admin_Loader/PHP Refactor + Method to publish core ready features ( https://github.com/woocommerce/woocommerce-admin/pull/1863 )
...
* Try: Setup plugin to publish core library on npm
* Documentation clean up.
* Handle PR Feedback: Fix notices from happening in WC Core from API usage, fix sidebar dashboard ordering in menu, remove preload function check since we are supporting WP 5+, add a filter for preloading data and move usage to respective feature code, move features to a specific folder for bundiling, fix script translations.
* Fix code comment on analytics preload
* Continue refactoring code, and make it possible to launch 'embedded' features via the process as well.
* Fix note hook
* Fix note load order
* Address PR feedback: Fix class name, load leaderboard endpoint
* Remove example code prior to merge
2019-04-11 14:31:31 -04:00
Jeff Stieler
9265943bdf
Update admin notes readme.
...
Resize large image, add syntax highlighting to PHP snippets, fix example file link paths.
2019-04-11 11:32:45 -06:00
Jeff Stieler
1ed5a559bc
Fix stock card input styling in Firefox.
2019-04-11 09:42:14 -06:00
Albert Juhé Lluveras
f80880b80c
Add PHP autofix to pre-commit hook ( https://github.com/woocommerce/woocommerce-admin/pull/2022 )
...
* Add PHP autofix to pre-commit hook
* Remove unnecesary 'dev/null' output path
* Add error message if PHP_CodeSniffer is not installed
* Add periods to comments
* Fix comment
2019-04-11 09:05:59 +02:00
Joshua T Flowers
eb0b137020
Hook up leaderboards endpoint to dashboard ( https://github.com/woocommerce/woocommerce-admin/pull/2004 )
...
* Add allowed leaderboards endpoint to prefetch list
* Hook up leadboards endpoint to dashboard
* Skip data fetch for leaderboard if per page is less than 1
* Add tests to check for rendered html display
2019-04-11 10:53:05 +08:00
Renovate Bot
fe32dbb041
Update dependency postcss-color-function to v4.1.0
2019-04-11 00:49:42 +00:00
Jeff Stieler
e190d513c2
Merge pull request woocommerce/woocommerce-admin#2031 from woocommerce/renovate/node-watch-0.x
...
Update dependency node-watch to v0.6.1
2019-04-10 17:39:02 -06:00
Jeff Stieler
2d12f866c8
Merge pull request woocommerce/woocommerce-admin#2030 from woocommerce/renovate/marked-0.x
...
Update dependency marked to v0.6.2
2019-04-10 17:33:44 -06:00
Jeff Stieler
b5fa378f92
Merge pull request woocommerce/woocommerce-admin#2029 from woocommerce/renovate/lerna-monorepo
...
Update dependency lerna to v3.13.2
2019-04-10 17:17:45 -06:00
Jeff Stieler
2614fca209
Merge pull request woocommerce/woocommerce-admin#2028 from woocommerce/renovate/eslint-5.x
...
Update dependency eslint to v5.16.0
2019-04-10 15:13:36 -06:00
Renovate Bot
1e01735900
Update dependency autoprefixer to v9.5.1
2019-04-10 20:29:28 +00:00
Renovate Bot
bc447af1f8
Lock file maintenance
2019-04-10 18:49:23 +00:00
Jeff Stieler
4b2ac14994
Merge pull request woocommerce/woocommerce-admin#2015 from woocommerce/notes-queue-group
...
add WCA queue group to the unsnooze notes scheduled action
2019-04-10 10:21:39 -06:00
Justin Shreve
4727417746
Add a mobile app note ( https://github.com/woocommerce/woocommerce-admin/pull/2008 )
2019-04-10 11:49:02 -04:00
Albert Juhé Lluveras
5ae9ee65b0
PHP Lint fixes ( https://github.com/woocommerce/woocommerce-admin/pull/2023 )
2019-04-10 10:49:00 +02:00
Renovate Bot
cd2e942628
Update dependency node-watch to v0.6.1
2019-04-10 02:41:47 +00:00
Renovate Bot
333179449b
Update dependency marked to v0.6.2
2019-04-10 01:49:23 +00:00
Renovate Bot
f76d9b1a30
Update dependency lerna to v3.13.2
2019-04-10 01:41:56 +00:00
Renovate Bot
10fdb21aea
Update dependency eslint to v5.16.0
2019-04-10 00:44:29 +00:00
Paul Sealock
888eb9a0f6
Calendar: update to Gutenberg's isInvalidDate
2019-04-10 07:59:27 +12:00
Kelly Dwan
6cab171d59
SearchListControl: Add an onSearch callback to allow dynamic updating of the list ( https://github.com/woocommerce/woocommerce-admin/pull/1992 )
...
* SearchListControl: Add an onSearch callback to allow dynamic updating the list
* Update changelog
2019-04-09 11:42:21 -04:00
Kevin Killingsworth
007ff933ce
Fix withSelect to release resources on unmount ( https://github.com/woocommerce/woocommerce-admin/pull/1999 )
...
* Add fresh-data dev info support for dev builds.
This adds support for dev info to be accessed from the JavaScript
console for more information about resources handled by fresh-data.
* Update fresh-data to 0.6.0
* Fix withSelect to release resources on unmount
Previously, withSelect wasn't releasing resources from fresh-data when
it was unmounting. This fixes that behavior and now clears a component's
requirements correctly when unmounting.
2019-04-09 09:56:25 -05:00
Kevin Killingsworth
85fda4d61f
Add fresh-data dev info support for dev builds. ( https://github.com/woocommerce/woocommerce-admin/pull/1978 )
...
* Add fresh-data dev info support for dev builds.
This adds support for dev info to be accessed from the JavaScript
console for more information about resources handled by fresh-data.
* Update fresh-data to 0.6.0
2019-04-09 09:55:01 -05:00
Timmy Crawford
1ce257587a
Update Link in readme to Proper Location ( https://github.com/woocommerce/woocommerce-admin/pull/2026 )
...
Quick change of some copy/paste that was pointing the release notes at an old blocks post.
2019-04-09 07:47:14 -07:00
Albert Juhé Lluveras
f4c487dcd5
Fix wrong dates in Reviews and Orders panels of the Activity Panel ( https://github.com/woocommerce/woocommerce-admin/pull/2013 )
...
* Fix wrong dates in Reviews and Orders panels of the Activity Panel
* Avoid using long boolean checks in unread-indicators
2019-04-09 09:50:00 +02:00
Joshua T Flowers
e31be343e2
Make customer name extendable ( https://github.com/woocommerce/woocommerce-admin/pull/1976 )
...
* Make customer name extendable
* Update get_customer_name to favor user profile information
* Update customer name on profile update
* Add tests around customer name getting and setting
* Prefix customer name filter with woocommerce_reports_
2019-04-09 11:39:39 +08:00
Joshua T Flowers
f682fe76be
Add leaderboard controller and endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/1995 )
...
* Add leaderboard controller and endpoint
* Add existing leaderboard stats to leaderboard endpoint
* Add persisted query to leaderboard params
* Add leaderboard endpoint tests
* Check if extended_info params are set before assigning
* Change number param input format to mixed inside wc_admin_number_format
2019-04-09 11:34:56 +08:00
Jeff Stieler
2ec3e9843a
Merge pull request woocommerce/woocommerce-admin#1872 from woocommerce/add/1831-order-milestone-notifications
...
Add order milestone notifications.
2019-04-08 16:04:07 -06:00
Paul Sealock
1efdbf6256
Merge pull request woocommerce/woocommerce-admin#1994 from woocommerce/fix/search-filter-focus
...
Fix/search filter focus
2019-04-09 08:06:40 +12:00
Paul Sealock
6c079012e6
Search filter: focus input box instead of back button
2019-04-09 07:22:14 +12:00
Jeff Stieler
f734f01598
Clear recurring order milestones event on plugin deactivation.
2019-04-08 13:10:39 -06:00
Ron Rennick
870f7ddfcf
add WCA queue group to the unsnooze notes scheduled action
2019-04-08 16:04:56 -03:00
Albert Juhé Lluveras
baf3bc3e28
Scroll to top only when URL changes ( https://github.com/woocommerce/woocommerce-admin/pull/1989 )
2019-04-08 19:53:28 +02:00
Albert Juhé Lluveras
f47f1097bb
Fix date filter layout on Android ( https://github.com/woocommerce/woocommerce-admin/pull/1996 )
...
* Make filter date content position static
* Make date picker scrollable
2019-04-08 11:54:27 +02:00
Jeff Stieler
e2f163c2f2
Fix stock quantity input on change.
2019-04-05 14:31:20 -06:00
Albert Juhé Lluveras
dbf0a8d169
Split D3Chart utils axis file ( https://github.com/woocommerce/woocommerce-admin/pull/2000 )
2019-04-05 11:01:12 +02:00
Joshua T Flowers
753780bf7b
Onboarding: Add levels REST API ( https://github.com/woocommerce/woocommerce-admin/pull/1938 )
...
* Add levels rest controller
* Add default levels
* Add onboarding level API tests
* Drop all since tags
* Make pre-response levels array associative for easier formatting
* Fix level tests for associative array
2019-04-05 10:35:30 +08:00
Jeff Stieler
a36788dfb4
Fix stock panel product link for variations.
2019-04-04 11:11:48 -06:00
Jeff Stieler
c3ef41fc12
Focus quantity input when entering edit mode.
...
Makes the keyboard-first and screen reader experience much better.
2019-04-03 18:05:19 -06:00
Ron Rennick
14d0d24762
phpcs lint fixes for /data-stores/ folder
2019-04-03 16:19:43 -03:00
Jeff Stieler
9bcbda0f98
Add expected (missing) properties to product variation API response.
...
Parent product ID, name, and product type.
2019-04-03 12:35:18 -06:00
Albert Juhé Lluveras
7d8df3ecfc
Allow negative values in charts ( https://github.com/woocommerce/woocommerce-admin/pull/1979 )
...
* Add support for negative charts
* Always display main axis at 0
* Improve tests
* Make sure positive and negative grid steps are the same
* Code style improvements
* Fix missing lines when all values are 0
* Make sure empty note always appear on top
* Add CHANGELOG entry
2019-04-03 18:19:38 +02:00
dinhtungdu
7916ec6ca2
Fixed: Order Status filter: <select> is not vertically aligned when Gutenberg is installed
2019-04-03 18:11:12 +02:00
Ron Rennick
3fc8a7bfab
Merge pull request woocommerce/woocommerce-admin#1983 from woocommerce/fix/1932
...
add filter length condition to enable filter check
2019-04-03 11:22:31 -03:00
Ron Rennick
15fc357723
center mobile icon vertically
2019-04-03 11:15:22 -03:00
Ron Rennick
b384571afe
Merge pull request woocommerce/woocommerce-admin#1984 from woocommerce/phpcs/tests
...
phpcs fixes class-wc-tests-reports-orders-stats.php
2019-04-03 10:21:38 -03:00
renovate[bot]
297d35b686
Update dependency ast-types to v0.12.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1988 )
2019-04-03 08:54:21 -04:00
renovate[bot]
4c018efc7a
Update babel monorepo to v7.4.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1987 )
2019-04-03 08:48:52 -04:00
Joshua T Flowers
0c5c1c3db4
Remove coupon_total from order stats table ( https://github.com/woocommerce/woocommerce-admin/pull/1975 )
...
* Remove coupons_total from order stats table
* Replace discount amount with coupon objects in stat tests
2019-04-03 09:37:17 +08:00
Joshua T Flowers
b885ae4157
Update default hidden dashboard items ( https://github.com/woocommerce/woocommerce-admin/pull/1973 )
2019-04-03 09:36:20 +08:00
Paul Sealock
b79cacb797
npm start to update versions
2019-04-03 12:10:43 +13:00
Timmy Crawford
fa1ec47cae
update changelog for v0.10.0
2019-04-02 16:01:02 -07:00
Ron Rennick
26b5ba2b89
phpcs fixes class-wc-tests-reports-orders-stats.php
2019-04-02 16:22:55 -03:00
Ron Rennick
c061bfd925
Merge pull request woocommerce/woocommerce-admin#1977 from woocommerce/fix/1783
...
lookup product title in order meta if product has been deleted
2019-04-02 16:13:47 -03:00
Ron Rennick
fc356b86b2
add filter length condition to enable filter check
2019-04-02 15:55:17 -03:00
Ron Rennick
1d0e78e626
code alignment for linter
2019-04-02 15:20:23 -03:00
Jeff Stieler
6c5f8e5e38
Show variation attribute options in stock panel.
2019-04-02 11:37:50 -06:00
Jeff Stieler
18a2dd01cb
Add variations to low stock query.
2019-04-02 11:37:24 -06:00
Jeff Stieler
6f2c11270b
Clear cache when checking order count for the first two milestones.
2019-04-02 08:35:28 -06:00
Jeff Stieler
e6e905919d
Fix conditional for hooking the first two milestones action.
2019-04-02 08:34:22 -06:00
Ron Rennick
3a8ddbe3aa
lookup product title in order meta if product has been deleted
2019-04-02 09:24:52 -03:00
Joshua T Flowers
b03362da68
Cast order totals as floats when calculating net total ( https://github.com/woocommerce/woocommerce-admin/pull/1945 )
2019-04-02 13:43:12 +08:00
Jeff Stieler
f4691827b1
Include item ID in product update resource name.
...
Keep state in sync when updating product stock quantity.
2019-04-01 17:38:36 -06:00
Jeff Stieler
5d09ceb272
Hook stock panel up to real data.
2019-04-01 17:38:34 -06:00
Jeff Stieler
632e4fd09d
Add filter for order milestone statuses.
2019-04-01 16:37:55 -06:00
Jeff Stieler
b9e02d0b61
Change 100+ order milestone message and CTA.
2019-04-01 16:37:54 -06:00
Jeff Stieler
f610223708
Check for new order milestones every hour.
...
Only show one notification at a time.
2019-04-01 16:37:54 -06:00
Jeff Stieler
0893198f37
Add more orders count milestone notifications.
...
Also avoid notifications for thresholds passed before the plugin was activated.
2019-04-01 16:37:53 -06:00
Jeff Stieler
e5a4a45ae5
Add milestone note for the store’s first 10 orders.
2019-04-01 16:37:53 -06:00
Jeff Stieler
a31d0114cb
Add first order milestone notification.
2019-04-01 16:37:53 -06:00
Jeff Stieler
244536e350
Fix inbox panel item timestamps.
...
Account for UTC offset.
2019-04-01 16:32:39 -06:00
Jeff Stieler
57957633f4
Fix WC_Admin_Note default content data.
...
Arrays get serialized differently and object is required for successful retrieval.
2019-04-01 16:32:38 -06:00
Paul Sealock
17ef1fc9c6
Merge pull request woocommerce/woocommerce-admin#1954 from woocommerce/fix/page-page-not-working
...
getItems: modify parse flag by isUnboundedRequest
2019-04-02 10:15:33 +13:00
Albert Juhé Lluveras
4c58363347
Activity Panel: Reviews tab fixes ( https://github.com/woocommerce/woocommerce-admin/pull/1947 )
...
* Make sure unreadReviews is a boolean so it doesn't render any character (II)
* Set unread indicator in the Reviews tab when there are on hold reviews
2019-04-01 20:43:48 +02:00
renovate[bot]
05a85d8e7c
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1955 )
2019-04-01 14:25:35 -04:00
Jeff Stieler
ad7cc4226a
Handle updating product variation stock quantity.
2019-04-01 11:28:10 -06:00