Skip to content

[feature] Display skipped entries counter in inventory UI #268

@paul-fresquet

Description

@paul-fresquet

Summary

Display a visible counter in the inventory UI showing how many entries were skipped during inventory building. This provides transparency to users about what was filtered without overwhelming them with details.

Background

When ByteSync builds an inventory, it silently skips various entries:

  • Hidden files/directories
  • Noise files (.DS_Store, thumbs.db, etc.)
  • Symbolic links
  • POSIX special files
  • Inaccessible files

Users currently have no visibility into this filtering. This can lead to confusion when expected files don't appear in the inventory.

Proposed UX

Location

Add the counter to InventoryGlobalStatusViewModel or the inventory status area, near the existing file/directory counts.

Display Format

📁 1,234 files | 📂 56 directories | ⊘ 23 entries skipped

Or alternatively:

Identified: 1,234 files, 56 directories
Skipped: 23 entries

Behavior

  • Counter appears only if SkippedCount > 0
  • No expandable detail for now (future enhancement)
  • Tooltip could show breakdown by reason (optional, low priority)

Mockup

┌─────────────────────────────────────────────────┐
│  Inventory Status                               │
│  ─────────────────────────────────────────────  │
│  ✓ Identification complete                      │
│                                                 │
│  📁 1,234 files    📂 56 directories            │
│  ⊘ 23 entries skipped                          │
│                                                 │
└─────────────────────────────────────────────────┘

Acceptance Criteria

  • Add SkippedCount property to InventoryProcessData or appropriate ViewModel
  • Display skipped count in inventory status view
  • Only show when count > 0
  • Localize the label ("X entries skipped" / "X entrées ignorées")
  • Use appropriate icon or styling to differentiate from included counts
  • Works for both local and cloud session inventories

Technical Notes

Data Flow

InventoryPart.SkippedCount 
  → InventoryProcessData.UpdateMonitorData() 
    → InventoryGlobalStatusViewModel 
      → View binding

ViewModel Update

// In InventoryGlobalStatusViewModel or similar
[Reactive]
public int SkippedEntriesCount { get; set; }

public bool ShowSkippedCount => SkippedEntriesCount > 0;

Dependencies

Out of Scope (Future)

  • Detailed breakdown by skip reason
  • Expandable list of skipped entries
  • Export skipped entries to file

Priority

UX Improvement — Increases transparency and user trust in the inventory process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions