Repository navigation
feat(drives): hide file names for screen sharing (#193817) - #610
Merged
Merged
Conversation
An eye button in the Drives tab hides folder names, file names and paths; rows show only the kind, size and date. The sheet reveals one path on request, and leaving the view or pressing Escape hides it again. Copy path still copies the real path; if the clipboard refuses, the fallback does not print a hidden path. Drive names stay. Remembered on this device; off until turned on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Atlas ticket #193817 (not a GitHub issue). Threat follow-up from the Drives tab readiness review (#193705, PRs #602 and #608).
Type of change
What does this PR do?
The Drives tab lists sensitive files by path (
.envfiles, credentials, database dumps), so a screen share, a screenshot or a film capture can show them. This adds Hide file names, an eye button in the tab's header:title) are dropped while hidden, since they carried the path too.localStorage, wrapped for blocked storage) and starts off.How did you verify your code works?
Drove the real panel in Chromium (this branch's UI via vite, against the compiled engine) with live data at 360px, checking the panel's whole HTML for path fragments at every step:
_IRIS_WORK,_LEGACY,_ARCHIVEor.sqlanywhere in the panel, tooltips included.Tests:
packages/appsession tests 995 pass, 1 fail. The failure is the enforced-schedule case iniris-heartbeats-model.test.ts, which fails the same way oniris/1.18.23. A new unit test checks a hidden row never shows a name or folder.Screenshots / recordings
Captured on iris-hive-001. Not attached, because they show a real drive catalogue.
Checklist
🤖 Generated with Claude Code