Skip to content

Studio: Ensure refresh browser tool has the right icon in the agentic UI - #4159

Merged
katinthehatsite merged 2 commits into
trunkfrom
fix/preview-refresh-icon
Jul 13, 2026
Merged

Studio: Ensure refresh browser tool has the right icon in the agentic UI#4159
katinthehatsite merged 2 commits into
trunkfrom
fix/preview-refresh-icon

Conversation

@katinthehatsite

@katinthehatsite katinthehatsite commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Related issues

Fixes STU-1983

How AI was used in this PR

Not needed

Proposed Changes

This PR ensures that the refresh_browser tool in the agentic UI uses the refresh icon, similar to the browser refresh:

Screenshot 2026-07-10 at 10 51 19 AM

Testing Instructions

  • Pull the changes from this branch
  • Start Studio with npm start
  • Enable the Agentic UI feature flag from Studio -> Feature flags from the topbar
  • Open the chat for one of the sites
  • Ask the agent to make a visible change such as to change site title
  • Observe the refresh tool appear
  • Confirm that it has the correct refresh icon
  • Confirm that it looks good both in the dark and light modes

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
@katinthehatsite katinthehatsite changed the title Studio: Ensure refresh browser tool has the right icon in the agentic U Jul 10, 2026
@katinthehatsite
katinthehatsite requested a review from a team July 10, 2026 08:56
@wpmobilebot

wpmobilebot commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 057735b vs trunk

app-size

Metric trunk 057735b Diff Change
App Size (Mac) 1419.48 MB 1419.48 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk 057735b Diff Change
load 1073 ms 1093 ms +20 ms ⚪ 0.0%

site-startup

Metric trunk 057735b Diff Change
siteCreation 6994 ms 6998 ms +4 ms ⚪ 0.0%
siteStartup 2352 ms 2354 ms +2 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@gavande1 gavande1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @katinthehatsite, Working as expected. LGTM

CleanShot 2026-07-13 at 13 30 25@2x
@katinthehatsite
katinthehatsite merged commit 1bcb82f into trunk Jul 13, 2026
11 checks passed
@katinthehatsite
katinthehatsite deleted the fix/preview-refresh-icon branch July 13, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants