Tiago Noronha
75ee8d600b
Merge pull request woocommerce/woocommerce-admin#1533 from woocommerce/fix/1511-advanced-filters-ie11
...
Advanced filters alignment in IE11
2019-02-14 21:23:29 +00:00
Tiago Noronha
86f3da4e9c
Merge pull request woocommerce/woocommerce-admin#1530 from woocommerce/fix/1513-legend-text-align
...
Chart legend alignment in IE11
2019-02-14 21:23:16 +00:00
Tiago Noronha
40dd9b5f91
Remove placeholders from components
2019-02-14 20:58:02 +00:00
Ron Rennick
86c89e741a
one more type -> chartType
2019-02-14 16:03:54 -04:00
Tiago Noronha
816e122408
Revert "Conditionally include `{{rule /}}` in select-filter `mixedString`"
...
This reverts commit e6c811ae21
.
2019-02-14 19:57:27 +00:00
Ron Rennick
e7c55d7ca5
update query string for chart type tests
2019-02-14 15:34:57 -04:00
Ron Rennick
41251c3e9c
fix scss whitespace
2019-02-14 15:31:20 -04:00
Tiago Noronha
e6c811ae21
Conditionally include `{{rule /}}` in select-filter `mixedString`
2019-02-14 19:27:13 +00:00
Tiago Noronha
8e6913a6c6
Add margin to advanced filters Add button
2019-02-14 18:21:33 +00:00
Ron Rennick
f5efd10638
fix merge conflicts
2019-02-14 14:11:15 -04:00
Ron Rennick
1422865efd
remove stray debugging code
2019-02-14 13:40:25 -04:00
Ron Rennick
7f4bb8df63
update chart type query string key to chartType
2019-02-14 13:35:08 -04:00
Tiago Noronha
ed8c587545
Remove margin between chart legends in column direction
2019-02-14 16:31:20 +00:00
Albert Juhé Lluveras
71bae4cdec
Refactor D3Chart ( https://github.com/woocommerce/woocommerce-admin/pull/1532 )
...
* Refactor d3chart
* Add check that tooltip exists before trying to hide it
2019-02-14 11:29:56 +01:00
Joshua T Flowers
25ed8a5b60
Only update search labels when IDs are mismatched ( https://github.com/woocommerce/woocommerce-admin/pull/1539 )
2019-02-14 11:15:10 +08:00
Paul Sealock
a60d977d5c
Merge pull request woocommerce/woocommerce-admin#1550 from woocommerce/fix/autocompleter-debounce
...
Autocompleter: increase debounce
2019-02-14 14:47:02 +13:00
Tiago Noronha
2b12f2ceba
IE11: Vertically center advanced filters title span
2019-02-14 01:38:23 +00:00
Tiago Noronha
9d8ed29ea3
IE11: Move placeholders from config files to components and add span around title
2019-02-14 01:35:47 +00:00
Paul Sealock
45b6708a43
Autocompleter: increase debounce
2019-02-14 14:23:08 +13:00
Tiago Noronha
3495ec74dd
IE11: Add custom CSS class to advanced filters controls
2019-02-13 23:56:50 +00:00
Paul Sealock
13335d342d
Segmented Selection: re-apply borders for all browsers
2019-02-14 12:41:35 +13:00
Jeff Stieler
c862de29d3
Merge pull request woocommerce/woocommerce-admin#1534 from woocommerce/fix/1455-customers-report-name-search
...
Hook up customers report table search box
2019-02-13 13:55:47 -08:00
Tiago Noronha
5724aed4cb
IE11: Fix grid layout for advanced filters line items
2019-02-13 20:31:11 +00:00
Albert Juhé Lluveras
4962ee5e4e
Empty chart message ( https://github.com/woocommerce/woocommerce-admin/pull/1499 )
...
* Show empty chart and summary numbers when search returns no results
* Preserve chart mode in empty searches
* Show message in empty charts
* Improve code order
* Add CHANGELOG message
* Rename emptySearch to emptySearchResults
* Improve emptyMessage propTypes comment
* Remove duplicated code
* Improve CHANGELOG message
* Create util function to check if chart is empty
* Update CHANGELOG message
* Add baseValue prop to Chart
2019-02-12 22:42:02 +01:00
Jeff Stieler
926fdcfb97
Hook `v4/customers` endpoint up to customers report/lookup table and change name search to be fuzzy.
2019-02-12 11:06:22 -08:00
Tiago Noronha
a2744c9728
Fix chart legend alignment in IE11
2019-02-12 12:51:40 +00:00
Tiago Noronha
a275a72f45
Update changelog for woocommerce/woocommerce-admin#1352
2019-02-11 18:05:00 +00:00
Tiago Noronha
1a8e797b00
Remove items from search input with backspace key
2019-02-11 15:46:51 +00:00
Albert Juhé Lluveras
b3e028bc81
Show empty chart and summary numbers when search returns no results ( https://github.com/woocommerce/woocommerce-admin/pull/1491 )
...
* Show empty chart and summary numbers when search returns no results
* Add changelog message
* Preserve chart mode in empty searches
* Add tests
* Fix CSS Lint error
* Make sure the legend updates when there is no data and it's not requesting
* Rename 'emptySearch' to 'emptySearchResults'
* Fix tests
2019-02-07 10:57:47 +01:00
Joshua T Flowers
8c3973a445
Add manage_stock to stock controller response ( https://github.com/woocommerce/woocommerce-admin/pull/1475 )
...
* Add manage_stock to stock controller response
* Add manage_stock property to stock report tests
* Add changelog entry
* Make stock quantity float instead of int
* Add manage_stock to the products API response
* Check for manage_stock in products table
* Add manage_stock property to product API tests
2019-02-07 16:29:01 +08:00
Kevin Killingsworth
368c6d729b
@woocommerce/navigation v2.0.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1494 )
...
* @woocommerce/navigation v2.0.0
* Bump `@wordpress/components` to use navigation v2.0.0
2019-02-06 19:26:22 -06:00
Kevin Killingsworth
8b7e309e6f
navigation: Lazy-create history ( https://github.com/woocommerce/woocommerce-admin/pull/1472 )
...
history.createHashHistory() is being called whenever this package is
imported, which causes the URL to redirect to a hash. This is
unnecessary in cases where elements of wc-admin are used outside of a
completely controlled/routed page.
This lazy-creates the history object only when it's needed and therefore
avoids the URL redirection unless history features are in use.
2019-02-06 13:28:29 -06:00
Justin Shreve
81fcab5709
Fix product comparison + color scale on charts with lots of options ( https://github.com/woocommerce/woocommerce-admin/pull/1481 )
...
* Fix color scale on charts with lots of options
* Fix product comparison
2019-02-06 10:46:37 -05:00
Joshua T Flowers
b7379def1b
Format todo comments to match WC Core format ( https://github.com/woocommerce/woocommerce-admin/pull/1474 )
...
* Format todo comments to match WC Core format
* Remove variations todo comment
2019-02-06 14:41:53 +08:00
Justin Shreve
949afce248
Add Product Detail Report & Finish Comparison Chart Mode Functionality ( https://github.com/woocommerce/woocommerce-admin/pull/1391 )
...
Product detail report and comparison
Code cleanup
Fix 404 on product variations endpoint after rebase
Fix up tests
Fix loading indicators and add some checks around malformed variation response
Add date filtering SQL bits to the variations query
Handle PR feedback: Fix viewport, fix duplicate product issue, fix legend display reset, fix bargraph overflow, fix some coding standards/whitespace, add extra variation santiziation.
Fix scroll on wide charts, and fix undefined prop getting passed into report chart render
2019-02-05 13:12:58 -05:00
Albert Juhé Lluveras
df97ac4d49
Improve display of 0-value charts ( https://github.com/woocommerce/woocommerce-admin/pull/1470 )
...
* Improve display of 0-value charts
* Add Changelog comment
2019-02-05 10:56:26 +01:00
Albert Juhé Lluveras
16ea4f60fc
Fix hourly labels in bar charts X-axis ( https://github.com/woocommerce/woocommerce-admin/pull/1468 )
...
* Fix hourly labels in bar charts X-axis
* Add CHANGELOG comment
* Remove unnecessary date object call
2019-02-04 22:15:06 +01:00
Albert Juhé Lluveras
7916100009
Fix CSS Lint warning ( https://github.com/woocommerce/woocommerce-admin/pull/1469 )
2019-02-04 18:32:27 +01:00
Albert Juhé Lluveras
6d8634a753
Add 'Clear' button to Search input ( https://github.com/woocommerce/woocommerce-admin/pull/1410 )
...
* Move labels loading logic into a lib
* Move lib/labels into lib/async-requests
* Implement tabular data filtering
* Allow searching for string in report tables
* Add table filtering to customers table
* Get ids from searched string to populate the table
* Fix autocompleter keyboard interactions
* Improve props naming
* Cleanup report customers data store
* Prevent an edge case issue that might not update the selectedOptions when directily modifying the URL
* Add 'Clear' button to Search input
* Cleanup
2019-02-01 11:49:46 +01:00
Albert Juhé Lluveras
d8ed3b6614
Implement tabular data filtering ( https://github.com/woocommerce/woocommerce-admin/pull/1381 )
...
* Move labels loading logic into a lib
* Move lib/labels into lib/async-requests
* Implement tabular data filtering
* Allow searching for string in report tables
* Add table filtering to customers table
* Get ids from searched string to populate the table
* Fix autocompleter keyboard interactions
* Improve props naming
* Cleanup report customers data store
* Prevent an edge case issue that might not update the selectedOptions when directily modifying the URL
* Fix wrong selected autocompleter option
* Add missing translation domain
* Move searchItemsByString to wc-api/items/utils.js
* Avoid autocompleter results appearing when there was no search string
* Alphabetically order 'allowFreeTextSearch' prop
* Reset selected table rows when directly modifying the URL
* Simplify props destructuring
* Undo customers data store change
* Simplify isProductDetailsView expression
* Improve order
* Filter tax code parts before modifying them
2019-02-01 10:55:19 +01:00
Albert Juhé Lluveras
1069034ca2
Trim search box input ( https://github.com/woocommerce/woocommerce-admin/pull/1439 )
...
* Trim search box input
* Add tests
2019-02-01 10:43:56 +01:00
Kelly Dwan
ca34ad0274
Bump version ( https://github.com/woocommerce/woocommerce-admin/pull/1442 )
2019-01-31 17:47:50 -05:00
renovate[bot]
85a46252df
Update dependency core-js to v2.6.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1375 )
2019-01-30 15:59:19 -05:00
renovate[bot]
f128716d28
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/1373 )
2019-01-30 15:46:29 -05:00
Timmy Crawford
88ea613627
Build: Updates from latest npm publish ( https://github.com/woocommerce/woocommerce-admin/pull/1409 )
...
* remove unreleased tags from changelogs
* chore(release): publish
- @woocommerce/components@1.4.1
- @woocommerce/csv-export@1.0.3
- @woocommerce/currency@1.1.0
- @woocommerce/date@1.0.6
- @woocommerce/navigation@1.1.1
- @woocommerce/number@1.0.1
2019-01-29 15:37:25 -08:00
Kelly Dwan
dfd15f959a
Components package: Add emoji-flags dependency ( https://github.com/woocommerce/woocommerce-admin/pull/1411 )
...
* Add emoji-flags to the components package.json
* Update the changelog
2019-01-29 16:19:00 -05:00
Timmy Crawford
e136036ef9
Build: Create new number package ( https://github.com/woocommerce/woocommerce-admin/pull/1399 )
...
* Create new number package
* Updates per feedback.
* Update README.
2019-01-28 15:34:56 -08:00
Timmy Crawford
40602efd89
Components; Fix SummaryNumber example ( https://github.com/woocommerce/woocommerce-admin/pull/1392 )
2019-01-25 09:17:09 -08:00
Paul Sealock
050438a11c
Add emoji flags
2019-01-25 13:17:08 +13:00
Joshua T Flowers
23f807c0a4
Add regex expression option to autocompleters ( https://github.com/woocommerce/woocommerce-admin/pull/1380 )
2019-01-24 09:35:47 +08:00
Paul Sealock
48f6777ea3
side margins
2019-01-22 13:24:01 +13:00
Paul Sealock
258c298e91
400
2019-01-22 13:11:06 +13:00
Paul Sealock
0e01c98851
Reports: Reduce Margins on Small Viewports
2019-01-22 12:29:32 +13:00
Paul Sealock
c7b705fb08
SummaryNumbers: close on click for mobile
2019-01-22 11:31:37 +13:00
Paul Sealock
d09c68660b
Merge pull request woocommerce/woocommerce-admin#1328 from woocommerce/fix/Filters-only-complete-ranges
...
Advanced Filters: Ranges: Allow update only on complete selection
2019-01-22 11:21:10 +13:00
Albert Juhé Lluveras
834901bc84
Fill full plot area in bar charts ( https://github.com/woocommerce/woocommerce-admin/pull/1365 )
...
* Fill full plot area in bar charts
* Refactor chart scales tests
2019-01-21 20:58:38 +01:00
Albert Juhé Lluveras
f2ac9f2bb2
Center points in single-date charts ( https://github.com/woocommerce/woocommerce-admin/pull/1360 )
...
* Center single point charts
* Don't render lines if there is only one date
* Remove xOffset from 'params'
* Improve variable naming
2019-01-21 20:30:21 +01:00
Albert Juhé Lluveras
37d6fa0b60
CSS Lint fixes ( https://github.com/woocommerce/woocommerce-admin/pull/1367 )
2019-01-21 19:09:16 +01:00
Joshua T Flowers
3ac97e00c4
Add single category filter to products report ( https://github.com/woocommerce/woocommerce-admin/pull/1350 )
...
* Add namespace v4 for WC product/categories endpoint
* Update categories wc-api to use v4 namespace constant
* Add single product category filter to product categories report
* Add link to filtered product report from category report
* Use persistedQuery for category links
* Check if category is defined before displaying category link
* Remove selectedTags when filter does not match queried filter
2019-01-22 01:12:00 +08:00
Paul Sealock
7856a58b49
Advanced Filters: Ranges: Allow update only on complete selection
2019-01-21 09:54:31 +13:00
Albert Juhé Lluveras
c9df5861a8
Remove leading zero from chart dates ( https://github.com/woocommerce/woocommerce-admin/pull/1353 )
2019-01-19 12:38:17 +01:00
Justin Shreve
bd54541ca0
Handle PR feedback
2019-01-18 08:52:10 -05:00
Justin Shreve
01b96ebea5
Hook up performance indicators to the REST API
2019-01-18 08:19:19 -05:00
Joshua T Flowers
25e7192ecb
Move search icon inside input wrapper ( https://github.com/woocommerce/woocommerce-admin/pull/1351 )
2019-01-18 18:51:47 +08:00
Joshua T Flowers
e0853b5408
Add country code as keyword for countries search ( https://github.com/woocommerce/woocommerce-admin/pull/1337 )
...
* Add country name to tooltip and screen reader text
* Add country code to autocompleter keywords
2019-01-18 11:13:07 +08:00
Joshua T Flowers
6b29ec01a7
Add autocompleter input type and fix load options ( https://github.com/woocommerce/woocommerce-admin/pull/1334 )
...
* Allow inputType option for autocompleters
* Return early if optionsData is undefined in loadOptions
* Remove number spinners for autocomplete number inputs
2019-01-18 10:53:38 +08:00
Joshua T Flowers
7cdbbf87e8
Update all wc-admin endpoints to v4 ( https://github.com/woocommerce/woocommerce-admin/pull/1298 )
...
* Update all wc-admin endpoints to v4
* Add namespace for products and customers controllers
* Include product quantity in orders data store
* Add coupons to extended data in the orders data store
* Format order statuses response from database
* Hook up orders table to orders endpoint
* Add namespace to data endpoint controller
* Add namespaces to remaining extended controllers
* Use NAMESPACE var in place of wc/v4
* Update product links in orders table to products reports
* Add coupons rest controller override
* Format coupon code in response
Co-Authored-By: joshuatf <joshuatf@gmail.com>
2019-01-18 10:52:58 +08:00
Jeff Stieler
4407e05bc4
Merge pull request woocommerce/woocommerce-admin#1342 from woocommerce/fix/1090-currency-settings-formatting
...
Honor WooCommerce Settings When Formatting Currency/Price
2019-01-17 17:06:13 -07:00
Jeff Stieler
ec2efaf560
Update affected package CHANGELOGs.
2019-01-17 16:38:43 -07:00
Jeff Stieler
560606df17
Update comment about formatCurrency() currency symbol parameter fallback logic.
2019-01-17 16:30:27 -07:00
Paul Sealock
836cccafb8
Merge pull request woocommerce/woocommerce-admin#1327 from woocommerce/fix/filter-width-wide-screens
...
Filters: make 1/4 width for wiiiiiiide screens
2019-01-18 07:01:17 +13:00
Paul Sealock
3ba676ac57
Merge pull request woocommerce/woocommerce-admin#1305 from woocommerce/fix/date-query-formats
...
Advanced Filters: append time stamp to dates for API query
2019-01-18 07:00:40 +13:00
Timmy Crawford
508c48042c
chore(release): publish ( https://github.com/woocommerce/woocommerce-admin/pull/1326 )
...
- @woocommerce/components@1.4.0
- @woocommerce/csv-export@1.0.2
- @woocommerce/date@1.0.5
2019-01-17 09:11:49 -08:00
Jeff Stieler
7a0243e6d7
Use store currency settings to initialize D3 format.
2019-01-17 10:08:15 -07:00
Albert Juhé Lluveras
0cda85b997
Add missing thousands separator in charts Y-axis ( https://github.com/woocommerce/woocommerce-admin/pull/1312 )
2019-01-17 10:18:28 +01:00
Jeff Stieler
6ed8ea117a
Refactor formatCurrency() to use store settings for formatting rather than store locale.
2019-01-17 00:04:57 -07:00
Paul Sealock
41c30c7506
Filters: make 1/4 width for wiiiiiiide screens
2019-01-17 12:21:45 +13:00
Paul Sealock
4cd803466a
updateFilter
2019-01-17 08:57:41 +13:00
Timmy Crawford
d45f31c389
Update packages docs ( https://github.com/woocommerce/woocommerce-admin/pull/1324 )
2019-01-16 08:39:37 -08:00
renovate[bot]
78cfaec287
Update dependency core-js to v2.6.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1314 )
2019-01-16 12:57:08 +01:00
Albert Juhé Lluveras
de4309d61e
Remove `barfocus` elements from charts ( https://github.com/woocommerce/woocommerce-admin/pull/1311 )
...
* Remove barfocus elements from charts
* Render background color behind bars
* Rename barmouse to barfocus
2019-01-15 19:40:02 +01:00
Joshua T Flowers
4b3df7732b
Add showMenu prop to TableCard to hide ellipsis menu ( https://github.com/woocommerce/woocommerce-admin/pull/1296 )
...
* Add showMenu prop to TableCard to hide ellipsis menu
* Fix proptype description
2019-01-15 10:13:15 +08:00
Paul Sealock
01cf0eba2f
specify before on construct
2019-01-15 15:01:38 +13:00
Paul Sealock
66b76f5b8f
replaceFilter
2019-01-15 13:47:07 +13:00
Paul Sealock
7556b45eab
Advanced Filters: Dates, fix query formats
2019-01-15 13:02:24 +13:00
Paul Sealock
1fa45e4364
Merge pull request woocommerce/woocommerce-admin#1146 from woocommerce/add/date-filter-calendar
...
Advanced Filters: Add DatePicker
2019-01-15 09:43:10 +13:00
Justin Shreve
a3ccfd300e
Fix date formatting in safari by switching to moment ( https://github.com/woocommerce/woocommerce-admin/pull/1290 )
2019-01-14 11:29:46 -05:00
Albert Juhé Lluveras
f009506a45
Makes table dates accessible ( https://github.com/woocommerce/woocommerce-admin/pull/1274 )
...
* Create 'Date' component to render accessible dates
* Add tests
2019-01-14 10:54:44 +01:00
Paul Sealock
7525e2347a
Add calendar to date advanced filter
2019-01-14 13:22:39 +13:00
Albert Juhé Lluveras
328a49127a
Remove decimals from Y-axis ( https://github.com/woocommerce/woocommerce-admin/pull/1288 )
...
* Remove decimals from Y-axis
* Add CHANGELOG message
2019-01-11 19:18:31 +01:00
Albert Juhé Lluveras
ad457cc123
Avoid duplicated Y-axis values ( https://github.com/woocommerce/woocommerce-admin/pull/1289 )
...
* Avoid duplicated yGrids
* Add tests
* Rename 'roundedValue' to 'value' to better reflect its contents
* Add CHANGELOG message
2019-01-11 19:16:29 +01:00
Timmy Crawford
7d89799194
Remove hour from default clause in getAllowedIntervalsForQuery when period is empty ( https://github.com/woocommerce/woocommerce-admin/pull/1279 )
2019-01-11 07:51:24 -08:00
Albert Juhé Lluveras
9d1edd6a56
Make d3chart component stateless ( https://github.com/woocommerce/woocommerce-admin/pull/1273 )
...
* Make d3chart component stateless
* Move back 'drawChart' to d3chart/chart.js
* Add getColor method changelog comment
* Reorder chart constructor methods binding
2019-01-11 12:24:10 +01:00
Jeff Stieler
c565b9cb40
Numeric filter: generate a true array value for “between” rule instead of a comma-delimited string.
2019-01-09 14:23:49 -07:00
Joshua T Flowers
80fe765657
Use a date instead of hour for single dates in report tables ( https://github.com/woocommerce/woocommerce-admin/pull/1208 )
...
* Use a date instead of hour for single dates in report tables
* Add hour to allowed list when day difference is less than 1
* Prioritize hour format over day and set day as default for tables
* Add default intervals for report tables
* Use explicit date format in report tables
* Add constant for default table format
* Restore allowed intervals for >1 && <7 days
2019-01-09 08:24:49 +08:00
Joshua T Flowers
bdb9525afe
Add dashboard chart interval preferences ( https://github.com/woocommerce/woocommerce-admin/pull/1230 )
...
* Add user interval preferences for dashboard charts
* Add interval selector styling
2019-01-09 08:12:39 +08:00
Jeff Stieler
d2ca354bd5
Merge pull request woocommerce/woocommerce-admin#1099 from woocommerce/fix/advanced-filters-legend-text
...
Rework advanced filters screen reader text generation
2019-01-08 08:45:13 -07:00
Albert Juhé Lluveras
03e17d372b
Add new props to chart component ( https://github.com/woocommerce/woocommerce-admin/pull/1247 )
...
* Add different props to chart component that were inferred from 'mode'
* Add new chart props to packages CHANGELOG
2019-01-08 10:21:47 +01:00
Joshua T Flowers
82200895dd
Defer chart drawing until chart component has rendered ( https://github.com/woocommerce/woocommerce-admin/pull/1244 )
2019-01-08 10:10:29 +08:00
Albert Juhé Lluveras
6ca0c628b2
Connect Downloads report to REST API ( https://github.com/woocommerce/woocommerce-admin/pull/1238 )
...
* Connect downloads chart and table to REST API
* Display date picker in Downloads report
* Fix missing value for 'days' in Downloads table summary
* Fix download_count being a string instead of a number
* Minor date packages comment fixes
* Fix filters in Downloads report
* Add back empty line
* JSDoc comments style fixes
* Fix username filter not working
* Fix days counter off by 1
* Fix alignment issue
2019-01-07 12:54:42 +01:00