Commit Graph

354 Commits

Author SHA1 Message Date
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
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 9f7497fa12 Dashboard: add section toggle 2019-05-03 09:26:55 +12: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
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
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