ByteSync icon indicating copy to clipboard operation
ByteSync copied to clipboard

[feature] Display skipped entries counter in inventory UI

Open paul-fresquet opened this issue 10 months ago β€’ 0 comments

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

  • Requires: SkippedEntry tracking in InventoryPart (issue #267)

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.

paul-fresquet avatar Feb 01 '26 19:02 paul-fresquet