GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): include agent browser access in Restore defaults · pingdotgg/t3code@0d31f11

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/web/src/components/settings
    • SettingsPanels.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/web/src/components/settings/SettingsPanels.tsx‎

Copy file name to clipboardExpand all lines: apps/web/src/components/settings/SettingsPanels.tsx
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,9 @@ export function useSettingsRestore(onRestored?: () => void) {
531531
: []),
532532
...(isTextGenerationModelDirty ? ["Text generation model"] : []),
533533
...getChangedBrowserSettingLabels(settings),
534+
...(settings.enableAgentBrowserAccess !== DEFAULT_UNIFIED_SETTINGS.enableAgentBrowserAccess
535+
? ["Agent browser access"]
536+
: []),
534537
],
535538
[
536539
isTextGenerationModelDirty,
@@ -539,6 +542,7 @@ export function useSettingsRestore(onRestored?: () => void) {
539542
settings.browserDefaultZoomFactor,
540543
settings.browserDefaultAppearance,
541544
settings.browserAutoShowFloatingPreview,
545+
settings.enableAgentBrowserAccess,
542546
settings.confirmQuit,
543547
settings.confirmThreadArchive,
544548
settings.confirmThreadDelete,
@@ -667,6 +671,10 @@ export function useSettingsRestore(onRestored?: () => void) {
667671
browserDefaultZoomFactor: DEFAULT_UNIFIED_SETTINGS.browserDefaultZoomFactor,
668672
browserDefaultAppearance: DEFAULT_UNIFIED_SETTINGS.browserDefaultAppearance,
669673
browserAutoShowFloatingPreview: DEFAULT_UNIFIED_SETTINGS.browserAutoShowFloatingPreview,
674+
// Re-granted like any other default. The confirmation dialog lists it by
675+
// name, so a user restoring defaults is told the agent regains access
676+
// rather than discovering it later.
677+
enableAgentBrowserAccess: DEFAULT_UNIFIED_SETTINGS.enableAgentBrowserAccess,
670678
});
671679
onRestored?.();
672680
}, [

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.