Commit Graph

3661 Commits

Author SHA1 Message Date
renovate[bot] e2b6c809fb Update dependency eslint-config-prettier to v6.10.1 (https://github.com/woocommerce/woocommerce-admin/pull/3987)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:41:22 +13:00
renovate[bot] 8823d98012 Update dependency autoprefixer to v9.7.5 (https://github.com/woocommerce/woocommerce-admin/pull/3986)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:40:15 +13:00
renovate[bot] a49d2489dc Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3985)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:39:13 +13:00
Darren Ethier 783f613815 wp.data Settings refactor
add data store for settings using wp.data

add use-select-with-refresh example

replace fresh-data usage with new settings data store for settings page

Add data package

move to packages

Fix isDirty after save

Add isBusy to primary button when saving

update Readme

remove comment

readme to use useSelect

Revert "update Readme"

This reverts commit 7402fd49b8f384fde5878e0bee0616f0a87bb4f6.

Data Layer: Settings page to use Settings store (https://github.com/woocommerce/woocommerce-admin/pull/3430)

* Data Layer: Settings store as source of truth for settings page

This reverts commit 7402fd49b8f384fde5878e0bee0616f0a87bb4f6.

* fixup

* save on reset

* non mutable constants

* add set/getSettings

* save using setSettings

* separate HOC

* cleanup

* remove settingsToData

* withHydration

* remove withSettings HOC

* renmove useSettins for now

* withSettingsHydration updates

* Revert "withSettingsHydration updates"

This reverts commit f2adf108fbe19b574978fea5925a1a18e7ed3007.

* rename withSettingsHydration

* redo withSettingsHydration simplification

* restore

* useSettings

* render using useSettings

* handleInputChange working

* get setIsDirty working

* saving works

* reset and cleanup

* cleanup

* use snake case on hook files

* use clearIsDirty

* Avoid mutation on setting update

* remove @todo

* persiting -> isPersisting

* better reducer ternaries

* add wcSettings as arg to withSettingsHydration

reset package-lock

Settings: split out mutable wcAdminSettings (https://github.com/woocommerce/woocommerce-admin/pull/3675)

Settings: handle async settings groups (https://github.com/woocommerce/woocommerce-admin/pull/3707)
2020-03-25 16:20:17 +13:00
Jason Conroy 741116a6ad Animation slider example fix (https://github.com/woocommerce/woocommerce-admin/pull/3939)
* Fix AnimationSlider example code buttons

* Fixes disable state logic on forward button
* Fixes back property

* Update readme to indicate AnimationSlider example fix
2020-03-25 10:50:26 +13:00
James Koster fa9a4d8314 style and icon updates (https://github.com/woocommerce/woocommerce-admin/pull/3965) 2020-03-24 11:21:20 -07:00
Jahidur Rahman Nadim 57f8cbf3e8 Fix undefined variable slug on theme activation error (https://github.com/woocommerce/woocommerce-admin/pull/3942) 2020-03-24 16:26:02 +13:00
renovate[bot] 7777a7b727 Update dependency sass-loader to v8 (https://github.com/woocommerce/woocommerce-admin/pull/3925)
* Update dependency sass-loader to v8

* Address node-sass webpack breaking changes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-03-24 14:15:45 +13:00
renovate[bot] f4252159fd Update dependency rimraf to v3 (https://github.com/woocommerce/woocommerce-admin/pull/3922)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:51:08 +13:00
renovate[bot] f35c263992 Update dependency grunt to v1.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/3921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:47:35 +13:00
renovate[bot] 961976969f Update dependency react-transition-group to v4 (https://github.com/woocommerce/woocommerce-admin/pull/3868)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:46:41 +13:00
renovate[bot] 82044af07c Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:43:32 +13:00
renovate[bot] 33721c8085 Update storybook monorepo to v5.3.17 (https://github.com/woocommerce/woocommerce-admin/pull/3865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:31:33 +13:00
renovate[bot] 47c0f5cba2 Update dependency eslint-plugin-react to v7.19.0 (https://github.com/woocommerce/woocommerce-admin/pull/3863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:28:38 +13:00
Paul Sealock 6582975f98 Made the data store reading of content_data more resilient (https://github.com/woocommerce/woocommerce-admin/pull/3926) (https://github.com/woocommerce/woocommerce-admin/pull/3961)
Before 0.10.0 notes had a default content_data of array(). If stored in the database, these notes would be unable to be loaded. This adds some resiliency to the loading so that invalid content_data fields don't break WC_Admin_Note::set_content_data().

Co-authored-by: Christopher Allford <christopher.allford@automattic.com>
2020-03-24 13:10:33 +13:00
Bec Scott dd279a5cc1 Make WooCommerce breadcrumbs use WooCommerce branding if it is installed (https://github.com/woocommerce/woocommerce-admin/pull/3798)
* Make WooCommerce breadcrumbs use WooCommerce branding if it is installed

* Undo everything

* Whoops, add missing reverted code

* Push 'WooCommerce' out to breadcrumbs from the server except for where it is built up on the client

* Pass translated 'WooCommerce' down from the server to the front end

* Fix comment

* Use `admin_url` to build up the URL

Co-Authored-By: Ron Rennick <ron@ronandandrea.com>

* Use admin_url()

Co-Authored-By: Ron Rennick <ron@ronandandrea.com>

* Show WooCommerce breadcrumb on analytics pages

* Stop double appending the admin URL to the root WooCommerce breadcrumb url

Co-authored-by: Rebecca Scott <me@becdetat.com>
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2020-03-24 08:57:16 +10:00
Joshua T Flowers 1088a0ce8c Onboarding: Add task completion and task list completion tracks (https://github.com/woocommerce/woocommerce-admin/pull/3967)
* Refactor logic for showing dashboard reports and tasklist

* Check for complete option status instead of visible tasks in dashboard

* Update task list status on task list completion

* Track task completion event server-side on option add

* Add option to track previousdly completed events

* Track previously untracked tasks on option update
2020-03-23 13:47:12 -07:00
Joshua T Flowers 66e8525d89 Add WooCommerce support if store is using default theme (https://github.com/woocommerce/woocommerce-admin/pull/3908)
* Add WooCommerce support if store is using default theme

* Check if wc_is_wp_default_theme_active exists before calling it
2020-03-23 13:07:43 -07:00
Joshua T Flowers 1db98a78d9 Onboarding: Create flat rate and free shipping methods from task list (https://github.com/woocommerce/woocommerce-admin/pull/3927)
* Get flat rate and free shipping methods in Rates component

* Update shipping methods by type

* Disable all shipping methods except the one being updated

* Update toggleEnabled to be toggleable for readability

* Check if shipping method has cost before getting value
2020-03-23 17:25:02 +02:00
Fernando cbf0405b95 Onboarding - payments task: filter payment gateways if the user selects CBD (https://github.com/woocommerce/woocommerce-admin/pull/3745)
* Added redirect for the specified conditions

Added redirect to "https://squareup.com/t/f_partnerships/d_referrals/p_woocommerce/c_general/o_none/l_us/dt_alldevice/pr_payments/?route=/solutions/cbd" for the specified conditions

* Added control for CBD payments gateways

Added control for CBD payments gateways. Now only Square is available for CBD

* Changed CBD industry control

* Added 'hasCbdIndustry' declaration in methods.js

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-03-20 15:33:18 -03:00
Jeff Stieler 9dbd45e1d7 Bump version and add changelog entries. (https://github.com/woocommerce/woocommerce-admin/pull/3945) 2020-03-19 13:05:58 -06:00
Ron Rennick 43a941ad16 remove replace_actionscheduler_store_class function (https://github.com/woocommerce/woocommerce-admin/pull/3936)
* remove replace_actionscheduler_store_class function from master

* remove AS store class file

* reuse variable

* Fix test helper queue action cancellation for AS 2.x.x.

* Remove WPPostStore logic from SchedulerTraits.

* Remove dead queue code from WC_Admin_Notes.

Missed in https://github.com/woocommerce/woocommerce-admin/pull/3662.

Co-authored-by: Paul Sealock <psealock@gmail.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-03-19 10:34:09 -06:00
Fernando 675591a593 Onboarding: Modified the recorded data in profile wizard (https://github.com/woocommerce/woocommerce-admin/pull/3929)
* Onboarding: Modified the recorded data in profile wizard

In the second step of the profile wizard, now 'industries_with_detail' is a 'string' instead of an 'object'.

* Selected industries converted to a string

Selected industries are converted to a string to send to recordEvent

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-03-19 09:13:14 -03:00
Jeff Stieler 0343ef2b78 Rename Google Shopping image asset. (https://github.com/woocommerce/woocommerce-admin/pull/3931)
* Rename Google Shopping image asset.

Attempt to avoid overly-aggressive ad blockers.

* Rename Facebook image asset.
2020-03-19 15:11:25 +13:00
Paul Sealock ee111539bd 🍒 pick 3851 and 3938 into master (https://github.com/woocommerce/woocommerce-admin/pull/3940)
* fix undefined const WC_ADMIN_VERSION_NUMBER when WP < 5.3 (https://github.com/woocommerce/woocommerce-admin/pull/3851)

* Fix calling protected has_satisfied_dependencies on outdated plugin (https://github.com/woocommerce/woocommerce-admin/pull/3938)

* Fix calling protected has_satisfied_dependencies on outdated plugin

* Update src/Package.php

Co-Authored-By: Ron Rennick <ron@ronandandrea.com>

Co-authored-by: Ron Rennick <ron@ronandandrea.com>

Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2020-03-19 14:52:07 +13:00
Jeff Stieler 581e483890 Don't clear WCCOM note when clicking the action button. (https://github.com/woocommerce/woocommerce-admin/pull/3909) 2020-03-17 14:32:27 -06:00
Paul Sealock 654484f04e Update prestart script so readme.txt stable tag is updated (https://github.com/woocommerce/woocommerce-admin/pull/3911) 2020-03-18 08:30:33 +13:00
Jeff Stieler b8e1874cd9 Task List: verify Stripe key patterns before continuing. (https://github.com/woocommerce/woocommerce-admin/pull/3910) 2020-03-17 11:22:42 -06:00
Timmy Crawford f8afb04187 Zip: include files instead of exclude (https://github.com/woocommerce/woocommerce-admin/pull/3898)
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-03-16 10:12:23 -07:00
Joshua T Flowers 8b667d2169 Onboarding: Add offline payment methods (https://github.com/woocommerce/woocommerce-admin/pull/3832)
* Add on Cash on Delivery method to payment methods

* Add direct bank transfer method

* Update enabled paymet methods in markConfigured

* Add missing bacs property

* Add bacs styling
2020-03-16 12:57:23 +01:00
Joshua T Flowers 6c4c8fb7c1 Onboarding: Add toggles to configured payments in task list (https://github.com/woocommerce/woocommerce-admin/pull/3801)
* Add isConfigured property to all payment methods

* Remove payment configuration checks from server side

* Add isEnabled flags to all payment methods

* Add payment method toggle methods

* Extract payment methods

* Fix update options selectors

* Add error handling for payment method updates

* Remove configured from saved option

* Add event when payment is toggled

* Check if payment option exists before checking config

* Only fetch PayPal connection URL when plugin is active

* Only fetch Stripe connection URL when plugin is active
2020-03-16 12:09:29 +01:00
Bec Scott b8aee0f93b Onboarding: business step: add Google Ads extension install (https://github.com/woocommerce/woocommerce-admin/pull/3725)
* Onboarding: business step: add Google Ads extension install

* Updated extension slug etc to match the extension

* Fix a couple of slugs that were missed

* Remove extra div that was breaking because of an unrelated change (reused class name)

Co-authored-by: Bec Scott <me@becdetat.com>
2020-03-16 16:12:30 +10:00
Joshua T Flowers da6f113d18 Onboarding: Update payments task flow (https://github.com/woocommerce/woocommerce-admin/pull/3782)
* Add new payment method cards

* Refactor payment methods

* Track payment configuration and completion client-side

* Record tasklist_payment_connect_method event in markConfigured

* Record event on payment setup

* Add recommended payment method ribbon

* Return to payments task even when previously configured
2020-03-15 22:45:19 +01:00
Timmy Crawford 7266042b79 Create database tables earlier - like core. (https://github.com/woocommerce/woocommerce-admin/pull/3899)
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-03-13 12:42:01 -06:00
Bec Scott 43d5214218 Delete an .orig file accidentally added during rebase (https://github.com/woocommerce/woocommerce-admin/pull/3891)
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-03-13 10:20:36 -07:00
Bec Scott 893aecfa4b Improve focus on task list (https://github.com/woocommerce/woocommerce-admin/pull/3796)
* Script that hides or shows menu items

* Hook up buttons to task list, hook up options to onboarding-experience to set up the menu

* Fix some little code style issues

* Remove LinkButton in favour of the existing Button in @wordpress/components

* Remove reference to removed style file

* Move menu experience script to /client/wp-admin-scripts to match current style

* Only load the onboarding menu experience script if onboarding is enabled

* Localise some strings

* Separate the "Setup" link from the existing items to avoid conflicts with extensions that modify the menu

* Use the item key instead of title to report back completed tasks

* Change from skip_option to reason to make this easier to grok

* Use existing woocommerce_task_list_hidden option instead of creating a new one

* Tweak options to get menu experience working again

* Simplify skip actions logic

* Preload woocommerce_task_list_do_this_later option

* Nicer event key names

* Clean  up the styling

* Remove wcSettings.onboarding check from the task items list in `customizable`

* Remove spinner from customizable

* Fix translated string for WooCommerce menu setup anchor

* Use predef color instead of a hard-coded hex code

* Remove superfluous ={ true } from markup

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-03-13 14:34:53 +10:00
Bec Scott 296ef085dd Remove add first product note (https://github.com/woocommerce/woocommerce-admin/pull/3876)
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-03-13 08:58:08 +10:00
Paul Sealock f863e8780e Changelog: Add Script (https://github.com/woocommerce/woocommerce-admin/pull/3800) (https://github.com/woocommerce/woocommerce-admin/pull/3857)
* Changelog: Add same script as blocks

* make it wc-admin friendly

* add label tags
2020-03-13 10:21:11 +13:00
Timmy Crawford 276f3d2ced Don't attempt to create an inbox note before the tables exist. (https://github.com/woocommerce/woocommerce-admin/pull/3884)
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-03-12 12:59:38 -07:00
Timmy Crawford 8a94703276 Fix feature plugin use on multisites. (https://github.com/woocommerce/woocommerce-admin/pull/3883)
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-03-12 10:57:57 -07:00
Rodrigo Primo 41684985cf Update "WC tested up to" tag (https://github.com/woocommerce/woocommerce-admin/pull/3879)
This commit updates the "WC tested up to" tag to the latest WooCommerce core version to avoid showing an erroneous message to the users in the WooCommerce core system status page saying that WC Admin is not tested with the latest WC version.
2020-03-12 08:38:03 -06:00
Joshua T Flowers da3d5359a6 Fix failing tests after WC 4.0 merge (https://github.com/woocommerce/woocommerce-admin/pull/3870)
* Manually call on_plugins_loaded after loading plugins for testing

* Update import tests to cancel all pending actions in new AS tables

* Fix deprecated next method in AS

* Remove priority queue test for unused priority in AS 3.0

* Check only for pending status actions in batch queue tests

* Add cancel_actions_by_group method to WPPostStore

* Add method to check for next blocking job time

* Force delete scheduled actions on older versions of AS
2020-03-12 14:46:13 +01:00
renovate[bot] 06d8bfe37b Update dependency webpack to v4.42.0 (https://github.com/woocommerce/woocommerce-admin/pull/3820)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:52:13 +01:00
renovate[bot] 113107c418 Update dependency recast to v0.18.7 (https://github.com/woocommerce/woocommerce-admin/pull/3819)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:47:16 +01:00
renovate[bot] 8f0b99c5c8 Update dependency moment to v2.24.0 (https://github.com/woocommerce/woocommerce-admin/pull/3818)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:41:44 +01:00
renovate[bot] 6791cc3714 Update dependency cross-env to v7.0.2 (https://github.com/woocommerce/woocommerce-admin/pull/3817)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:37:42 +01:00
Joshua T Flowers 8a83e62905 Use full width template for homepage in stores using Storefront (https://github.com/woocommerce/woocommerce-admin/pull/3846) 2020-03-10 10:14:18 +01:00
Job c2a39265d1 Fix/inconsistent wording downloads report (https://github.com/woocommerce/woocommerce-admin/pull/3844)
* Consistency with wording in Downloads tab

* User Name or username --> used Username consistently
* Ditto for "Order #"
* Only exception: Didn't add "Address" after IP in the table header to save space

* Updated the fixed title as well

* Removed "Title" again after comments
2020-03-10 10:53:01 +02:00
Timmy Crawford f5d0da0b19 Merge final `version/1.0` branch with `master` (https://github.com/woocommerce/woocommerce-admin/pull/3848)
* Try: Moving Customers to main Woo Menu (https://github.com/woocommerce/woocommerce-admin/pull/3632)

* Only add onboarding settings on wc-admin pages when task list should be shown. (https://github.com/woocommerce/woocommerce-admin/pull/3722)

* Use cron for unsnoozing admin notes (https://github.com/woocommerce/woocommerce-admin/pull/3662)

* Use wp-cron for admin note snoozing.

* Remove "unsnooze" scheduled action.

* Use correct version.

* Avoid using deprecated method for unscheduling actions.

* Onboarding: Fix toggle tracking events (https://github.com/woocommerce/woocommerce-admin/pull/3645)

* Fix errant wcadmin prefix on event name

* Track the onboarding toggle on the option in case enable_onboarding isn't used

* Move toggle actions to separate function

* Move onboarding actions

* Move onboarding filters

* Move help tab updates to add_toggle_actions

* Only run onboarding actions when enabled

* Onboarding: Add tracks events when profiler steps are completed (https://github.com/woocommerce/woocommerce-admin/pull/3726)

* Add tracks for store profiler step completion

* Record event when profiler is completed

* Ensure continue setup loads the onboarding profiler (https://github.com/woocommerce/woocommerce-admin/pull/3646)

* 'All that include' option removed when input field is empty (https://github.com/woocommerce/woocommerce-admin/pull/3700)

* 'All that include' option removed when input field is empty

Added a control to check that when the input field 'Search by customer name' is empty, the 'All that include' option is not appearing.

* Const name improved

The constant name hasValues was changed to optionsHaveValues (more descriptive)

* Fix select text alignment (https://github.com/woocommerce/woocommerce-admin/pull/3723)

* Stock panel indicator - cache and use lookup tables. (https://github.com/woocommerce/woocommerce-admin/pull/3729)

* Stock panel indicator - cache and use lookup tables.

* Revise query, clear transient on product update.

* Fix error, ht Josh.

* Checklist: Remove sideloaded images to reduce build size, take 2 (https://github.com/woocommerce/woocommerce-admin/pull/3731)

* Remove homepage template images.

* Use other-small on all industries, adjust text color.

* Remove background dim and opacity set to 0

* Fix/3631 (https://github.com/woocommerce/woocommerce-admin/pull/3730)

* Added CBD as an industry type

CBD was added as an industry type in API

* Industries options modified

Modified the industries options. Now we are able to choose if we will use an input or not in the option.

* API control changed for industries.

API control changed for industries. Now it accepts the data type we need.

* Added input in Industries list for the option "Other"

Added an input for the option "Other" in the industries list

* Added suggested changes in review comments.

* Added data preparation for recordEvent

* Changed variable to snake_case

The variable "industriesWithDetail" was changed to "industries_with_detail" (snake_case)

* Onboarding: Create homepage without redirect (https://github.com/woocommerce/woocommerce-admin/pull/3727)

* Add link to edit homepage instead of redirect

* Add busy state to homepage creation button

* Publish homepage on create via API

* Update homepage notice to show on first post update

* Update homepage creation notice per design

* Record event on customize homepage

* Set homepage to frontpage on creation

* Add deactivation note for feature plugin (https://github.com/woocommerce/woocommerce-admin/pull/3687)

* Add version deactivation note

* Add the note to deactivate if the version is older than the current WC version

* Deactivate wc admin feature plugin on action click

* Add notes version hooks

* change the Package class namespace to exclude from standalone autoloader

* add use statement for FeaturePlugin

* add note explaining namespace

* use wc-admin-deactivate-plugin note name

* Rename file and class to WC_Admin_Notes_Deactivate_Plugin

Co-authored-by: Ron Rennick <ron@ronandandrea.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>

* Add Travis tests on GH for release branch (https://github.com/woocommerce/woocommerce-admin/pull/3751)

* Add Travis tests on GH for release branch

* fix linter errors

* ActivityPanels.php -> use public static functions

* Remove free text Search option when no query exists (https://github.com/woocommerce/woocommerce-admin/pull/3755)

* Revert changes in woocommerce/woocommerce-admin#3700

* Don't add free text search if no query exists

* Add tests for Search without query

* Add test for showing free text search option

* Fix image sideloading for store industries. (https://github.com/woocommerce/woocommerce-admin/pull/3743)

* Fix image sideloading for store industries.

Data format changed in https://github.com/woocommerce/woocommerce-admin/pull/3730

* Fix industry image sideload in cases where the count is less than requested.

* Be backwards compatible with the old industry data format.

* Added event props to identify stores with WCS and Jetpack installed (https://github.com/woocommerce/woocommerce-admin/pull/3750)

* Added event props to identify stores with WCS and Jetpack installed

Also, added Jeckpack connected status

* Improved variable name

* Simplified method

Simplified method. "intersection" check was removed

* Tests errors repeared

The method "clear_low_out_of_stock_count_transient" now is static.

* OBW: fix sideloading image test error (https://github.com/woocommerce/woocommerce-admin/pull/3762)

* Release 0.26.0 changes (https://github.com/woocommerce/woocommerce-admin/pull/3753)

* add deactivation hook to Package.php (https://github.com/woocommerce/woocommerce-admin/pull/3770)

* Add active version functions (https://github.com/woocommerce/woocommerce-admin/pull/3772)

* add active version functions to Package.php

Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>

* 0.26.1 changes (https://github.com/woocommerce/woocommerce-admin/pull/3773)

* Customers Report: fix missing report param in search (https://github.com/woocommerce/woocommerce-admin/pull/3778)

* Product titles include encoded entities (https://github.com/woocommerce/woocommerce-admin/pull/3765)

* Stripped HTML from product titles and decoded before displaying them

Stripped html from product titles and entities are decoded before displaying them

* Stripped HTML from product titles and decoded in Stock report

Stripped html from product titles and entities are decoded before displaying them. Now in Stock report

* Added support for HTML tags and encoded entities on product titles

Added support for HTML tags and encoded entities on filtered product list, dropdown menus and tag names.
Also, strip_tags() function was replaced with wp_strip_all_tags() instead.

* strip_tags() function was replaced with wp_strip_all_tags() instead.

* Added control for a variable

Added control for "item->data" before applying wp_strip_all_tags method.

* pre-commit changes

* Test text corrected

* Enable taxes on automatic tax setup (https://github.com/woocommerce/woocommerce-admin/pull/3795)

* Update Country Labeling to Match Core (https://github.com/woocommerce/woocommerce-admin/pull/3790)

* Updated country labeling

Country labeling on Customer Report was updated

* Updated country labeling in other files

* remove .jitm-card notice padding (https://github.com/woocommerce/woocommerce-admin/pull/3814)

* OBW Connect: Fix requesting state (https://github.com/woocommerce/woocommerce-admin/pull/3786)

* OBW Connect: Fix requesting state

* pass down setIsPending

* setIspending propType

* defaultProps

* test

* Revert "test"

This reverts commit e921092b19401931cc1aec8ee84fa53c53b67f36.

* better comparison for redirect

* Fixes Taxes Report search bug and adds initial documentation. (https://github.com/woocommerce/woocommerce-admin/pull/3816)

* Initial Taxes Report documentation.

* Fix taxes endpoint search parameter.

* OBW: Fix retry plugin install button disappearing (https://github.com/woocommerce/woocommerce-admin/pull/3787)

* OBW: Fix retry plugin install btn disappearing

* try suggestion

* Revert "try suggestion"

This reverts commit 5b9386957a501ac3e729e5f16b0ee71c9d792859.

* Fix special character escaping in search. (https://github.com/woocommerce/woocommerce-admin/pull/3826)

* Properly prepare/escape special characters in Product search.

* Properly prepare/escape special characters in Coupon search.

* Properly prepare/escape special characters in Tax code search.

* Fix tracking on migrated options (https://github.com/woocommerce/woocommerce-admin/pull/3828)

* Don't track onboarding toggle if migrating options

* Prevent WC_Tracks from recording event post types not yet registered

* Activity Panels: Remove W Panel (https://github.com/woocommerce/woocommerce-admin/pull/3827)

* Remove W Notif Panel.

* Add back in trapping logic, and hide on non-embed pages.

* add npm run test:zip command (https://github.com/woocommerce/woocommerce-admin/pull/3823)

* add npm run test:zip command

* 1.0.0 release changes🎉 (https://github.com/woocommerce/woocommerce-admin/pull/3831)

* 1.0.0 release changes🎉

* changelog

* 0.26.1 changelog

* Add Report Extension Example: Add default props to ReportFilters (https://github.com/woocommerce/woocommerce-admin/pull/3830)

* ReportFilters component: Add sane defaults

* styles

* add required column

* add left join to sku ordering (https://github.com/woocommerce/woocommerce-admin/pull/3845)

* Deal with lint errors, and improperly merged files

* regenerate package-lock.json

* attempting to resolve package lock conflict.

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
Co-authored-by: Fernando <ultimoround@gmail.com>
Co-authored-by: edmundcwm <edmundcwm@gmail.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-03-10 15:47:39 +13:00
Joshua T Flowers ad3b7cdb3f Onboarding: Redesign plugin benefits screen (https://github.com/woocommerce/woocommerce-admin/pull/3764)
* Remove header and header logo for non-stepper pages

* Add new WCS and Jetpack logo svg

* Update benefits card layout

* Update benefits list descriptions and images

* Add benefit card styling

* Update plugin actions and notice styling

* Remove TOS notice

* Fix styling for benefits on mobile

* Update plugin name strings

* Fix grid columns and alignment

* Update button text to start plugin installation
2020-03-10 00:16:21 +01:00