Skip to Content
BBRICKSv0.7.4
Screens

PR · Gift analytics

Confirmed stock, gifts sent and delivered, received vs claimed, by brand.

Confirmed stock, gifts sent and delivered, received vs claimed, by brand. Composed in PrScreens.tsx from BRICKS exports only, in the pr theme, with the PR Portal v3 mock's numbers.

Gift analytics

Four KPIs, stock by brand, needs attention, and shipments from brands.

Pinned to TRNDR preset
Code
import { useLanguage } from '@ergasti/bricks';
import { GiftAnalyticsScreen } from '../../../packages/bricks/src/gallery/screens/PrScreens';

function GiftAnalytics() { return <GiftAnalyticsScreen language={useLanguage()} />; }

How it is built

  • The frame is PrPortalFrame (0.7.0), as on every framed PR page: the v3 nav with counts, the Open decisions card, the PR person row with sign-out, HeaderSearch, the bell and the raspberry "+ New". The scope Segmented is in its tools.
  • KpiGrid of four KpiCards, two with progress.
  • By brand: a Card with DataTable and giftBrandColumns(language) (the used column at the mock's width) and chevron={false}.
  • PageGrid split="7-5" align="start" (0.7.0): GiftAttentionList (0.7.0: the brand out of gifts and the shipments still to count, each row a button) beside GiftShipmentCounts (counts, problems), each in a Card with a title.