Skip to content

Conversation

@sejas
Copy link
Member

@sejas sejas commented Dec 3, 2025

Related issues

Proposed Changes

We want to let users know that it's safe to close Studio while the server is applying changes.

  • Convert the dialog to information and update the title and description.
  • Update the tooltip when the push is in progress and the backup has been uploaded.

Testing Instructions

  • Run npm start
  • Connect a site and click push
  • Observe that the push is in progress
  • Try to quit the app by pressing cmd+q
  • Observe that the message is a warning, and communicates that the push will be aborted
  • Move the mouse over the information message
  • Confirm that the tooltip stays the same
  • After the backup has been uploaded
  • Try to quit the app by pressing cmd+q
  • Observe that the message is less scary, and communicates that the push will continue in the backend.
sync-alert-and-tooltip-updated.mp4

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@sejas sejas self-assigned this Dec 3, 2025
@sejas sejas requested a review from a team December 3, 2025 18:20
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

📊 Performance Test Results

Comparing 2a9fff8 vs trunk

site-editor

Metric trunk 2a9fff8 Diff Change
load 8763.00 ms 10508.00 ms +1745.00 ms 🔴 19.9%

site-startup

Metric trunk 2a9fff8 Diff Change
siteCreation 14223.00 ms 13196.00 ms -1027.00 ms 🟢 -7.2%
siteStartup 6000.00 ms 5976.00 ms -24.00 ms 🟢 -0.4%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change

Copy link
Contributor

@epeicher epeicher left a comment

Choose a reason for hiding this comment

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

Thanks @sejas for improving this! These changes better inform the user that it is safe to close Studio when the Push is running on the server. I have tested it, and it works as expected. I can see the tooltip and dialog with the updated text. LGTM! :shipit:

Tooltip cancellable push Dialog cancellable push Tooltip push continuing Dialog push continuing
Image Image Image Image

src/index.ts Outdated
: {
message: __( 'Sync will continue' ),
detail: __(
'The sync process will continue on the server side even after you quit Studio. We will send you an email when it is complete.'
Copy link
Contributor

Choose a reason for hiding this comment

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

I am wondering if server side is clear enough, I suggest for consideration

The sync process will continue on our servers even after you quit Studio. We will send you an email when it is complete.

But that is just a suggestion, feel free to keep the current one

Copy link
Contributor

Choose a reason for hiding this comment

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

Alternatively, we can also say something like The sync process will continue running remotely after you quit Studio. We will send you an email when it is complete.

Copy link
Member Author

Choose a reason for hiding this comment

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

Great suggestion. Changed it in a0c4579

pushBackupIsUploading( pushState?.status.key )
? __( 'Push is in progress. We will send you an email when it is completed.' )
: __(
"The push is in progress and will continue in the backend. We will send you an email once it's completed."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"The push is in progress and will continue in the backend. We will send you an email once it's completed."
"The push is in progress and will continue running. We will send you an email once it's completed."

I am just wondering if backend is the easiest wording to understand for users so suggesting a slightly simpler alternative.

Copy link
Member Author

Choose a reason for hiding this comment

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

I changed it to The push is in progress and will continue running remotely. We will send you an email once it's completed. in 4da6eea

Copy link
Contributor

@katinthehatsite katinthehatsite left a comment

Choose a reason for hiding this comment

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

The functionality looks good to me, I added some minor suggestions for wording.

@sejas sejas merged commit 309d677 into trunk Dec 4, 2025
11 checks passed
@sejas sejas deleted the update/stu-890-studio-improve-sync-push-tooltip-and-alert branch December 4, 2025 13:21
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.

4 participants