DEV Community

Vilius
Vilius

Posted on

Help wanted: validate a React retention and records review SPFx sample

Help wanted: validate a React retention and records review SPFx sample

A new read-only React sample is ready for the PnP SharePoint Framework webparts repository:

The web part reads bounded SharePoint document-library and folder inventories through PnPjs and presents available record/retention indicators, modified dates, content types, and missing review metadata. It classifies permission, throttling, network, and configuration failures and shows partial results where possible.

This is an inventory and review aid—not retention-policy enforcement. It does not apply retention labels, declare records, mutate metadata, or request additional permissions. It uses PnPjs v4 async iteration with a maximum page cap and explicitly avoids fetching beyond that cap.

Local verification completed:

  • 6 deterministic tests passed, including mocked PnPjs v4 async pagination and no-overfetch behavior.
  • SPFx lint, TypeScript 5.3.3, Sass, and webpack validation passed.
  • Production bundle and .sppkg packaging passed.
  • Diff, metadata, config, and secret scans passed.
  • Generated outputs were removed before commit.

Could someone with a SharePoint Online tenant please test representative document libraries and folders, including limited permissions, throttling, partial failures, managed paths, review fields, record/retention indicators, pagination limits, keyboard access, and responsive layout? Real tenant screenshots would be especially helpful; none are fabricated locally.

Thank you for helping validate and improve this community sample.

Top comments (0)