Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Help Center: Bring back message for incompatible browsers #93430

Closed kriskarkoski closed 4 days ago

kriskarkoski commented 2 months ago

Quick summary

Zendesk Messaging is incompatible with some browsers/configurations, notably Firefox private browsing and enhanced protection. We used to show a message in Odie in this situation to explain to the user what they needed to do to access chat. Previous to Omnichannel users could choose email, but that is no longer possible as a workaround.

Steps to reproduce

  1. Open Help Center
  2. Click Still Need Help
  3. Try to connect to support through Wapuu

What you expected to happen

To be able to submit a message to support through Help Center

What actually happened

The widget shows an error and there is no warning message. Here is where it is in the code:

https://github.com/Automattic/wp-calypso/blob/e3e0b326c06bcfb6541873e5f8a8abfabb777c1a/packages/help-center/src/components/help-center-contact-form.tsx#L545

The message is "In order to access the live chat widget, you will need to enable third-party cookies for WordPress.com." which we should update for our new experience. I think "In order to access support" would be flexible enough.

Impact

Some (< 50%)

Available workarounds?

Yes, difficult to implement

If the above answer is "Yes...", outline the workaround.

Without a warning the user has to find our email or figure out they need to enable third-party cookies or switch browsers.

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

retnonindya commented 2 months ago

πŸ“Œ REPRODUCTION RESULTS Uncertain

πŸ“Œ FINDINGS/SCREENSHOTS/VIDEO I might did the process incorrectly πŸ€” I tried with Firefox Private and Enhanced Protection, and it seems like I can submit question to Wapuu.

Screenshot 2024-08-14 at 3 39 45β€―PM

πŸ“Œ ACTIONS Triaged

kriskarkoski commented 2 months ago

Sorry if the steps were unclear @retnonindya, the issue is not with Wapuu but with contacting support (opening the Zendesk widget) after talking to Wapuu.

kriskarkoski commented 2 months ago

I suspect #93427 is related to this. 1Blocker grays out the contact support option (p1723724531557079-slack-CPJE78JQ5), presumably because the widget is blocked and the isMessagingScriptLoaded check mentioned on that issue fails. In addition to bringing back a message explaining how to access Messaging we could consider showing the email fallback option in these cases if uses don't care/want to deal with adjusting settings or switching browsers.

pauljacobson commented 1 month ago

We received a report about this in 8699495-zen where the user uses Firefox v130 on Windows 10 (system info). The user tested this in a Private window and shared these console logs: 359da-pb/

The user added the following:

I can confirm that we are using Firefox 130.0 (64-bit), have allowed wordpress.com in Privacy settings on the browser, and have disabled adblocking extensions for your domain.

github-actions[bot] commented 1 month ago

Support References

This comment is automatically generated. Please do not edit it.

arcangelini commented 5 days ago

I spent some time testing this out and was unable to reproduce this error. I tested in seemingly the same environment as the user in the ticket shared. All attempts to start a chat ended with me seeing the contact button greyed out and the notice to enable cookies on my computer.

I tried with multiple different security settings and in private mode. All led to the same result. All attempts to get the widget to load were fruitless. Is anyone else able to replicate this?

Image

arcangelini commented 4 days ago

Looks like this was addressed in https://github.com/Automattic/wp-calypso/pull/94884

kriskarkoski commented 4 days ago

Ah that explains it working now, thanks Tony!