Help wanted: validate a React faceted search SPFx sample in SharePoint Online
A new read-only React faceted search sample is ready for the PnP SharePoint Framework webparts repository:
- Pull request: https://github.com/pnp/sp-dev-fx-webparts/pull/6480
- Sample: https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-faceted-search
The web part uses SharePoint Search REST (/_api/search/query) to search the current site. It supports:
- Search terms
- FileType and ContentClass refiners
- Result counts and metadata
- Safe encoded query/refiner values
- Loading, empty, access-denied, throttling, error, and retry states
- Responsive, accessible Fluent UI rendering
The implementation is intentionally read-only and does not use a custom backend or Microsoft Graph.
Local verification completed:
- 4/4 Jest tests passed
- TypeScript and webpack build passed
- ESLint passed
- Production
.sppkgpackaging passed - Gallery metadata validator corrected and rerun successfully
Tenant validation is still needed. If you have a SharePoint Online tenant, please test search indexing, result links, refiners, permissions, empty/error states, and narrow web-part widths. Real screenshots and negative findings are welcome; no local screenshot is being presented as tenant evidence.
Please share feedback on the pull request. Thank you!
Top comments (0)