Joshua T Flowers
24ccd6803b
Add survey URL builder method ( https://github.com/woocommerce/woocommerce-admin/pull/6066 )
...
* Add survey class and URL builder method
* Use survey URL method in notes
* Pass survey URL to opt out modal
* Simplify source/query filter
* Move survey URL to constant
2021-01-15 09:54:26 -05:00
Bec Scott
b606a6933e
New note: manage activity from home screen ( https://github.com/woocommerce/woocommerce-admin/pull/6072 )
...
* New note: manage activity from home screen
* update readme and fix compared version
* tweak the newly installed action name
2021-01-15 11:34:00 +10:00
Paul Sealock
3835cfc13a
Changelog update ( https://github.com/woocommerce/woocommerce-admin/pull/6070 )
2021-01-15 14:08:10 +13:00
Moon
583e87f29a
Add a new note about the variable product when the owner adds the fir… ( https://github.com/woocommerce/woocommerce-admin/pull/6021 )
...
* Add a new note about the variable product when the owner adds the first product
* Attempt to add a new note when a product gets published
* Change logic to check only post status and type
* Add tests cases
2021-01-14 15:33:22 -08:00
Joshua T Flowers
d05d615f71
Add missing keys to activity panel on homescreen ( https://github.com/woocommerce/woocommerce-admin/pull/6065 )
2021-01-14 17:04:16 -05:00
Paul Sealock
0bde0d5fea
Version bump to 2.0.0-dev ( https://github.com/woocommerce/woocommerce-admin/pull/6071 )
...
* version bump to 1.10.0-dev
* use WP version 2.0.0
2021-01-15 09:21:47 +13:00
Fernando
46c59b4d8d
Fixed error hiding core task list ( https://github.com/woocommerce/woocommerce-admin/pull/6050 )
...
* Fixed hiding core task list
This commit fixes the hiding of the core task list
* Added tests
* Added fix to readme.txt
* Fixed readme.txt
* Added new test
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-01-14 13:59:31 -03:00
louwie17
4ab71bd963
Update travis CI to use a new distribution - xenial ( https://github.com/woocommerce/woocommerce-admin/pull/6067 )
...
* Update travis CI to use a new distribution - xenial
* Add changelog
2021-01-14 09:43:14 -04:00
Ilyas Foo
e8e791dc0b
Fix for translation chunks not generated on plugin activation ( https://github.com/woocommerce/woocommerce-admin/pull/6028 )
...
* Fix for translation chunks not generated on plugin activation
* Add support for woocommerce_activated_plugin hook to work as embedded package
* Update readme.txt
* Make sure woocommerce/woocommerce-admin#5062 does not regress by adding checks before accessing files
* Consolidate duplicated codes
2021-01-14 13:22:12 +08:00
renovate[bot]
52197af57e
Pin dependency @babel/runtime to 7.12.5 ( https://github.com/woocommerce/woocommerce-admin/pull/6053 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-14 10:39:31 +13:00
Sam Seay
94af45fef0
Update the content of the ChooseNiche note. ( https://github.com/woocommerce/woocommerce-admin/pull/6048 )
2021-01-14 10:38:45 +13:00
renovate[bot]
219092808b
Update dependency @testing-library/react to v11.2.3 ( https://github.com/woocommerce/woocommerce-admin/pull/6057 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-14 10:38:18 +13:00
Paul Sealock
6b0c5ecda1
Apply IE fix for Array.flat ( https://github.com/woocommerce/woocommerce-admin/pull/6068 )
...
* Use babel to compile debug package (https://github.com/woocommerce/woocommerce-admin/pull/5987 )
* replace [].flat() with written js
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-01-14 10:01:35 +13:00
Joel Thiessen
1a45ae2c0d
Restrict beta features to only those that have opted into tracking, adding modal for navigation feature ( https://github.com/woocommerce/woocommerce-admin/pull/6054 )
2021-01-13 11:43:45 -08:00
Renovate Bot
839c56d57a
Update dependency @testing-library/jest-dom to v5.11.9
2021-01-13 06:26:32 +00:00
Renovate Bot
1fa4e3b153
Update storybook monorepo to v6.1.14
2021-01-13 04:14:59 +00:00
Renovate Bot
6067480fce
Update dependency husky to v4.3.7
2021-01-13 03:15:36 +00:00
Renovate Bot
3dded569e5
Update dependency autoprefixer to v10.2.1
2021-01-13 02:35:31 +00:00
Fernando
513173a9d9
Add merchant email notifications ( https://github.com/woocommerce/woocommerce-admin/pull/5922 )
...
* Added MerchantEmailNotifications class
* Added new type and Events refactor
# Conflicts:
# src/Events.php
* Added templates
* Refactored MerchantEmailNotifications and NotificationEmail
* Templates refactored
* Added email opening tracking endpoint
* Added templates handling
* Moved folder `MerchantEmailNotifications`
* Fixed template extensibility
* Fixed note `heading` check
* Added default type in `get_template_filename`
* Added tests
* Removed bypass
* Modified URL
* Added required noteTypes
* Added flag for functionallity
* Fixed plain link
* Fixed comment
* Turned email notifications on by default
This commit adds the code to turn email notifications on by default
* Fixed email styles
* Fixed typo
* Renamed method "possible_send" as "run"
* Removed unnecessary control
* Fixed another typo
* Renamed method as "get_notification_email_addresses"
* Refactored method "send_merchant_notification"
* Renamed plain-merchant-notification
* Fixed tests
* Merchant email notifications - Action triggering (https://github.com/woocommerce/woocommerce-admin/pull/5976 )
* Added templates
# Conflicts:
# includes/emails/plain-mechant-notification.php
# Conflicts:
# includes/emails/html-merchant-notification.php
* Added note action triggering
This commit adds the note actions triggering
# Conflicts:
# includes/emails/html-merchant-notification.php
* Fixed error handling
* Refactored "trigger_note_action" method
* Fixed actions url
* Fixed note URL
* Added external redirect
* Added image and html handling for email
* Fixed tests
* Fixed buttons style
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Add your first product: email notification (https://github.com/woocommerce/woocommerce-admin/pull/6024 )
* Added AddFirstProduct note
# Conflicts:
# src/Events.php
* Added "AddFirstProduct" email note
This commit adds the email note "AddFirstProduct"
* Fixed image
This commit removes the image img-product-light.svg to use a png instead. Otherwise, the gmail proxy would break the image
* Fixed readme.txt
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Added readme.txt
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-01-12 21:09:22 -03:00
Joshua T Flowers
0b3f4d8e92
Try: Replace Accordion with Panel component ( https://github.com/woocommerce/woocommerce-admin/pull/5970 )
...
* Use Panel for Activity Panels
* Update styling for panels in activity panels
* Remove Accordion component
* Add collapsible param to activity panel tests
* Fix errant comma
* Add bottom border to panel header toggle and remove disbled button styling
* Update empty activity card styles
* Add border between activity cards
2021-01-12 16:18:51 -05:00
Sam Seay
f1d649a657
Add an unread indicator to inbox messages based on existing logic. ( https://github.com/woocommerce/woocommerce-admin/pull/6047 )
2021-01-13 08:48:24 +13:00
Moon
24a92d59bb
Remove unnecessary color override for the primary button ( https://github.com/woocommerce/woocommerce-admin/pull/6002 )
2021-01-11 20:41:44 -08:00
Adrian Duffell
3f044e8118
Remove deprecated use of Jetpack in shipping label banner ( https://github.com/woocommerce/woocommerce-admin/pull/5929 )
2021-01-12 08:43:34 +08:00
Nick Korovaiko
c376d501c7
Fix undefined variable when database does not have collation capability
...
* handle the unsupported collation case
* add an entry to readme.txt[Unreleased]
Co-authored-by: Nikolay Korovaiko <villedepommes@l-mhjo56y7ce.TheFacebook.com>
Co-authored-by: Nick Korovaiko <villedepommes@fb.com>
2021-01-11 08:05:09 +08:00
Bec Scott
fe871be92d
Add note for users coming from Calypso ( https://github.com/woocommerce/woocommerce-admin/pull/6030 )
...
* Add note for users coming from Calypso if the site has wpcomsh installed
* remove check for wpcomsh
* Add release note
2021-01-11 09:24:28 +10:00
Joshua T Flowers
6d3d81abba
Add feature toggle and extensibility ( https://github.com/woocommerce/woocommerce-admin/pull/6007 )
...
* Make WCA features list extensible
* Add navigation feature toggle
* Don't add features section if no features exist
* Turn off nav feature in core
* Move update text to nav feature toggle
2021-01-08 10:28:23 -05:00
Moon
aa602e66cf
Display the task components regardless of woocommerce_task_list_hidden value ( https://github.com/woocommerce/woocommerce-admin/pull/6026 )
2021-01-07 19:24:23 -08:00
Bec Scott
3338c273c2
Add welcome modal when coming from Calypso ( https://github.com/woocommerce/woocommerce-admin/pull/6004 )
...
* Add welcome modal when coming from Calypso
* add to changelog
* do some important work for prettier
* udpated with final copy
* Add PR number to readme
2021-01-08 12:06:52 +10:00
Moon
50e0ff1599
Add a new note when the store is 3+ days old and product count is 0 ( https://github.com/woocommerce/woocommerce-admin/pull/6019 )
2021-01-07 17:10:07 -08:00
Joshua T Flowers
bc998444a3
Future proof experimental components ( https://github.com/woocommerce/woocommerce-admin/pull/5961 )
...
* Possibly use safe Text component
* Possibly use safe navigation components
* Add experimental package
* Update components to import from woocommerce/experimental
* Make experimental package private
* Reference experimental package relatively
* Update packages/experimental/README.md
Co-authored-by: Paul Sealock <psealock@gmail.com>
* Update packages/experimental/CHANGELOG.md
Co-authored-by: Paul Sealock <psealock@gmail.com>
* Update history state instead of mocking getQuery in tests
* Handle PR feedback
* Create excluded externals array and return early
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-01-07 18:57:09 -05:00
Joshua T Flowers
7884ae079f
Update onboarding email marketing note title ( https://github.com/woocommerce/woocommerce-admin/pull/5997 )
2021-01-07 16:24:14 -05:00
Joshua T Flowers
24261198ad
Show DrawAttention note after 3 days ( https://github.com/woocommerce/woocommerce-admin/pull/5998 )
2021-01-07 16:23:43 -05:00
Lee Willis
6c3f30a1de
Fix undefined index error ( https://github.com/woocommerce/woocommerce-admin/pull/5990 )
...
Co-authored-by: Lee Willis <lee@ademti-software.co.uk>
2021-01-07 16:13:56 -05:00
Paul Sealock
b1ed75aa11
version bump to 1.9.0-dev ( https://github.com/woocommerce/woocommerce-admin/pull/5999 )
2021-01-08 08:41:29 +13:00
Moon
44571a0379
Fix visual glitches on OBW when screen width is less than 438px ( https://github.com/woocommerce/woocommerce-admin/pull/6001 )
...
* Added media selector to target viewport size less than 438px for the label
* Added media selector to target viewport size less than 375px for the pricing label
2021-01-07 10:23:40 -08:00
Joel Thiessen
2f9598e4ed
Adding history listener to support persisted queries for new navigation ( https://github.com/woocommerce/woocommerce-admin/pull/5883 )
2021-01-07 08:53:31 -08:00
louwie17
83524c7f69
Remove visit count on track and only count uncompleted task visits ( https://github.com/woocommerce/woocommerce-admin/pull/5996 )
...
* Remove visit count, and only count uncompleted task visits
* Add changelog
* Remove unused constant
2021-01-07 09:27:12 -04:00
Moon
058e222607
Add new note for the theme marketplace ( https://github.com/woocommerce/woocommerce-admin/pull/6016 )
...
* Add a new note for the theme marketplace
2021-01-06 22:49:29 -08:00
Moon
ef4d8a0339
Update title and content ( https://github.com/woocommerce/woocommerce-admin/pull/6003 )
2021-01-06 22:42:26 -08:00
Moon
00289ddb91
Remove HomeScreenFeedback note ( https://github.com/woocommerce/woocommerce-admin/pull/6014 )
...
* Remove HomeScreenFeedback
* Add wc-admin-home-screen-feedback to the obsolete_notes list
2021-01-06 22:39:22 -08:00
Moon
285aaa9b44
Add new note for the first product and payment setup insight ( https://github.com/woocommerce/woocommerce-admin/pull/6015 )
...
* Add new note for the first product and payment setup insight
* Remove note from FeaturePlugin -- it is unncessary
2021-01-06 22:39:04 -08:00
Renovate Bot
63446a69c6
Update dependency autoprefixer to v10
2021-01-07 03:48:00 +00:00
Jeff Stieler
06767113e5
Fix task list toggle logic in help tab. ( https://github.com/woocommerce/woocommerce-admin/pull/5975 )
2021-01-07 14:10:27 +13:00
Jeff Stieler
0c951a4652
Reduce Unnecessary Re-renders in Revenue Report ( https://github.com/woocommerce/woocommerce-admin/pull/5986 )
...
* Avoid new references in getReportChartData() return.
* Avoid some new references in ReportTable component.
* Avoid some new references, fix cache key for getReportChartData memoization.
* Memoize date package functions used in ReportTable.
* Avoid more new references in RevenueReportTable.
2021-01-07 14:01:45 +13:00
Lee Willis
e908bb19c2
Add missing text domain ( https://github.com/woocommerce/woocommerce-admin/pull/5995 )
...
Add missing text domain
Co-authored-by: Lee Willis <lee@ademti-software.co.uk>
2021-01-07 13:20:12 +13:00
Adrian Duffell
f6b61f8107
Add Line-Ending Normalization to Text Files in Git ( https://github.com/woocommerce/woocommerce-admin/pull/5917 )
...
Add normalization of text files in Git
2021-01-07 13:00:22 +13:00
renovate[bot]
1b2f20b6bb
Update dependency react-transition-group to v4.4.1 ( https://github.com/woocommerce/woocommerce-admin/pull/5950 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-07 12:57:50 +13:00
renovate[bot]
caeaa40a66
Pin dependency github-label-sync to 2.0.0 ( https://github.com/woocommerce/woocommerce-admin/pull/6010 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-07 12:56:44 +13:00
renovate[bot]
d12fb1cc9a
Update shivammathur/setup-php action to v2.9.0 ( https://github.com/woocommerce/woocommerce-admin/pull/6011 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-07 12:51:43 +13:00
Sam Seay
a2c4a6a306
A/B test creating a business features step for free extensions ( https://github.com/woocommerce/woocommerce-admin/pull/5786 )
...
This fixes woocommerce/woocommerce-admin#5287
Major changes:
1. The `<Form>` component (which is a published component) gets a new optional prop (so its backward compatible), called `onChangeCallback`. This is called when any form value changes, allowing the controlling component to act on individual form changes. This was needed to utilise `<Form>` to revalidate and check if the user could access the next tab. This should not impact existing usages of the `<Form>`, but it could be good to test this.
2. Introduces a new flow for choosing business extensions that was specified in woocommerce/woocommerce-admin#5287 issue description. Please check the issue for reviewing the designs. The simplest way to implement this, ended up being keeping the existing flow intact and where necessary copy pasting code from those components into the new flow. This new flow is only shown if your segmentation matches the following: `Stores that selected the US as the country and Other or Food & Drinks as the industry
2021-01-07 11:08:57 +13:00