Skip to content

feat(files): add Shallow Scan UI toggle and state management in Advanced Settings - #172

Merged
NityamPareek merged 1 commit into
files-shallow-scanfrom
feat/shallow-scan-ui-settings
Sep 16, 2026
Merged

NityamPareek merged 1 commit into
files-shallow-scanfrom
feat/shallow-scan-ui-settings

Conversation

@NityamPareek

Copy link
Copy Markdown
Collaborator

Summary

  • Add shallow_scan toggle switch (CTkSwitch) at the top of Advanced Settings in ui/files_ui.py.
  • Create isolated UI helper module ui/files_shallow/shallow_ui_helpers.py.
  • When Shallow Scan is enabled:
    • Uncheck and disable all 4 Additional Settings checkboxes (Include Recycle Bin Contents, Include Historical File Versions, Scan for Encrypted Files, Generate Depth Report).
    • Temporarily disable SharePoint Sites checkbox and enforce Personal Sites (OneDrive).
    • Switch source to Scan All Sites, disable Upload CSV / Browse, and temporarily save/clear any previously selected CSV path (restoring it if toggled back off).
    • Omit the Metrics Calculation progress bar on scan start.
  • Add shallow_scan: bool = False field to ScanConfig in util/utils.py.
@NityamPareek
NityamPareek merged commit a876971 into files-shallow-scan Sep 16, 2026
1 check passed
@NityamPareek
NityamPareek deleted the feat/shallow-scan-ui-settings branch September 16, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant