File tree Expand file tree Collapse file tree 3 files changed +6
-15
lines changed
webview-ui/src/components/settings Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " claude-dev " : patch
3+ ---
4+
5+ browserConnectionResult protobus migration/removal
6+
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ export interface ExtensionMessage {
3535 | "userCreditsBalance"
3636 | "userCreditsUsage"
3737 | "userCreditsPayments"
38- | "browserConnectionResult"
3938 | "fileSearchResults"
4039 | "grpc_response" // New type for gRPC responses
4140 text ?: string
Original file line number Diff line number Diff line change @@ -59,20 +59,6 @@ export const BrowserSettingsSection: React.FC = () => {
5959 const [ isBundled , setIsBundled ] = useState ( false )
6060 const [ detectedChromePath , setDetectedChromePath ] = useState < string | null > ( null )
6161
62- // Listen for browser connection test results
63- useEffect ( ( ) => {
64- const handleMessage = ( event : MessageEvent ) => {
65- const message = event . data
66- if ( message . type === "browserConnectionResult" ) {
67- setConnectionStatus ( message . success )
68- setIsCheckingConnection ( false )
69- }
70- }
71-
72- window . addEventListener ( "message" , handleMessage )
73- return ( ) => window . removeEventListener ( "message" , handleMessage )
74- } , [ ] )
75-
7662 // Auto-clear relaunch result message after 15 seconds
7763 useEffect ( ( ) => {
7864 if ( relaunchResult ) {
You can’t perform that action at this time.
0 commit comments