feat(vscode): clarify sandbox restriction states - #11679
Conversation
Code Review SummaryStatus: 1 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Files Reviewed (3 files)
Previous Review Summaries (3 snapshots, latest commit e03fbd6)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit e03fbd6)Status: 1 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Files Reviewed (27 files)
Previous review (commit 2808def)Status: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Previous review (commit 37d81bf)Status: No Issues Found | Recommendation: Merge Files Reviewed (6 files)
Reviewed by gpt-5.4-20260305 · Input: 74K · Output: 4.9K · Cached: 195.8K Review guidance: REVIEW.md from base branch |
RSO
left a comment
There was a problem hiding this comment.
This icon has become complicated enough that I would love to make sure that there's a helpful tooltip shown when I hover over it, and that that tooltip also highlights the variant (e.g. "sandbox enabled and network restricted" or "sandbox enabled, network restrictions not active")
feat(vscode): clarify sandbox restriction states
The session sandbox toggle only indicated whether sandboxing was active, so users could not tell which filesystem and network restrictions would apply.
Keep the toolbar control visually simple with the existing lock and active-state dot. Its tooltip now presents separate Filesystem and Network rows with their effective states, followed by a short explanation of what clicking the toggle changes. When sandboxing is disabled both protections are shown as unrestricted; when enabled, the network row reflects whether network restriction is configured.
The structured tooltip uses reusable folder and globe icons, is translated across supported locales, and has dedicated enabled and disabled Storybook states for visual regression coverage.