Skip to content

feat: hover-to-reveal actions in app file list#40

Open
zeck00 wants to merge 2 commits intomomenbasel:mainfrom
zeck00:feat/hover-uninstall
Open

feat: hover-to-reveal actions in app file list#40
zeck00 wants to merge 2 commits intomomenbasel:mainfrom
zeck00:feat/hover-uninstall

Conversation

@zeck00
Copy link
Copy Markdown

@zeck00 zeck00 commented Apr 15, 2026

Summary

  • File rows in the app uninstaller show Reveal in Finder and Remove buttons on hover
  • Single-file removal with confirmation dialog (instead of only bulk removal)
  • Subtle background highlight on hover with smooth 150ms animation
  • Extracted FileRow component for cleaner separation

As suggested in the closed PR discussions — bringing the hover-to-reveal uninstall UX to v2's AppFilesView.

Test plan

  • Go to Installed Apps, select an app with discovered files
  • Hover over file rows — verify folder and trash icons appear
  • Click folder icon — verify file is revealed in Finder
  • Click trash icon — verify confirmation dialog appears
  • Confirm removal — verify file is removed from the list
  • Verify hover highlight is subtle and animates smoothly

🤖 Generated with Claude Code

zeck00 and others added 2 commits April 15, 2026 10:49
- File rows show Reveal in Finder and Remove buttons on hover
- Single-file removal with confirmation dialog
- Subtle background highlight on hover with smooth animation
- Extracted FileRow component for cleaner code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix app size showing 1 byte: replace kMDItemFSSize (returns directory
  entry size) with totalFileAllocatedSize for accurate bundle sizes
- Increase file enumeration limit from 5000 to 10000 for large apps
- Use Finder via AppleScript for file removal — triggers system auth
  prompt and works with macOS permission model
- Show error alert with "Open System Settings" button when removal
  fails due to missing Full Disk Access
- Verify files are actually gone from disk before removing from UI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@zeck00
Copy link
Copy Markdown
Author

zeck00 commented Apr 15, 2026

Note: When building locally without code signing (ad-hoc CODE_SIGN_IDENTITY="-"), PureMac won't appear in System Settings → Privacy & Security → Full Disk Access. This is a macOS limitation, only properly code-signed apps register in the TCC/FDA pane. File removal will fail with permission errors in unsigned builds. This works correctly when built with a valid Developer ID signing identity.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant