Skip to content

Conversation

@QianKuang8
Copy link
Contributor

@QianKuang8 QianKuang8 commented Nov 13, 2025

Description

Discussion in #8085

Add a reload button and an action

With manual test, it works well in normal case. Not 100% sure whether it would work when UI freezes.

video.mp4

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • [] I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screen recording or screenshot

image image

Tests

[ What tests were added or updated to ensure the changes work as expected? ]


Summary by cubic

Adds a Reload button for the Continue tool window that rebuilds the JCEF browser and client to recover from freezes or crashes.

  • New Features

    • Added ReloadBrowserAction and toolbar button to dispose the current JCEF browser and re-create it, then refresh tool window content.
    • ContinueBrowserService now provides reload() and load() to manage lifecycle and re-initialization.
  • Bug Fixes

    • Use a dedicated JBCefClient with JS_QUERY_POOL_SIZE=200 set correctly and disposed on teardown.

Written for commit 53f5aad. Summary will update automatically on new commits.

@QianKuang8 QianKuang8 requested a review from a team as a code owner November 13, 2025 06:27
@QianKuang8 QianKuang8 requested review from Patrick-Erichsen and removed request for a team November 13, 2025 06:27
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Nov 13, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

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

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant