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
20fd6abf4c
Update babel monorepo to v7.4.4
2019-05-01 00:39:50 +00:00
Ron Rennick
c48fc40b11
add defaultOrder field to tablecard header
2019-04-30 15:11:30 -03: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
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
Paul Sealock
f739ba57c7
Components: fix README url
2019-04-30 07:55:32 +12: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
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]
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
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
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
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
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
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
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
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
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
Ron Rennick
fc356b86b2
add filter length condition to enable filter check
2019-04-02 15:55:17 -03:00
renovate[bot]
57faf7ad47
Update dependency history to v4.9.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1923 )
2019-03-27 09:46:33 +01:00
renovate[bot]
702156b6de
Update dependency @babel/runtime-corejs2 to v7.4.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1922 )
2019-03-27 09:40:55 +01:00
Jeff Stieler
164a55b0d2
Allow strings in downloads report order number filter.
2019-03-26 16:04:36 -06:00
Albert Juhé Lluveras
6862d05e2f
Update packages with vulnerabilities ( https://github.com/woocommerce/woocommerce-admin/pull/1913 )
...
* Update packages with vulnerabilities
* Fix tests
* Replace require.requireActual with jest.requireActual
2019-03-26 12:31:57 +01:00
Joshua T Flowers
3dc75aff32
Hide chart name on smaller viewports and move interval select ( https://github.com/woocommerce/woocommerce-admin/pull/1910 )
...
* Hide table name on smaller viewports and move interval select
* Only hide chart titles adjacent to summaries
* Make interval selector full width when not adjacent to summary numbers
2019-03-26 18:14:32 +08:00
Paul Sealock
56a60d17dd
Merge pull request woocommerce/woocommerce-admin#1864 from woocommerce/fix/remove-last-advanced-filter
...
Clear advanced filters when last one is removed
2019-03-22 07:29:18 +13:00
Albert Juhé Lluveras
9038bdfdae
Table: update columns visibility on headers change ( https://github.com/woocommerce/woocommerce-admin/pull/1846 )
...
* Typos
* Table: update columns visibility on headers change
* Make sure initial user pref columns are loaded in all reports
* Return early filterShownHeaders when hiddenKeys is an empty array
* Undo 'headers', 'prevHeaders' order switch
2019-03-21 11:35:00 +01:00
Paul Sealock
3474a26cb5
Clear advanced filters when last one is removed
2019-03-21 12:25:07 +13:00
renovate[bot]
8e5b75dd08
Update babel monorepo to v7.4.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1853 )
2019-03-20 12:51:21 -04:00
Joshua T Flowers
2ae142926f
Fix date picker tab styling across gutenberg versions ( https://github.com/woocommerce/woocommerce-admin/pull/1822 )
2019-03-19 09:38:38 +08:00
Albert Juhé Lluveras
3a341c355f
Fix missing date picker calendar in RTL locales ( https://github.com/woocommerce/woocommerce-admin/pull/1810 )
...
* Fix missing date picker calendar in RTL locales
* Create an function instead of using 'window.isRtl' to detect if it's a RTL locale
2019-03-18 16:28:25 +01:00
Albert Juhé Lluveras
3d0848bcd6
Show chart hover circles in the correct order ( https://github.com/woocommerce/woocommerce-admin/pull/1816 )
...
* Show chart hover circles in the correct order
* Fix tests
* Reverse keys inside getDateSpaces
2019-03-18 11:07:54 +01:00
Albert Juhé Lluveras
884c56700a
Fix date range dropdown for RTL locales ( https://github.com/woocommerce/woocommerce-admin/pull/1803 )
...
* Fix date range dropdown for RTL locales
* Exclude calendar input error CSS to be rewritten to RTL
2019-03-18 10:47:41 +01:00
Joshua T Flowers
d416f78e9f
Update/variations search method ( https://github.com/woocommerce/woocommerce-admin/pull/1792 )
...
* Add product search option REST API
* Remove product_name search in favor of sku and name searching
* Search by product search term instead of generic search in autocompleter
* Add product search option REST API
* Override existing search param instead of new param
* Remove product_name search in favor of sku and name searching
* Add product search param to variations controller
* Add group by to prevent duplicate variations in response
* Use product_search in variation autocompleter
* Trim whitespace in product_search query
* Change variation search placeholder
* Override search param instead of using new product_search param
* Add baseSearchQuery to prevent losing single_product filter in variations report
* Unset s param instead of setting to false
2019-03-18 12:23:08 +08:00
Joshua T Flowers
7653859509
Update product searching to search by name or sku ( https://github.com/woocommerce/woocommerce-admin/pull/1791 )
...
* Add product search option REST API
* Remove join and where filters for wp_query after rest response
* Remove product_name search in favor of sku and name searching
* Allow searching for products to compare by product sku
* Search by product search term instead of generic search in autocompleter
* Trim whitespace on product_search query
* Override existing search param instead of new param
* Use double quotes to avoid escaping search query
* Unset s param instead of setting to false
2019-03-18 11:31:02 +08:00
Joshua T Flowers
2187f0e1bc
Add onChange event to search focus to restore search results ( https://github.com/woocommerce/woocommerce-admin/pull/1807 )
2019-03-18 10:40:25 +08:00
Joshua T Flowers
df5f001140
Update compare button help text ( https://github.com/woocommerce/woocommerce-admin/pull/1796 )
2019-03-15 09:00:48 +08:00
Albert Juhé Lluveras
1eb5d51f9c
RTL charts ( https://github.com/woocommerce/woocommerce-admin/pull/1794 )
...
* Fix wrong tooltip position on RTL languages Dashboard
* Render chart Y axis on the right for RTL languages
2019-03-14 11:57:43 +01:00
Albert Juhé Lluveras
c1b6c3d8ce
Load RTL CSS files ( https://github.com/woocommerce/woocommerce-admin/pull/1781 )
...
* Load RTL CSS files
* Remove RTL specific CSS rules
* Generate RTL files of app style
* Simplify require route
2019-03-14 11:18:54 +01:00
Jeff Stieler
bfe5a75e98
Update text domain. ( https://github.com/woocommerce/woocommerce-admin/pull/1795 )
...
* Translation call text domain change from “wc-admin” to “woocommerce-admin”.
* Fix .pot file generation.
* Fix errantly closed array item in /revenue/stats controller.
* Rename plugin zip, main file, and repo name to "woocommerce-admin".
2019-03-13 11:14:02 -06:00
Albert Juhé Lluveras
1bbf79c105
Avoid useless Chart re-renders and clean-up component state ( https://github.com/woocommerce/woocommerce-admin/pull/1780 )
...
* Improve Chart rendering performance
* Avoid reassigning yFormat prop in Chart
* Update focused keys on legend toggle
* Use selectionLimit constant instead of a hardcoded value
* Minor improvements
2019-03-13 11:38:43 +01:00
Jeff Stieler
ec9ea43c9b
Merge pull request woocommerce/woocommerce-admin#1778 from woocommerce/fix/1651-rest-api-datetime-offset
...
Remove timezone from appendTimestamp() output.
2019-03-12 07:35:13 -06:00
Paul Sealock
fd019c4c35
Chart: don't switch to comparison mode directly
2019-03-12 12:03:58 +13:00
Jeff Stieler
64ccc0b0b2
Remove timezone from appendTimestamp() output.
2019-03-11 16:48:25 -06:00
renovate[bot]
07d92d1e76
Update dependency prop-types to v15.7.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1747 )
2019-03-08 12:18:25 -05:00
Albert Juhé Lluveras
a7e3cf78a0
Show compared keys in chart legends even if their values are 0 ( https://github.com/woocommerce/woocommerce-admin/pull/1754 )
...
* Show compared keys in chart legends
* Fix JS error if filters is missing
* Add docs
2019-03-06 21:12:28 +01:00
Jeff Stieler
b92ef54610
Merge pull request woocommerce/woocommerce-admin#1740 from woocommerce/fix/1609-chart-interval-highlight
...
Add button focus style to report chart interval selection.
2019-03-06 07:56:28 -07:00
Joshua T Flowers
3d15392ecd
Update CSV filenames and remove item IDs ( https://github.com/woocommerce/woocommerce-admin/pull/1738 )
...
* Separate params by underscores
* Replace spaces and underscores in params with hyphens
* Delete extended info from filename
* Delete found search IDs when search query exists
* Adjust tests to fix new filename format
* Clone params instead of modifying query
* Decode params and only allow alphanumeric characters
2019-03-06 13:16:38 +08:00
Paul Sealock
a558bfc5d9
Merge pull request woocommerce/woocommerce-admin#1702 from ratnakardubey/fix/1650-status-indicator-on-hold-gets-squished
...
Retain size of order status indicator in smaller screen
2019-03-06 12:47:18 +13:00
Jeff Stieler
f1fe300953
Add button focus style to report chart interval selection.
2019-03-05 12:10:26 -07:00
Albert Juhé Lluveras
5d3aa58a5d
Use IDs instead of labels to identify chart legend items ( https://github.com/woocommerce/woocommerce-admin/pull/1730 )
...
* Use instanceId to generate unique ids for chart legend items
* Decouple item key and label in Chart components
* Remove more duplicate IDs in the chart legend
* Use double underscores in element IDs following BEM rules
* Move 'withInstanceId' inside D3Legend component
* Simplify screen reader labels logic
* Add CHANGELOG message
* Use 'primary' and 'secondary' as items keys in time-comparison charts
2019-03-05 19:27:20 +01:00
Albert Juhé Lluveras
3de2bd1953
Update table columns visibility on finish loading ( https://github.com/woocommerce/woocommerce-admin/pull/1729 )
2019-03-05 18:26:29 +01:00
Albert Juhé Lluveras
584f0f26f0
Update chart colors to match spec ( https://github.com/woocommerce/woocommerce-admin/pull/1731 )
...
* Update chart color scale to match woocommerce/woocommerce-admin#375
* Avoid useless calls to 'getColor'
2019-03-05 10:44:29 +01:00
Paul Sealock
9cf8e564ff
Date picker: fix tab CSS
2019-03-01 16:29:31 +13:00
Tiago Noronha
36a9e78ea9
Merge pull request woocommerce/woocommerce-admin#1519 from woocommerce/fix/1352-backspace-remove-item
...
Remove items from search input with backspace key
2019-02-28 12:04:18 +00:00
Albert Juhé Lluveras
ba2fb3c22b
Make EmptyContent component fit narrow viewports ( https://github.com/woocommerce/woocommerce-admin/pull/1703 )
2019-02-28 09:42:11 +01:00
renovate[bot]
89138520e1
Update babel monorepo to v7.3.4 ( https://github.com/woocommerce/woocommerce-admin/pull/1700 )
2019-02-27 14:42:32 -05:00
Albert Juhé Lluveras
4e4f04b8d8
Display chart and summary numbers placeholder when loading search terms ( https://github.com/woocommerce/woocommerce-admin/pull/1694 )
2019-02-27 15:43:34 +01:00
Joshua T Flowers
241be1f547
Add product name filtering ( https://github.com/woocommerce/woocommerce-admin/pull/1670 )
...
* Add post_title__like param to wp query
* Add product_name filter option to products rest controller
* Change autocomplete search to use product_name param
* Change add_wp_query_post_title_filter to static method
* Only add wp_query filter in the products rest controller
2019-02-27 16:49:21 +08:00
Ratnakar Dubey
c95ce1b9bd
Status Indicator: On Hold Gets Squished and Looks Like an egg
2019-02-27 11:11:00 +05:30
Albert Juhé Lluveras
53bac8700e
Screen readers: read date instead of data keys in 'time-comparison' bar charts ( https://github.com/woocommerce/woocommerce-admin/pull/1586 )
...
* Screen readers: read date instead of data keys in 'time-comparison' bar charts
* Make previous period labels more verbose
* Revert "Make previous period labels more verbose"
This reverts commit 34d13deaa982425ca2cba76dacfd2c89c96f06c0.
* Improve isSameDay check
* Add date to hour tooltip and improve screen reader label
* Add CHANGELOG message
2019-02-26 11:56:49 +01:00
Albert Juhé Lluveras
b18819489b
Don't store searchWords in the query prop ( https://github.com/woocommerce/woocommerce-admin/pull/1689 )
2019-02-26 11:06:37 +01:00
Joshua T Flowers
13b72f2fde
Add tax code filter to tax REST API ( https://github.com/woocommerce/woocommerce-admin/pull/1671 )
...
* Add in hook to rest tax controller modify tax items query
* Modify query string for getting tax code items
* Add code to collection params to allow searching
* Change filter to use entire tax code without null values
* Hook up tax code filter to autocomplete search
* Overwrite get_items instead of using hooks for code filtering
2019-02-26 14:19:38 +08:00
Kelly Dwan
631ab5b609
Version bump ( https://github.com/woocommerce/woocommerce-admin/pull/1663 )
2019-02-25 11:44:11 -08:00
Albert Juhé Lluveras
365d493079
Table: reset search on compare and reset comparison on search ( https://github.com/woocommerce/woocommerce-admin/pull/1679 )
2019-02-25 20:40:30 +01:00
Albert Juhé Lluveras
4a19d27ec1
Add 'isCheckbox' prop to 'MenuItem' ( https://github.com/woocommerce/woocommerce-admin/pull/1620 )
...
* Make column filter menu items not focusable
* Check if onInvoke exists before calling it
* Revert "Check if onInvoke exists before calling it"
This reverts commit e3b63edd51395c0f967991e2d20fccf867e37b91.
* Revert "Make column filter menu items not focusable"
This reverts commit 3e0ac949fa057a0c235876731768b6f312ced998.
* Add isCheckbox prop to MenuItem component
* Fix arrow keys navigation in checkbox menu items
* Table: don't update showCols state when the headers prop changes
2019-02-25 20:25:19 +01:00
Justin Shreve
4347e1a9e0
Fix CSS linter errors ( https://github.com/woocommerce/woocommerce-admin/pull/1673 )
2019-02-22 07:34:04 -05:00
renovate[bot]
3de37c9e9e
Update dependency core-js to v2.6.5 ( https://github.com/woocommerce/woocommerce-admin/pull/1538 )
2019-02-22 07:32:30 -05:00
Joshua T Flowers
88c2973e2a
Fix null values in CSV columns export ( https://github.com/woocommerce/woocommerce-admin/pull/1652 )
...
* Fix null values in CSV columns export
* Check if value is null or undefined to avoid falsey for 0 values
* Add null value to CSV tests
* Improve changelog message
2019-02-22 10:02:38 +08:00
Tiago Noronha
84ba0709c1
Ensure state is updated only if new ids exist
2019-02-21 21:16:10 +00:00
Kelly Dwan
4ccc7ddaea
Update changelog ( https://github.com/woocommerce/woocommerce-admin/pull/1661 )
2019-02-21 11:47:28 -05:00
Tiago Noronha
f28e74daf9
Merge branch 'master' of github.com:woocommerce/wc-admin into fix/1352-backspace-remove-item
2019-02-21 15:50:21 +00:00
Kelly Dwan
b98c05c331
Components: Add SearchListControl ( https://github.com/woocommerce/woocommerce-admin/pull/1628 )
...
* Add SearchListControl as exported component
* Add entry to changelog (and fix versioning)
* Fix repeating character mixin
* Update textdomain
2019-02-20 15:18:27 -05:00
Albert Juhé Lluveras
00ff9fa8b5
Fix table search position in small viewports ( https://github.com/woocommerce/woocommerce-admin/pull/1646 )
2019-02-20 20:44:12 +01:00
Albert Juhé Lluveras
1488a55b7c
Preserve chart colors when changing visible keys in charts with less keys than 'selectionLimit' ( https://github.com/woocommerce/woocommerce-admin/pull/1606 )
...
* Preserve chart colors when changing visible keys in 'time-comparison' charts
* Actually preserve colors in charts that don't have more keys than selectionLimit
2019-02-20 16:53:37 +01:00
Albert Juhé Lluveras
1660484d4c
Escape commas in search terms ( https://github.com/woocommerce/woocommerce-admin/pull/1605 )
2019-02-20 10:21:05 +01:00
Albert Juhé Lluveras
5e4f14a81d
Fix style of dashboard summary number placeholder ( https://github.com/woocommerce/woocommerce-admin/pull/1623 )
...
* Fix style of dashboard summary number placeholder
* Make store performance block to be a normal <div> instead of a Card
* Fix dashboard summary numbers style
* Simplify code
2019-02-20 10:20:50 +01:00
Joshua T Flowers
0ef2dc27f4
Fix long search tags ( https://github.com/woocommerce/woocommerce-admin/pull/1597 )
...
* Fix long search tags
* Remove spaces from css calc expression
Co-Authored-By: joshuatf <joshuatf@gmail.com>
* Fix overflowing autocomplete search
2019-02-20 09:40:21 +08:00
Justin Shreve
4f64358c8e
Fix customer filters and download user filtering ( https://github.com/woocommerce/woocommerce-admin/pull/1618 )
...
* Add the ability to search name, username, and email fields on the customer endpoint, update autocompletors, add in include parameter.
* Update the username to be returned in the download response, update download filtering based on customer id, and only rename include parameter on main customers endpoint.
2019-02-19 14:35:29 -05:00
Joshua T Flowers
694130d455
Change fixed legend button height to min-height ( https://github.com/woocommerce/woocommerce-admin/pull/1602 )
2019-02-19 10:29:58 +08:00
Joshua T Flowers
ffa7e016d4
Fix double focus on autocomplete search list after options are loaded ( https://github.com/woocommerce/woocommerce-admin/pull/1582 )
...
* Add isFocused to state to determine whether options list should be rendered
* Use state query instead of adding isFocused
* Remove search tag styling
2019-02-19 10:28:40 +08:00
Ron Rennick
00b640e2f0
Merge pull request woocommerce/woocommerce-admin#1567 from woocommerce/fix/1450
...
update chart type query string key to chartType
2019-02-15 12:58:22 -04:00
Ron Rennick
9f911df053
update changelog, coding style per review
2019-02-15 10:37:56 -04:00
Tiago Noronha
69cdb7996c
Merge pull request woocommerce/woocommerce-admin#1569 from woocommerce/fix/1568-filters-button-styling
...
Add margin to advanced filters Add button
2019-02-15 11:11:11 +00:00
Albert Juhé Lluveras
fe11ff475f
Chart legend: show pointer in all clickable area ( https://github.com/woocommerce/woocommerce-admin/pull/1566 )
2019-02-15 11:55:04 +01:00
Albert Juhé Lluveras
b61dff32f9
Sort tabular data when selecting a Summary Number ( https://github.com/woocommerce/woocommerce-admin/pull/1564 )
...
* Sort tabular data when selecting a Summary Number
* Fix 'orderby' param in orders endpoint
2019-02-15 11:54:41 +01:00
Albert Juhé Lluveras
0cb1aac8b9
Fix logic used to show legend total block ( https://github.com/woocommerce/woocommerce-admin/pull/1559 )
2019-02-15 11:50:41 +01:00
Albert Juhé Lluveras
bce82c7572
Move IE11 specific CSS to ie.scss file ( https://github.com/woocommerce/woocommerce-admin/pull/1558 )
2019-02-15 11:49:51 +01:00
Tiago Noronha
5d3ce289f9
Merge pull request woocommerce/woocommerce-admin#1563 from woocommerce/fix/1402-legend-transition
...
Remove margin between chart legends in column direction
2019-02-14 21:23:39 +00:00
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
Albert Juhé Lluveras
3a90c07e76
Fix date issues introduced in woocommerce/woocommerce-admin#1203 ( https://github.com/woocommerce/woocommerce-admin/pull/1229 )
...
* Revert "Show today charts up to the current hour (https://github.com/woocommerce/woocommerce-admin/pull/1203 )"
This reverts commit 029ff9cc9c
.
* Add current hour to timestamp of queries ending in today
* Fix getCurrentDates not returning moment objects as specified in the docs but returning string dates
* Set appendTimestamp( ..., 'now') seconds to 00
* Add test for appendTimestamp( ..., 'now' )
* Don't accept string dates in 'appendTimestamp'
* Fix 'moment' dependency deprecation warning
2019-01-07 11:41:46 +01:00
Albert Juhé Lluveras
b08e604047
Fix bar chart in narrow viewports ( https://github.com/woocommerce/woocommerce-admin/pull/1226 )
...
* Fix bar chart in narrow viewports
* Make date width depend on the number of columns
* Return early in 'shouldBeCompact' and 'getWidth' functions
* Hide tooltip when scrolling
2019-01-07 11:41:01 +01:00
Albert Juhé Lluveras
b91cfd2cc6
Split `d3chart/utils.js` into several files ( https://github.com/woocommerce/woocommerce-admin/pull/1231 )
...
* Split d3chart/utils.js
* Add format comment to breakpoints.js
2019-01-04 11:21:42 +01:00
Paul Sealock
3cd27ed631
Merge pull request woocommerce/woocommerce-admin#1127 from woocommerce/renovate/major-wordpress-monorepo
...
Update wordpress monorepo (major)
2019-01-04 14:34:30 +13:00
Paul Sealock
d6c5f47ee1
jest update
2019-01-04 14:26:55 +13:00
Paul Sealock
17a21e00db
DateRange: use DayOfWeek from moment locale{
2019-01-04 11:50:05 +13:00
Jeff Stieler
a8e81b709f
Fix type in textContent() test case label.
2019-01-03 13:13:23 -07:00
Jeff Stieler
f2df49ce24
Add tests for textContent().
2019-01-03 13:13:22 -07:00
Jeff Stieler
1935e75f5c
Render descriptive screen reader text for SearchFilter and SelectFilter components.
2019-01-03 13:13:22 -07:00
Jeff Stieler
850a738289
NumberFilter: don’t hide anything from accessibility tree, render descriptive span for screen reader instead of using speak().
2019-01-03 13:13:22 -07:00
Jeff Stieler
7663cb2881
NumberFilter: a11y speak a description of the filter once all inputs are populated.
2019-01-03 13:13:21 -07:00
Jeff Stieler
cbc5bc36fd
NumberFilter: remove dynamic legend text, just use “add” label.
2019-01-03 13:13:21 -07:00
Jeff Stieler
3528957923
NumberFilter: automatically hide non-interpolated strings in title label from accessibility tree.
2019-01-03 13:13:20 -07:00
Jeff Stieler
ed81b35d0a
Rework NumberFilter screen reader text.
...
Only describe full filter if all values are set. Describe each input more precisely. Based on conversation here: https://github.com/woocommerce/wc-admin/pull/1089#discussion_r241843856
2019-01-03 13:13:20 -07:00
Albert Juhé Lluveras
f5e2c8c5f9
Fix chart legend checkboxes not reacting to clicks ( https://github.com/woocommerce/woocommerce-admin/pull/1213 )
2019-01-03 13:00:37 +01:00
Renovate Bot
1e74730baf
Update wordpress monorepo
2019-01-03 10:45:22 +00:00
Albert Juhé Lluveras
4419faea45
Add margin to inline search tags ( https://github.com/woocommerce/woocommerce-admin/pull/1227 )
2019-01-03 09:36:31 +01:00
Joshua T Flowers
06ed650954
Add chart loading spinner while data is being requested ( https://github.com/woocommerce/woocommerce-admin/pull/1212 )
2019-01-03 10:51:21 +08:00
Renovate Bot
7521b3770d
Update wordpress monorepo
2019-01-03 14:03:56 +13:00
Paul Sealock
812cb17bd5
Merge pull request woocommerce/woocommerce-admin#1215 from woocommerce/fix/date-range-focus-endDate
...
DateRange: change focusInput prop on input focus
2019-01-03 10:48:51 +13:00
Paul Sealock
c6b466694c
DateRange: change focusInput prop on input focus
2019-01-02 15:46:40 +13:00
Paul Sealock
1401bc1bd1
Search: make certain styles just for inlineTags
2019-01-02 15:44:53 +13:00
Paul Sealock
49fe2c1f93
CSS lint: fix errors
2019-01-02 12:38:11 +13:00
Albert Juhé Lluveras
da8c49c90f
Update chart interval thresholds ( https://github.com/woocommerce/woocommerce-admin/pull/1214 )
2019-01-01 23:30:28 +01:00
Albert Juhé Lluveras
029ff9cc9c
Show today charts up to the current hour ( https://github.com/woocommerce/woocommerce-admin/pull/1203 )
...
* Show today charts up to the current hour
* Fix tests
* Fix doc comment
2018-12-28 10:10:40 -08:00
Joshua T Flowers
2d5e592a10
Update chart button active state for dashboard charts ( https://github.com/woocommerce/woocommerce-admin/pull/1202 )
...
* Update chart button active state for dashboard charts
* Add default active state when no query is present
2018-12-28 09:59:05 -08:00
Joshua T Flowers
8dc3398636
Extract IE11 specific styles to IE stylesheet ( https://github.com/woocommerce/woocommerce-admin/pull/1199 )
...
* Extract IE11 specific styles to IE stylesheet
* Enqueue IE stylesheet conditionally
* Use server-side http user agent to detect IE11
IE11 and up does not detect conditional comments for stylesheets so match user agent string and conditionally load stylesheet.
2018-12-28 09:58:03 -08:00
Albert Juhé Lluveras
a0f23c93c9
Improve Charts X-axis when displaying a single date ( https://github.com/woocommerce/woocommerce-admin/pull/1195 )
...
* Improve Charts X-axis when displaying a single date
* Add tests for getXTicks
* Fix typo in tests
* Add assertion in compareStrings test for dates with commas
* Update interval options
* Fix secondaryDate always showing 12AM
* Don't convert dates to UTC when checking if they belong to the same date
2018-12-27 19:51:58 +01:00
Albert Juhé Lluveras
7287fa3b22
Allow Search box to break into several lines ( https://github.com/woocommerce/woocommerce-admin/pull/1196 )
2018-12-27 18:53:20 +01:00
Timmy Crawford
1ed9813e3b
Chart: Fix/current of undefined ( https://github.com/woocommerce/woocommerce-admin/pull/1153 )
...
* Add undefined check for this.listRef
* Update changelog
2018-12-26 09:27:24 -08:00
Albert Juhé Lluveras
f51dba44a0
Charts: fix weird Y-axis ticks when max Y value is a small number ( https://github.com/woocommerce/woocommerce-admin/pull/1168 )
2018-12-25 11:16:52 +01:00
Albert Juhé Lluveras
1ca1dba3e7
Add Categories report filters ( https://github.com/woocommerce/woocommerce-admin/pull/1167 )
...
* Add Categories report filters
* Remove the option to sort categories by name, given that it's not supported by the endpoint
2018-12-25 10:28:20 +01:00
Joshua T Flowers
bdcebd7ea3
Clear filter query on removing all items ( https://github.com/woocommerce/woocommerce-admin/pull/1162 )
2018-12-25 11:01:39 +08:00
Albert Juhé Lluveras
5c8cfbc03f
Report components docs ( https://github.com/woocommerce/woocommerce-admin/pull/1140 )
...
* Extend docs to report components
* Improve inline documentation in some files
* Update doc files
* Undo unnecessary doc changes
* Remove unnecessary line breaks in sidebar
* Rename 'Client components' to 'Analytics components'
* Minor docs fixes
* Rename toc contents to toc sections
* Update endpoint props doc to add an example and more information
* Fix outdated comment
* Fix merge error
2018-12-22 12:46:10 +01:00
renovate[bot]
dfc7d8ae1b
Update dependency core-js to v2.6.1 ( https://github.com/woocommerce/woocommerce-admin/pull/1128 )
2018-12-21 20:03:41 -06:00
Justin Shreve
579113910d
Add remaining filters to the downloads report ( https://github.com/woocommerce/woocommerce-admin/pull/1141 )
...
* Add order number, username, and IP address filters to the downloads report.
* Adds tests
2018-12-21 16:40:41 -08:00
Robert Elliott
ebd857cefa
Add/chart dashboard block ( https://github.com/woocommerce/woocommerce-admin/pull/1002 )
...
* added new block and dashboard charts
section title and filters... lots of duplicate keys
toggle chart types in block heading
* Updates per feedback.
* Add some documentaiton about new interactive prop on chart/legend
* Revert a few files that only had whitespace changes.
2018-12-21 16:24:26 -08:00
Joshua T Flowers
56577101c4
Add customer numeric filters ( https://github.com/woocommerce/woocommerce-admin/pull/1116 )
...
* Add customer numeric filters
* Add between params to customers controller
* Escape strings for translation and change inputs to currency
* Add Currency shorthand filter
2018-12-21 12:07:54 +08:00
Paul Sealock
c76ceb2591
DatePicker: cleanup example, propTypes
2018-12-21 15:19:10 +13:00
Paul Sealock
524bb0c96f
DateRangeFilterPicker
2018-12-21 11:58:01 +13:00
Albert Juhé Lluveras
1cb7378f76
Fix Tag misalignment inside Search in Firefox ( https://github.com/woocommerce/woocommerce-admin/pull/1132 )
2018-12-20 10:06:52 +01:00
Albert Juhé Lluveras
776e8d31fe
Merge pull request woocommerce/woocommerce-admin#1085 from woocommerce/add/name-filter-autocompleter
...
Customers report: Name Advanced Filter
2018-12-19 10:39:22 +01:00
Timmy Crawford
eab3592d67
Update npm versions and build script ( https://github.com/woocommerce/woocommerce-admin/pull/1120 )
...
* Use publish from-package.
* chore(release): publish
- @woocommerce/components@1.3.0
- @woocommerce/csv-export@1.0.1
- @woocommerce/date@1.0.3
2018-12-18 17:25:26 -08:00
Jeff Stieler
a96272a5fe
Merge pull request woocommerce/woocommerce-admin#1119 from woocommerce/fix/1115-number-filter-uncontrolled-warning
...
Fix “uncontrolled input” warning in NumberFilter component.
2018-12-18 16:34:39 -07:00
Jeff Stieler
8ee2267209
Update @woocommerce/date package changelog and version number.
2018-12-18 15:46:48 -07:00
Jeff Stieler
7bc46d2c8c
Fix loadLocaleData() tests, remove superfluous moment-js tests.
2018-12-18 15:46:47 -07:00
Jeff Stieler
3285ac4980
Include Date component required settings in app-wide settings object instead of using experimental retrieval from @wordpress/date.
2018-12-18 15:46:46 -07:00
Jeff Stieler
4d37bdc67c
@wordpress/date getSettings() is deprecated, use __experimentalGetSettings() instead.
2018-12-18 15:45:41 -07:00
Jeff Stieler
92c96b834e
Fix “uncontrolled input” warning in NumberFilter component.
2018-12-18 09:01:30 -07:00
Albert Juhé Lluveras
3a1890c22c
Remove unnecessary variable assignment
2018-12-18 15:06:06 +01:00
Albert Juhé Lluveras
c4290f757e
Merge branch 'master' into add/name-filter-autocompleter
2018-12-18 13:52:48 +01:00
Albert Juhé Lluveras
3c876fedf1
Filter missing parts of the name before displaying it
2018-12-18 13:46:24 +01:00
Albert Juhé Lluveras
a836d1a89b
Add customer username filter to Customers page
2018-12-18 12:11:45 +01:00
Justin Shreve
e42ad6956b
Add customer email filter ( https://github.com/woocommerce/woocommerce-admin/pull/1092 )
...
* Add customer email filter
* Handle PR feedback: Fix up if statement and add extra info to validation comment
2018-12-17 11:20:11 -05:00
Albert Juhé Lluveras
c341137a1b
Store shouldRenderTags in a variable
2018-12-17 12:21:17 +01:00
Albert Juhé Lluveras
d8bf42fc4d
Typo
2018-12-17 12:20:23 +01:00