Skip to Content
BBRICKSv0.7.4
Screens

PR · Messages

Messages to creators: three KPIs, the "Message creators" call to action and the message history.

Messages to creators: three KPIs, the "Message creators" call to action and the message history. Composed in PrScreensCore.tsx from BRICKS exports only, in the pr theme, with the PR Portal v3 mock's numbers.

Messages

Messages to creators: three KPIs, the "Message creators" call to action and the message history.

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

function PrMessages() { return <PrMessagesScreen 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".
  • KpiGrid columns={3} of KpiCards (read rate with progress).
  • CalloutCard tone="lilac" layout="row" with an ink New message button, which opens a Modal holding AnnouncementComposer layout="modal" (0.7.0: one column for the 480px modal, no preview).
  • A kit-card section with ListToolbar (search, audience and sender selects, sort, export) and DataTable with messageColumns(language) and a Pager. A row opens MessageDrawer (0.7.0), whose "Send another to the same people" starts a new message for the same audience.