* 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
* fix linting issues
* fix mis-merged changes
* Update jsdoc
Co-Authored-By: Paul Sealock <psealock@gmail.com>
Co-authored-by: Timmy Crawford <timmyc@users.noreply.github.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Fernando <ultimoround@gmail.com>
Co-authored-by: edmundcwm <edmundcwm@gmail.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
* Add PayFast payment gateway option for sites in South Africa
* Fix PayFast extension in the whitelist
* Configure PayFast from within the task list
* Triggering hook
* Show PayFast payment method at the bottom of the options
* When configuring the PayFast extension set the store currency to ZAR
* Remove withSelect from compose function
* Only do one call to update the settings
* basic empty storybook setup
* borrow (copy paste) config (module.rules & aliases) from main webpack
* story for rating (styling not working)
* correctly style rating stars in storybook
* import webpack config for storybook instead of paste
* tweak rating story to show partial stars
* stylelint fixes
* pin storybook addons versions
* add knobs for rating & totalStars
* add knob for size + use defaultProps for knob defaults
* import all component styles into storybook preview:
- stories shouldn't import component styles directly, consistent with
how they are used
* 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)
Co-authored-by: Timmy Crawford <timmyc@users.noreply.github.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Fernando <ultimoround@gmail.com>
Co-authored-by: edmundcwm <edmundcwm@gmail.com>
* Make analytics tables use the site's date format setting
* Use getSetting instead of the wcSettings global
* Use configured date format in coupons analytics table
* Use default date format as fallback in analytics
* Rename downloads table class name
* Added link to "go shopping" button
Onboarding - added a link to the shop page in the "go shopping" button
* Now using core's helper method
* Added esc_url function to shop_url
* woocommerce_get_page_id was replaced by wc_get_page_id
* align code styles with the same configuration as Woo-Blocks
* initial pass of reformat-files
* applies manual fixes to various new linting errors surfaced by the configuration change.
* Fix state mutation in image-upload
* remove unused pre-commit-hook.js
* requestAnimationFrame -> window.requestAnimationFrame
* wc-api eslint changes
* eslint fixes on client/lib and client/settings
* client/header eslint changes
* fixes for client/dashboard part 1
* fixes client/dashboard part 2 of 2
* client/analytics part 1
* client/analytics continued
* client/analytics, last batch
* rename __mock__ directory
* pass in useEffect, useState from React component or function
* remove '+' from sprintf string argument
* use ref instead of findDOMNode
* reformat and repaply package.json changes
* install deps before running linter in Travis
* useGetCountryStateAutofill
* counryStateAutofill
* countryStateAutofill
Co-authored-by: Paul Sealock <psealock@gmail.com>
When viewing the Accounts & Privacy tab in WooCommerce Settings, the page title in the breadcrumbs includes an "&".
Now "decodeEntities" method is used to correct the breadcrumb.
* Mark profiler as complete if previous onboarding install has been handled
* Load features before WC updated hooks
* Add todo note about updating core install check
* Mark payments task complete when payment configured
* Only mark complete when all payments configured
* Only mark payments complete if all payments configured
* Add various input states classes to the text control with affixes component
* Replace TextControl with TextControlWithAffixes in shipping rates
* Style TextControlWithAffixes for shipping rates in task list
* Always provide a formatted currency string
* Always display shipping rate labels and affixes
* Add components changelog entry.
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
* Allow installed themes to be installed and activated
* Filter themes on client-side by WC support and currently active
* Run transient deletion hook during REST requests
* Delete transient on theme switch for non-admin requests
* Remove already active plugins from install list
* Update global with newly activated and installed plugins
* Cache activated plugins to prevent step removal
* Don't truncate table data on uninstall if WooCommerce Admin is in core.
* DROP tables on uninstall (like core does).
* Migrate wc_ prefix options to woocommerce_.
This allows core WC to clean up when uninstalled.
* Migrate wc_ prefixed user meta fields to woocommerce_.
This allows core WC to clean up when uninstalled.
* Fix use of date().
* Update comment describing the option value filter.
* Add prop to show all options on focus
* Add example to devdocs for refocus option
* Highlight search query on refocus
* Make country/state dropdown show all options on refocus
* Center align theme action buttons
* Add separate button for current theme
* Make live demo button tertiary
* Update styles for default and tertiary buttons in theme actions
* Add note to complete profiler
* Add note actions
* Update note to actioned when profiler is marked complete
* Update note to actioned client-side when completing profiler
* Prevent fetch from running on empty query
* Return empty string when query is null
* Add debounce time to filtered options in SelectControl
* Add searchDebounceTime as prop to SelectControl
* Close expanded list on tab
* Add currently selected index on tab
* Add purchase task and modal to task list
* Track when cart modal is opened from task list
* Track when extensions are purchased or skipped
* Track checkout proceed on modal close
* Add an array of installed plugins to wcSettings
* Don't include already installed plugins in cart items
* Move cart modal component
* Add purchase task and modal to task list
* Rename ambiguous task getter method
* Remove modal purchase later prop
* Show completed product purchase task item after purchase
* Don't show cart modal if all items previously purchased
* update i18n scripts for making JSON files
* update documentation
* update postbuild command for new translation script
* update per feedback
* update readme instructions
* update script reference patterns to anywhere on line
* Add theme name to theme activation response
* Install and activate theme on choose in profiler
* Only auto install free themes and not currently active themes
* Move getPriceValue to dashboard utils
* Don't add free themes to the cart
* Add API endpoint to install themes
* Add API endpoint to activate a theme
* Add an array of allowed themes and sanitize slugs
* Limit allowed themes to already installed or free themes
* Add theme installation tests
* Add tests for theme activation
* Add onboarding theme installation and activation tests
* Remove unused argument in onboarding plugins API
* Add purchase modal to confirm intent before cart redirect
* Handle PR feedback: Fix comment on getProductIdsForCart, move cart modal to open on theme page (which rewrites the mark completed functionality), fix CSS display, Add busy stsate to redirect to cart button
* Fix some minor naming issues and add a busy state on thee later link
* Add filter to conditionally disable report caching.
* Disable caching for Orders Stats unit tests.
Fixes the display of the last query when tests fail.
* Style Search component for 5.3.
* Reset native select control styles.
* Fix styling of selected radio options.
* Fix bottom margin on select inputs in filters and pagination.
* Update DropdownButton styles for WP 5.3.
* Style DropdownButton arrow as a chevron.
* Fix tooltip arrow styling.
* Style TextControlWithAffixes for WP 5.3.
* Flatten pagination button style.
* Use SelectControl for StoreAlert snooze action.
* Remove 3D look and use chevron on SplitButton.
* Add changelog entry.
* Fix stylelint issues.
* Update test snapshots.
* Add TextControlWithAffixes disabled prop to documentation and proptypes.
* Use WP checkboxes in ReportTable columns.
* Fix TableCard header background colors.
* Add padding to EllipsisMenu toggle controls.
* Remove version-specific styles.
We require WP 5.3 as a minimum now.
* Fix WC-admin loading on Status > Logs page.
* WIP render admin bar on all WC settings pages.
* Connect all settings, status, extension, and report pages using a filter.
* Get product types from profile items or set to empty array
* Remove duplicate cart redirect methods
* Add missing cart redirect params
* Use path for wccom-back instead of full url
* Add buttonText prop and default text to shipping rates component
* Make button text dependent on remaining task visibility
* Determine task step visibility by plugins
* Do a rough conversion of the currency ranges on the revenue question
* add a zero for every additional digit beyond the first digit to round currencies with larger differences in exchange rates