Commit Graph

2664 Commits

Author SHA1 Message Date
Joshua T Flowers 929f42e22d Add WC support check for child themes (https://github.com/woocommerce/woocommerce-admin/pull/2628)
* Add WC support check for child themes

* Fix installed themes loop double call
2019-07-11 16:39:32 +08:00
Joshua T Flowers e59aca7da3 Fix margin between theme price and buttons (https://github.com/woocommerce/woocommerce-admin/pull/2629) 2019-07-11 08:44:42 +08:00
Joshua T Flowers 1a3e9f2f1d Fix checkbox group label color (https://github.com/woocommerce/woocommerce-admin/pull/2630) 2019-07-11 08:44:23 +08:00
Timmy Crawford 6ebd83927a Onboarding: Change margins on industry intro paragraph. (https://github.com/woocommerce/woocommerce-admin/pull/2621) 2019-07-10 16:19:32 -07:00
Jeff Stieler 6fafac4f97 Merge pull request woocommerce/woocommerce-admin#2618 from woocommerce/update/localization-docs
Add instructions for translating to contributing docs.
2019-07-10 15:31:06 -06:00
Timmy Crawford f4735658d7 Revert "Update to new Snackbar component and notice store (https://github.com/woocommerce/woocommerce-admin/pull/2596)"
This reverts commit 980ff6fa71.
2019-07-10 09:58:51 -07:00
Jeff Stieler 7a7283dffa Send a tracks event when the report table filter search is used. 2019-07-10 08:37:02 -06:00
Ron Rennick 57e97b5fb0 Merge pull request woocommerce/woocommerce-admin#2619 from woocommerce/fix/example-readme-format
show example extension list as list in readme
2019-07-10 08:31:30 -03:00
Joshua T Flowers 3dfdcdee67 Add list component to packages. (https://github.com/woocommerce/woocommerce-admin/pull/2616)
* Add list component

* Add list example to devdocs

* Add component changelog entry
2019-07-10 10:25:25 +08:00
Jeff Stieler ce731b958a Send tracks event when advanced filter match type is changed. 2019-07-09 16:45:31 -06:00
Jeff Stieler a13487265c Send tracks event when table sorting is changed. 2019-07-09 14:38:53 -06:00
Jeff Stieler f7c48e6738 Send tracks event when report table columns are toggled. 2019-07-09 13:55:51 -06:00
Jeff Stieler 849d556770 Send tracks event for breadcrumb link clicks. 2019-07-09 13:10:49 -06:00
Ron Rennick 4c9e772e20 show example extension list as list in readme 2019-07-09 14:30:04 -03:00
Jeff Stieler 8351c320af Add instructions for translating to contributing docs. 2019-07-09 10:12:34 -06:00
Ron Rennick c31d5eeace Merge pull request woocommerce/woocommerce-admin#2612 from woocommerce/fix/2427
exclude old WC auto-draft orders from import
2019-07-09 13:05:36 -03:00
Ron Rennick b41b5bad0a change order import label to Orders and Refunds 2019-07-09 09:53:41 -03:00
Joshua T Flowers 489712a752 Fix margin around onboarding inputs (https://github.com/woocommerce/woocommerce-admin/pull/2611)
* Fix margin on inputs inside onboarding cards

* Update default margin around muriel componets to match wc-admin grid
2019-07-09 10:56:15 +08:00
Joshua T Flowers fbbd8cfaee Append '(optional)' to address line 2 label (https://github.com/woocommerce/woocommerce-admin/pull/2610) 2019-07-09 10:55:58 +08:00
Renovate Bot 36f1ae3f2c Lock file maintenance 2019-07-09 00:58:04 +00:00
Paul Sealock 695671257c Merge pull request woocommerce/woocommerce-admin#2567 from woocommerce/renovate/webpack-4.x
Update dependency webpack to v4.35.3
2019-07-09 12:51:42 +12:00
Paul Sealock c0ae7c21e6 Merge pull request woocommerce/woocommerce-admin#2566 from woocommerce/renovate/marked-0.x
Update dependency marked to v0.7.0
2019-07-09 12:49:14 +12:00
Paul Sealock 8e8ed2a6b1 Merge pull request woocommerce/woocommerce-admin#2565 from woocommerce/renovate/husky-2.x
Update dependency husky to v2.7.0
2019-07-09 12:47:36 +12:00
Paul Sealock 61ac3377dc Merge pull request woocommerce/woocommerce-admin#2594 from woocommerce/fix/tracks-onclicks
Tracks: Fix Link onclick
2019-07-09 08:49:58 +12:00
Paul Sealock cc4b1bad99 Merge pull request woocommerce/woocommerce-admin#2607 from woocommerce/fix/Layout-propTypes
Fix: propType validation warnings on embedded pages
2019-07-09 07:52:31 +12:00
Paul Sealock 314ed6da56 Tracks: Fix Link onclick 2019-07-09 07:51:20 +12:00
Ron Rennick 5e757d2f70 exclude old WC auto-draft orders from import 2019-07-08 15:36:12 -03:00
Ron Rennick 2260e60453 Merge pull request woocommerce/woocommerce-admin#2484 from woocommerce/fix/2400
use summary query to total coupons per order
2019-07-08 13:49:17 -03:00
Timmy Crawford dde788631c Notes: Type cast is_snoozeable on insert. (https://github.com/woocommerce/woocommerce-admin/pull/2573) 2019-07-08 09:48:38 -07:00
Renovate Bot 9c5a7b3b41 Update dependency webpack to v4.35.3 2019-07-08 14:15:43 +00:00
Ron Rennick 6da2728f99 Merge pull request woocommerce/woocommerce-admin#2593 from woocommerce/issue_2591
Notes: Only check for scheduled snooze action hourly
2019-07-08 08:39:50 -03:00
Ron Rennick f29627763a Merge pull request woocommerce/woocommerce-admin#2602 from woocommerce/fix/2595
restore devdocs URLs after hash removal
2019-07-08 08:32:50 -03:00
Joshua T Flowers 980ff6fa71 Update to new Snackbar component and notice store (https://github.com/woocommerce/woocommerce-admin/pull/2596)
* Add new wordpress/components version and fix dependencies

* Add in snackbar styling and gutenberg variables

* Convert all existing notice actions to wordpress/notices

* Fix linting errors

* Add package.lock changes

* Update search list control snapshots with new attributes
2019-07-08 12:10:34 +08:00
Joshua T Flowers 19870c18c0 Onboarding: Add theme uploader component (https://github.com/woocommerce/woocommerce-admin/pull/2580)
* Add theme uploader component

* Add theme to theme browser on upload complete

* Add a minimum height to dropzone area

* Use Muriel style Spinner during upload

* Add file field uploader to dropzone for accessibility

* Delete transient on theme install or theme switch
2019-07-08 10:54:26 +08:00
Brent Shepherd cd87294f70 Only check for scheduled snooze action hourly
Using a transient to take advantage of object caching.

Fixes woocommerce/woocommerce-admin#2591.
2019-07-08 11:55:03 +10:00
Paul Sealock 666dd992e6 Layout: fix propTypes for embedded pages 2019-07-08 12:54:52 +12:00
Renovate Bot 0edb587e9d Lock file maintenance 2019-07-08 00:36:13 +00:00
Renovate Bot 2bb417ea9c Update dependency marked to v0.7.0 2019-07-06 04:18:11 +00:00
Ron Rennick 50c415eb80 restore devdocs URLs after hash removal 2019-07-05 16:09:43 -03:00
Ron Rennick 3cc9232c2b add unit test for multiple coupons on orders 2019-07-05 14:44:08 -03:00
Timmy Crawford 799d0266b1 ReportTable: Add back in ids array generation. (https://github.com/woocommerce/woocommerce-admin/pull/2571) 2019-07-05 07:12:32 -07:00
Timmy Crawford 995f26250e Settings: Fix wsod when no actionable statuses are set. (https://github.com/woocommerce/woocommerce-admin/pull/2577)
* Fix wsod when no actionable statuses are set.

* Updates per feedback.
2019-07-05 07:12:03 -07:00
Mike Jolley 904ef37fb0 Changelog for component package 2019-07-05 11:26:50 +01:00
Mike Jolley a89716296c license typo 2019-07-05 11:26:12 +01:00
Daniel Rey López 08417da553 Allow each page to specify their breadcrumbs without having to render the Header component (https://github.com/woocommerce/woocommerce-admin/pull/2491)
* Simplify Header rendering, remove the use of react-slot-fill

* Remove the useless "/analytics" route

* Move all the <Header> renders to the new, declarative way of specifying breadcrumbs

* Re-render the Layout when a report is added using the REPORTS_FILTER, since that affects the breadcrumbs output

* Fix the base breadcrumb link and breadcrumbs on embedded pages

* Expanded Layout.propTypes to specify the breadcrumbs' shape
2019-07-05 09:15:49 +01:00
Joshua T Flowers d640b15d09 Add a theme REST API to allow uploading themes (https://github.com/woocommerce/woocommerce-admin/pull/2568)
* Add theme upload REST api controller

* Add theme data to theme controller response

* Add tests for themes api

* Change user cap check to upload_themes

* Add test for users without theme capabilities
2019-07-05 16:01:35 +08:00
Timmy Crawford aaab16086d Header: Adjust sizes at all breakpoints (https://github.com/woocommerce/woocommerce-admin/pull/2562)
* Adjust activity panel sizes.

* one header size to rule them all.
2019-07-04 08:58:08 -07:00
Justin Shreve 5a2f0c9da0 Onboarding - Add business extension recommendations (https://github.com/woocommerce/woocommerce-admin/pull/2551)
* Add business extension recommendations

* Fix failing test. Set max height and width for toggle

* Fix toggle display and fix when the extensions show (so they dont hide and disapear as "currently" selling is selected).
2019-07-04 11:56:28 -04:00
Albert Juhé Lluveras 49d15db27e Add countLabel prop to SearchListItem (https://github.com/woocommerce/woocommerce-admin/pull/2569) 2019-07-04 17:50:56 +02:00
Justin Shreve 393fc3113a Update color-studio to 1.0.5 (https://github.com/woocommerce/woocommerce-admin/pull/2575) 2019-07-04 10:44:43 -04:00
Joshua T Flowers 6c98e1d5cf Onboarding: Update theme order and sorting (https://github.com/woocommerce/woocommerce-admin/pull/2556)
* Only show installed themes with WC support and currently active theme

* Center tab panel buttons

* Fix installed param check typo

* Show installed themes in wc theme fetch fails
2019-07-04 14:12:33 +08:00
Paul Sealock e56a811394 update packages README 2019-07-04 13:32:13 +12:00
Paul Sealock 1108d327be Packages: prepare for release 2019-07-04 13:30:25 +12:00
renovate[bot] 972fe4b0cd Update dependency eslint-plugin-jsx-a11y to v6.2.3 (https://github.com/woocommerce/woocommerce-admin/pull/2564) 2019-07-03 12:16:10 -07:00
Jeff Stieler 81a71e608f Merge pull request woocommerce/woocommerce-admin#2561 from woocommerce/fix/2448-remove-learn-more-link
Remove placeholder "learn more" link from excluded status setting.
2019-07-03 08:43:27 -06:00
Jeff Stieler 5b905025fc Merge pull request woocommerce/woocommerce-admin#2526 from woocommerce/add/311-report-csv-exporter-endpoint
Add Report CSV Export Endpoint
2019-07-03 08:43:18 -06:00
Joshua T Flowers 53035e7b1e Set default values for onboarding select dropdowns (https://github.com/woocommerce/woocommerce-admin/pull/2534)
* Set default values for onboarding select dropdowns

* Set defaults using onFocus for accessibility
2019-07-03 13:53:00 +08:00
Renovate Bot 52d35a2283 Update dependency husky to v2.7.0 2019-07-03 01:47:37 +00:00
Paul Sealock d6717eb0db Merge pull request woocommerce/woocommerce-admin#2557 from woocommerce/add/tracks-chart-table
Tracks: Add chart and table events
2019-07-03 13:38:25 +12:00
Paul Sealock b3bde09814 Merge pull request woocommerce/woocommerce-admin#2444 from woocommerce/update/route-handling
Route handling: Remove hash in favor of path parameter
2019-07-03 13:16:04 +12:00
Paul Sealock 7f898194b4 Tracks: add events to chart and table 2019-07-03 11:42:06 +12:00
Paul Sealock 3068013095 remove render404 2019-07-03 11:38:11 +12:00
Paul Sealock dbd8793c05 leading slash in leaderboards 2019-07-03 10:40:41 +12:00
Timmy Crawford 1814741014 Settings: Better structure to settings page, and protect form changes (https://github.com/woocommerce/woocommerce-admin/pull/2544)
* Add section header for historical import.

* Add alert on unsaved changes.

* The glass is half full. Therefore my state change should be too.

* Update button text.
2019-07-02 13:50:59 -07:00
Jeff Stieler c7d94cc929 Use the default "read reports" permission for the export endpoint. 2019-07-02 13:53:42 -06:00
Jeff Stieler 564b618f62 Remove placeholder "learn more" link from excluded status setting. 2019-07-02 13:42:29 -06:00
Jeff Stieler 3350605ef2 Merge pull request woocommerce/woocommerce-admin#2559 from woocommerce/add/2474-inbox-action-click
Add tracks event to Store Alert and Inbox Notification action clicks
2019-07-02 13:25:20 -06:00
Jeff Stieler 4a0b5b935a Merge pull request woocommerce/woocommerce-admin#2560 from woocommerce/add/2474-track-alert-snooze
Send tracks event for snoozing store alerts.
2019-07-02 13:25:00 -06:00
renovate[bot] b6be2eefc6 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/2490) 2019-07-02 12:10:42 -07:00
Timmy Crawford f60c96b572 Ignore empty wp notice elements. (https://github.com/woocommerce/woocommerce-admin/pull/2552) 2019-07-02 08:35:03 -07:00
Timmy Crawford 0c1ed070b9 Examples: Update README (https://github.com/woocommerce/woocommerce-admin/pull/2554)
quick change to reflect the two new examples in the directory.
2019-07-02 08:34:37 -07:00
Jeff Stieler bdfe3520c3 Send tracks event for snoozing store alerts. 2019-07-02 09:18:52 -06:00
Jeff Stieler 1270f5204b Send tracks events for triggered note actions. 2019-07-02 08:29:20 -06:00
Jeff Stieler cc4ca8b965 Move tracks helper function into core functions file. 2019-07-02 08:27:31 -06:00
Ron Rennick ca40be6676 Merge pull request woocommerce/woocommerce-admin#2543 from woocommerce/2503-followup
Add error checking for failed remote gets added in woocommerce/woocommerce-admin#2503
2019-07-02 10:54:15 -03:00
Paul Sealock 8857635162 fix tests 2019-07-02 12:35:58 +12:00
Paul Sealock b19e1dd261 Tracks: Add dashboard events 2019-07-02 12:31:48 +12:00
renovate[bot] d52a32692c Update dependency locutus to v2.0.11 (https://github.com/woocommerce/woocommerce-admin/pull/2515) 2019-07-01 17:26:35 -07:00
renovate[bot] 5f2a6492d4 Update dependency eslint-plugin-react to v7.14.2 (https://github.com/woocommerce/woocommerce-admin/pull/2513) 2019-07-01 17:21:20 -07:00
Paul Sealock 9d98f09b64 remove console.log 2019-07-02 12:20:56 +12:00
Paul Sealock 563e94b7a2 add leading slash in path for Leaderboards 2019-07-02 12:19:55 +12:00
renovate[bot] a12cc1b9e7 Update dependency eslint-plugin-jest to v22.7.1 (https://github.com/woocommerce/woocommerce-admin/pull/2512) 2019-07-01 17:16:32 -07:00
renovate[bot] 24ba1b96cb Update dependency concurrently to v4.1.1 (https://github.com/woocommerce/woocommerce-admin/pull/2510) 2019-07-01 17:08:00 -07:00
renovate[bot] 63217f3975 Update dependency ast-types to v0.13.2 (https://github.com/woocommerce/woocommerce-admin/pull/2509) 2019-07-01 17:06:10 -07:00
Paul Sealock a1a4e04c1f Merge pull request woocommerce/woocommerce-admin#2546 from woocommerce/fix/variations-low_stock_amount
Stock notifs: fix low_stock_amount for variations
2019-07-02 11:18:36 +12:00
Paul Sealock 3bbd19cc4d Merge pull request woocommerce/woocommerce-admin#2548 from woocommerce/fix/dash-feature-flag-false
Customizable dashboard: handle turned off feature flag
2019-07-02 11:17:06 +12:00
Justin Shreve 752f8c456d Onboarding - Profile Wizard: Add tracks events (https://github.com/woocommerce/woocommerce-admin/pull/2531)
* Onboarding: Add tracks events

* Update naming, fix how already_selling is determined
2019-07-01 14:13:29 -04:00
Jeff Stieler e6c445e1d4 Verify that user can view reports before allowing export download. 2019-07-01 12:06:25 -06:00
Paul Sealock a33bdda62e Customizable dashboard: handle turned off feature flag 2019-07-01 21:40:50 +12:00
Paul Sealock d72a0edc0a Merge branch 'update/route-handling' of github.com:woocommerce/woocommerce-admin into update/route-handling 2019-07-01 20:42:27 +12:00
Paul Sealock c5c52228b6 update changelog for navigation package 2019-07-01 20:41:57 +12:00
Daniel Rey López eef988239e Change all remaining URLs from #/style to ?path=style 2019-07-01 09:15:46 +01:00
Paul Sealock f6854c377d Stock notifs: fix low_stock_amount for variations 2019-07-01 15:50:31 +12:00
Paul Sealock 4032c09e67 update id names 2019-07-01 12:33:52 +12:00
Justin Shreve aed4ea63b4 Server side route handling 2019-07-01 12:22:34 +12:00
Paul Sealock 123af97b1c Merge pull request woocommerce/woocommerce-admin#2525 from woocommerce/add/filters-tracks
Advanced Filters: Add Tracks events
2019-07-01 11:05:59 +12:00
Ron Rennick ac28e781c7 Small fixes for PR woocommerce/woocommerce-admin#2503
- Use get_instance function instead of constructor
- Update URL to be HTTPS
- Add error checking for failed remote gets
2019-06-28 15:58:51 -03:00
Jeff Stieler 35d763fa8c Merge pull request woocommerce/woocommerce-admin#2463 from KZeni/patch-2
Add State alongside City (and other customer info).
2019-06-28 12:24:25 -06:00
Kurt Zenisek 29c5098304 Swapped out postal_code for postcode to fix a bug 2019-06-28 13:15:50 -05:00
Job b317e43869 Fixes issue with alerts on mobile (https://github.com/woocommerce/woocommerce-admin/pull/2537) 2019-06-28 10:46:17 -07:00