Urgent.News

What's breaking now, across thousands of outlets.

Tech

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: Pull request: https://github.com/pnp/sp-dev-fx-webparts/pull/6485 Sample: samples/react-retention-records-review/ The web part reads bounded SharePoint document-library and folder inventories through PnPjs and presents available…

The PnP SharePoint Framework webparts repository has added a read-only React KPI Scorecard sample (<https://github.com/pnp/sp-dev-fx-webparts/pull/6478>). This web part reads a configured SharePoint list and displays up to six KPI cards, including current value and target, deterministic on-track, attention, at-risk, and unknown states, trend from the latest two observations, and optional date filtering.

It also includes loading, empty, access-denied, not-found, throttling, and refresh states using Fluent UI components and ensures keyboard-friendly status presentation.

The web part is thoroughly verified, with five Jest tests passing, TypeScript compiling, ESLint providing clean code, webpack building successfully, and the production .sppkg package validating. At this point, a tenant validation is sought. A contributor is requesting someone with a SharePoint Online tenant to test the web part with a representative KPI list and report the following:

1. Whether the list and field configuration works as documented.

2. Whether number and date values map correctly from common SharePoint column types.

3. Whether the threshold and trend states are understandable.

4. Whether the layout remains usable at narrow web-part widths.

A real tenant screenshot would be appreciated for the PR gallery validation. The contributor acknowledges lacking a suitable SharePoint Online tenant for creating an authentic screenshot, hence seeking community assistance. Positive or negative findings are welcomed, as they will aid in making the sample more useful before merge.

The source and contribution PR can be found at <https://github.com/pnp/sp-dev-fx-webparts/pull/6478> and <https://github.com/pnp/sp-dev-fx-webparts/pull/6478> respectively. For further reference, the Microsoft SPFx web parts guidance is available at <https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/overview-client-side-web-parts> with the hashtag #spfx #react #opensource.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at dev.to →

More in Tech

Flash Loan Attack Vector Analysis: Uniswap V3

Flash Loan Attack Vector Analysis: Uniswap V3 Target Protocol : Uniswap V3 (TVL: $1500.9M) Flash Loan Attack Vector Analysis – Uniswap V3 Protocol: Uniswap V3 (TVL ≈ $1.5 B across Ethereum and L2s)…

More from Sunday 30 August →