Skip to content

Conversation

@escapemanuele
Copy link
Contributor

@escapemanuele escapemanuele commented Dec 24, 2025

Fixes https://linear.app/a8c/issue/DOTCOM-15539/add-loader-odie-thinking-when-creating-conversation

Proposed Changes

  • Do not add the transfer messages right away. They would be changed if an error occurs.
image
  • Add a "Thinking" message where we say that we're transferring to live chat.
  • Add the transfer messages only if the escalation succeeds.
Screen.Recording.2026-01-06.at.16.05.58.mov

NEXT: https://linear.app/a8c/issue/DOTSUP-381/improve-odie-human-handoff

Testing Instructions

  • Run this locally
  • Ask to talk with a human
  • Ask to talk with a human when you already have an open conversation

@matticbot
Copy link
Contributor

matticbot commented Dec 24, 2025

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • help-center

To test WordPress.com changes, run install-plugin.sh $pluginSlug DOTCOM-15539/add-loader-odie-thinking-when-creating-conversation on your sandbox.

@matticbot
Copy link
Contributor

matticbot commented Dec 24, 2025

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

Async-loaded Components (~64 bytes added 📈 [gzipped])

Details
name                               parsed_size           gzip_size
async-load-help-center-app               +38 B  (+0.0%)      +64 B  (+0.0%)
async-load-automattic-help-center        +38 B  (+0.0%)      +64 B  (+0.0%)

React components that are loaded lazily, when a certain part of UI is displayed for the first time.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory.
Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

@escapemanuele escapemanuele changed the title Help Center: Remove transfer messages Help Center: Add loading state when transferring to Zendesk Dec 24, 2025
@escapemanuele escapemanuele force-pushed the DOTCOM-15539/add-loader-odie-thinking-when-creating-conversation branch from 0b765d1 to 8b6fee1 Compare January 5, 2026 15:27
@escapemanuele escapemanuele requested a review from a team January 6, 2026 16:48
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jan 6, 2026
@escapemanuele escapemanuele marked this pull request as ready for review January 6, 2026 16:49
{ chat.provider === 'odie' && chat.status === 'transfer' && (
<ThinkingPlaceholder
content={
__( 'Connecting to the support team', __i18n_text_domain__ ) +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps instead of Connecting to the support team, we can say Requesting human support. This should align well with the marker we'll show after that says "Waiting for human".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Filippo, I updated the copy!

Copy link
Contributor

@fditrapani fditrapani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this Emanuele! I added a minor comment for the copy.

@escapemanuele escapemanuele added the [Status] String Freeze Add the [Status] String Freeze label to your PR to ensure new strings are translated before merging label Jan 7, 2026
@a8ci18n
Copy link

a8ci18n commented Jan 7, 2026

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/31456402

Some locales (Hebrew) have been temporarily machine-translated due to translator availability. All other translations are usually ready within a few days. Untranslated and machine-translated strings will be sent for translation next Monday and are expected to be completed by the following Friday.

Thank you @escapemanuele for including a screenshot in the description! This is really helpful for our translators.

Copy link
Contributor

@fditrapani fditrapani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update! looks good on my end!

Copy link
Contributor

@dsas dsas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine 👍

@escapemanuele escapemanuele merged commit d096256 into trunk Jan 8, 2026
13 of 14 checks passed
@escapemanuele escapemanuele deleted the DOTCOM-15539/add-loader-odie-thinking-when-creating-conversation branch January 8, 2026 16:17
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jan 8, 2026
@github-actions github-actions bot removed the [Status] String Freeze Add the [Status] String Freeze label to your PR to ensure new strings are translated before merging label Jan 8, 2026
@a8ci18n
Copy link

a8ci18n commented Jan 8, 2026

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/31456402

Some locales (Hebrew) have been temporarily machine-translated due to translator availability. All other translations are usually ready within a few days. Untranslated and machine-translated strings will be sent for translation next Monday and are expected to be completed by the following Friday.

Thank you @escapemanuele for including a screenshot in the description! This is really helpful for our translators.

heydemoura pushed a commit that referenced this pull request Jan 18, 2026
* Remove transfer messages

* Use thinking placeholder

* Add zendesk staging

* Change copy

* Better copy

* Refactor code

* Get message from const

* No Odie transfer needed

* Reitnroduce transfer messages

* Better user message

* Change copy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants