Skip to Content
BBRICKSv0.7.4
Screens

PR · Tiers

One tier ladder for every brand, ranked by TRNDR score, with the open decisions, automatic moves and manual changes by PR.

One tier ladder for every brand, ranked by TRNDR score, with the open decisions, automatic moves and manual changes by PR. Composed in PrScreensCore.tsx from BRICKS exports only, in the pr theme, with the PR Portal v3 mock's numbers.

Tiers

One tier ladder for every brand, ranked by TRNDR score, with the open decisions, automatic moves and manual changes by PR.

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

function PrTiers() { return <PrTiersScreen 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".
  • Banner tone="warn" with two open DecisionTags (variant="open", tip="focus", id, question).
  • TierLadder with basis="score", scoreText="compact", openTagTip="focus", scoreInfoHref, open={{ perks: 'R10', tiers: 'S4' }} and onAddTier. Each tier has scoreFrom and threshold: null.
  • PageGrid cols={2} (0.7.0) of two cards of mini rows: automatic moves (each with a Change button that has an aria-label; the card's "Follows the TRNDR score" action is Muted) and manual changes, with a Note (0.7.0) under them.