Commit Graph

1157 Commits

Author SHA1 Message Date
Ron Rennick 9a42f00477 Merge pull request woocommerce/woocommerce-admin#2764 from woocommerce/fix/2746
convert zero last active date to null in customer query
2019-08-09 08:40:57 -03:00
Justin Shreve f2102b0239 Update onboarding profile wizard copy (https://github.com/woocommerce/woocommerce-admin/pull/2770) 2019-08-08 14:41:26 -04:00
Justin Shreve 708464fe8e Add revenue question to the business details page (https://github.com/woocommerce/woocommerce-admin/pull/2763)
* Add revenue question to the business details page

* Handle PR feedback: remove empty values, include currency in the stats api call.
2019-08-08 11:38:47 -04:00
Ron Rennick f79a3290ea Merge pull request woocommerce/woocommerce-admin#2753 from woocommerce/fix/2682
restore wp-admin wpbody-content bottom padding
2019-08-08 10:21:30 -03:00
Joshua T Flowers 1e042d355c Add event handlers in Form component and update onboarding form (https://github.com/woocommerce/woocommerce-admin/pull/2749)
* Add better checkbox and radio support

* Add checkbox, select, and radio examples to form component

* Update business details step to use new Form component
2019-08-08 13:25:55 +08:00
Ron Rennick 833cc7a1c2 convert zero last active date to null in customer query 2019-08-07 16:12:47 -03:00
Ron Rennick 30749a87a2 limit padding CSS to left 2019-08-07 09:49:45 -03:00
Ron Rennick 734eb025e6 restore wp-admin wpbody-content bottom padding 2019-08-06 16:26:45 -03:00
Joshua T Flowers 919ce11b57 Add form component for handling form state (https://github.com/woocommerce/woocommerce-admin/pull/2742)
* Add Form component to packages

* Add form example to devdocs

* Fix form validation check

* Update store details to use Form component

* Fix indentation issues
2019-08-05 09:41:47 +08:00
Justin Shreve 1a479eefea Fix navigation handling on the `skip` link. (https://github.com/woocommerce/woocommerce-admin/pull/2738) 2019-08-02 09:22:11 -04:00
Joshua T Flowers f542a4c011 Update Stepper component with new props and styles (https://github.com/woocommerce/woocommerce-admin/pull/2726)
* Add description and content to Stepper

* Reduce unnecessary styles

* Allow variable divider width for vertical Steppers

* Fix existing steppers and styling

* Update spinner styles in Stepper

* Fix style lint issues

* Update spinner color in plugin step
2019-08-02 07:28:06 +08:00
Joshua T Flowers d41ce76451 Onboarding: Add WebPreview component for theme previewing (https://github.com/woocommerce/woocommerce-admin/pull/2681)
* Add WebPreview component

* Add theme preview component

* Add WebPreview example for devdocs

* Update loading content prop name for WebPreview

* Add selected class state for device buttons

* Fix tabbing issue in stylesheet

* Fix loadingContent prop changes

* Add in translators note

* Fix theme details height issue

* Add theme demo track events (https://github.com/woocommerce/woocommerce-admin/pull/2715)

* Add theme demo track events

* Track theme chosen location

* Track theme slug on device switch

* Apply design feedback
2019-08-02 07:27:38 +08:00
Justin Shreve dca1b07377 Onboarding - Task List: Add store connection task (https://github.com/woocommerce/woocommerce-admin/pull/2718)
* Adds store connection task

* PR Feedback
2019-08-01 14:09:08 -04:00
Justin Shreve 1410e7ed29 Add a "this store is being setup for a client" store detail field (https://github.com/woocommerce/woocommerce-admin/pull/2727) 2019-08-01 13:29:35 -04:00
Paul Dechov 5d7f56d859 Merge pull request woocommerce/woocommerce-admin#2699 from woocommerce/update/activity-panel-transitions
Ensure content to wrapper alignment during Activity Panel transitions
2019-07-29 12:23:56 -04:00
Joshua T Flowers 5076a64fdc Fix vertical centering in onboarding theme step (https://github.com/woocommerce/woocommerce-admin/pull/2705) 2019-07-29 11:23:31 +08:00
Paul Dechov 527f390d35 Sync active tab indicator with activity panel transition 2019-07-24 21:43:49 -04:00
Paul Dechov 21217f4b0b Animate wrapper instead of content on switch 2019-07-24 21:43:46 -04:00
Paul Dechov 7223c3396c Keep content during close transition
Doesn't clear currentTab until transition ends.
2019-07-24 21:42:57 -04:00
Paul Dechov 765b826105 Transition transform rather than width on open/close 2019-07-24 21:40:52 -04:00
Jeff Stieler f5a366364c Merge pull request woocommerce/woocommerce-admin#2687 from woocommerce/fix/bridge-459-sidebar-double-arrow
Only apply current submenu CSS reset on non-embed pages.
2019-07-24 11:09:12 -06:00
Paul Sealock d98eceffc7 Revert "Revert "Update to new Snackbar component and notice store"" (https://github.com/woocommerce/woocommerce-admin/pull/2643)
* Revert "Revert "Update to new Snackbar component and notice store""

* Update uploader component to use createNotice

* Bump required WP version to 5.2

* Update required PHP and WP versions in plugin header
2019-07-23 11:26:46 +08:00
Jeff Stieler 6324475b85 Only apply current submenu CSS reset on non-embed pages. 2019-07-22 17:02:55 -06:00
Timmy Crawford 3a781d1af0 Settings: Fix notice shown after save. (https://github.com/woocommerce/woocommerce-admin/pull/2660)
* Settings: Fix notice shown after save.

* Updates per feedback.
2019-07-22 14:15:41 -07:00
Joshua T Flowers f1f3a6e20d Fix flash of unstyled content for onboarding pages (https://github.com/woocommerce/woocommerce-admin/pull/2673) 2019-07-22 12:53:13 +08:00
Joshua T Flowers b42a8b34cd Onboarding: Add products task (https://github.com/woocommerce/woocommerce-admin/pull/2667)
* Add product subtask list component

* Add has-action class to list component

* Redirect after active task completion

* Refactor task completion check

* Add task completion statuses to component settings

* Fix missing className prop for list items

* Add task completion styling
2019-07-19 10:54:38 +08:00
Jeff Stieler 64d44bd905 Merge pull request woocommerce/woocommerce-admin#2659 from woocommerce/fix/2592-orders-linger
Reduce order status change delay in Orders Panel.
2019-07-18 08:20:39 -06:00
Jeff Stieler 5a859ab919 Fix "non actionable" order query. 2019-07-18 08:09:50 -06:00
Joshua T Flowers 2d21db45ce Onboarding: Add the task list dashboard (https://github.com/woocommerce/woocommerce-admin/pull/2654)
* Add task list dashboard page

* Add actual site URL to header

* Fix typos

* Remove app bar

* Use material icons

* Update material icons to use Google hosted font

* Localize description strings
2019-07-18 18:11:21 +08:00
Justin Shreve 4e478d9fbb Implement "Simple" Select Component (https://github.com/woocommerce/woocommerce-admin/pull/2598)
* Implement "Simple" Select Component

* Add value prop and disabled option.

* Expand click target of .woocommerce-simple-select-control__selector

* Fix select state.

* remove left position

Co-Authored-By: Joshua T Flowers <joshuatf@gmail.com>

* Update packages/components/src/simple-select-control/style.scss

Co-Authored-By: Joshua T Flowers <joshuatf@gmail.com>

* Update packages/components/src/simple-select-control/style.scss

Co-Authored-By: Joshua T Flowers <joshuatf@gmail.com>

* Update packages/components/src/simple-select-control/style.scss

Co-Authored-By: Joshua T Flowers <joshuatf@gmail.com>
2019-07-17 11:46:55 -07:00
Jeff Stieler 66e321f568 Maintain query order when merging core Order data and lookup table data. 2019-07-17 09:56:59 -06:00
Jeff Stieler 705379bdbb Reduce unread orders API response fields. 2019-07-17 09:56:13 -06:00
Timmy Crawford 2a75bcefe6 Activity Panels: Fix notification indicator css. (https://github.com/woocommerce/woocommerce-admin/pull/2662) 2019-07-17 08:08:21 -07:00
Jeff Stieler 9bbc4fa96d Use core orders endpoint for initial orders panel query.
Side steps the lookup table to catch order status transitions immediately.
2019-07-16 15:17:38 -06:00
Jeff Stieler bb4f067b61 Use core orders endpoint for "unread" order indicator. 2019-07-16 15:17:38 -06:00
Jeff Stieler 69245c848b Merge pull request woocommerce/woocommerce-admin#2638 from woocommerce/add/2605-tracks-priority-3
Add priority 3 Tracks events
2019-07-16 09:10:11 -06:00
Albert Juhé Lluveras f392b5588d Replace 'stringifyQuery' with 'addQueryArgs' (https://github.com/woocommerce/woocommerce-admin/pull/2655) 2019-07-16 10:56:24 +02:00
Joshua T Flowers 269b09c840 Update padding for checkbox group cards (https://github.com/woocommerce/woocommerce-admin/pull/2631) 2019-07-16 10:15:41 +08:00
Joshua T Flowers 60a1541e48 Update onboarding form validation (https://github.com/woocommerce/woocommerce-admin/pull/2617)
* Update store details form validation

* Add new form validation to business details step

* Add new form validation to industry step

* Add new form validation to product types step
2019-07-15 19:09:31 +08:00
Jeff Stieler 562a1a231d Send tracks event when historical data is deleted. 2019-07-12 11:46:38 -06:00
Jeff Stieler e5424fdd4d Send a tracks event when analytics settings are reset to defaults. 2019-07-12 11:46:38 -06:00
Jeff Stieler 280542255f Send a track event when analytics settings are saved. 2019-07-12 11:46:37 -06:00
Jeff Stieler 1da8aba8e8 Send a tracks event for report table pagination actions. 2019-07-12 11:46:37 -06:00
Jeff Stieler c820c92fe4 Send a tracks event when the dashboard chart type is toggled. 2019-07-12 11:46:36 -06:00
Jeff Stieler 9e217fbcaf Send tracks event when dashboard chart interval changes. 2019-07-12 11:46:36 -06:00
Jeff Stieler c36bfe6026 Send tracks event when dashboard sections are renamed. 2019-07-12 11:46:35 -06:00
Jeff Stieler 314e6d90e0 Send tracks event when adding dashboard section. 2019-07-12 11:46:34 -06:00
Jeff Stieler 29a46f0665 Send a tracks event for reordering dashboard sections. 2019-07-12 11:46:34 -06:00
Jeff Stieler ea6116592e Merge branch 'master' into add/2604-tracks-priority-2 2019-07-12 11:34:50 -06:00
Albert Juhé Lluveras acc4ea7e4d Disable placeholder animation when prefers-reduced-motion is set (https://github.com/woocommerce/woocommerce-admin/pull/2645) 2019-07-12 17:49:37 +02:00
Jeff Stieler 34e91de4ce Merge pull request woocommerce/woocommerce-admin#2637 from woocommerce/fix/report-table-pagination
Fix "page" parameter collision between routing and table pagination.
2019-07-11 17:23:31 -06:00
Jeff Stieler a03131f3ef Remove unneeded query retrieval instance method. 2019-07-11 15:26:58 -06:00
Jeff Stieler b92bef4941 Fix "page" parameter collision between routing and table pagination. 2019-07-11 14:18:16 -06:00
Paul Sealock dcc412a26d Merge pull request woocommerce/woocommerce-admin#2634 from woocommerce/revert-2596-update/2445-snackbar
Revert "Update to new Snackbar component and notice store"
2019-07-12 08:08:56 +12: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
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
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 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
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 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
Paul Sealock 666dd992e6 Layout: fix propTypes for embedded pages 2019-07-08 12:54:52 +12:00
Ron Rennick 50c415eb80 restore devdocs URLs after hash removal 2019-07-05 16:09:43 -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
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
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
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
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
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
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
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 564b618f62 Remove placeholder "learn more" link from excluded status setting. 2019-07-02 13:42:29 -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
Timmy Crawford f60c96b572 Ignore empty wp notice elements. (https://github.com/woocommerce/woocommerce-admin/pull/2552) 2019-07-02 08:35:03 -07:00
Jeff Stieler bdfe3520c3 Send tracks event for snoozing store alerts. 2019-07-02 09:18:52 -06:00
Paul Sealock b19e1dd261 Tracks: Add dashboard events 2019-07-02 12:31:48 +12: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
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
Paul Sealock a33bdda62e Customizable dashboard: handle turned off feature flag 2019-07-01 21:40:50 +12:00
Daniel Rey López eef988239e Change all remaining URLs from #/style to ?path=style 2019-07-01 09:15:46 +01:00