Commit Graph

2183 Commits

Author SHA1 Message Date
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