Admin components

The console's panels, tables, the code pool and the reporting widgets.

Admin panelNear-duplicate

apps/web/features/admin-shell/components/admin-panel.tsx

The console's titled box; the same box as ContentCard on member pages.

Content

no title

Code pool

extra

Content

title + extra

Code pool panel

apps/web/features/admin-catalog/components/code-pool-panel.tsx · pool-code-table.tsx

Health pill, counts, upload, batches and the code table. The table loads in the browser, so here its query cache is filled with six sample codes (used, assigned, available); the captures show its spinner instead.

Code pool

Healthy · alert below 10
Available
42
Assigned
0
Total uploaded
42

First column only; a header row is ignored.

Duplicates and codes already in the pool are skipped.
  • Batch of 42 codes — Seed batch30 Nov 2026 · admin@newstech.com

Codes

CodeStatusNewsroomVendor confirmed
GATE-0001
Uploaded 30 Nov 2026
Used
26 Nov 2026
Kyiv Independent Desk
NT-7K3Q9 · 24 Nov 2026
—
GATE-0002
Uploaded 30 Nov 2026
AssignedTartu Weekly
NT-7K3Q9 · 24 Nov 2026
—
GATE-0003
Uploaded 30 Nov 2026
Available——
GATE-0004
Uploaded 30 Nov 2026
Available——
GATE-0005
Uploaded 30 Nov 2026
Available——
GATE-0006
Uploaded 30 Nov 2026
Available——
1–6 of 42
healthy (42 available)

Code pool

Running low · alert below 10
Available
7
Assigned
35
Total uploaded
42

First column only; a header row is ignored.

Duplicates and codes already in the pool are skipped.
  • Batch of 42 codes — Seed batch30 Nov 2026 · admin@newstech.com

Codes

CodeStatusNewsroomVendor confirmed
GATE-0001
Uploaded 30 Nov 2026
Used
26 Nov 2026
Kyiv Independent Desk
NT-7K3Q9 · 24 Nov 2026
—
GATE-0002
Uploaded 30 Nov 2026
AssignedTartu Weekly
NT-7K3Q9 · 24 Nov 2026
—
GATE-0003
Uploaded 30 Nov 2026
Available——
GATE-0004
Uploaded 30 Nov 2026
Available——
GATE-0005
Uploaded 30 Nov 2026
Available——
GATE-0006
Uploaded 30 Nov 2026
Available——
1–6 of 42
running low (7)

Code pool

Empty · alert below 10
Available
0
Assigned
42
Total uploaded
42

First column only; a header row is ignored.

Duplicates and codes already in the pool are skipped.
  • Batch of 42 codes — Seed batch30 Nov 2026 · admin@newstech.com

Codes

CodeStatusNewsroomVendor confirmed
GATE-0001
Uploaded 30 Nov 2026
Used
26 Nov 2026
Kyiv Independent Desk
NT-7K3Q9 · 24 Nov 2026
—
GATE-0002
Uploaded 30 Nov 2026
AssignedTartu Weekly
NT-7K3Q9 · 24 Nov 2026
—
GATE-0003
Uploaded 30 Nov 2026
Available——
GATE-0004
Uploaded 30 Nov 2026
Available——
GATE-0005
Uploaded 30 Nov 2026
Available——
GATE-0006
Uploaded 30 Nov 2026
Available——
1–6 of 42
empty (0)

Low pool banner

apps/web/features/admin-catalog/components/low-pool-banner.tsx
1 code pool is low or empty: Inkline CMS (7 left). Ask the vendor for a new batch.
one product
2 code pools are low or empty: Inkline CMS (7 left), Ledgerwise (0 left). Ask the vendor for a new batch.
two products (as on Products)

Vendor API keys

apps/web/features/admin-catalog/components/vendor-api-keys-panel.tsx

Loads in the browser; the cache is filled with sample keys.

Redemption API

The vendor can confirm used codes from its own system. Only unique codes from the pool that a newsroom has claimed are matched; confirmed codes appear under Redemptions, one report per key and day.

API documentation and test console(opens in a new tab)
EndpointPOST http://localhost:3000/api/v1/redemptions

Shown only to admins, to tell keys apart.

No keys yet.

no keys

Redemption API

The vendor can confirm used codes from its own system. Only unique codes from the pool that a newsroom has claimed are matched; confirmed codes appear under Redemptions, one report per key and day.

API documentation and test console(opens in a new tab)
EndpointPOST http://localhost:3000/api/v1/redemptions

Shown only to admins, to tell keys apart.

  • Gatekeep checkoutActive
    nt_live_4f9c…Created 28 Nov 2026 by admin@newstech.com · last used 29 Nov 2026
one active key

Redemption API

The vendor can confirm used codes from its own system. Only unique codes from the pool that a newsroom has claimed are matched; confirmed codes appear under Redemptions, one report per key and day.

API documentation and test console(opens in a new tab)
EndpointPOST http://localhost:3000/api/v1/redemptions

Shown only to admins, to tell keys apart.

  • Gatekeep checkoutActive
    nt_live_4f9c…Created 28 Nov 2026 by admin@newstech.com · last used 29 Nov 2026
  • Old integrationRevoked
    nt_live_9a21…Created 28 Nov 2026 by admin@newstech.com · last used 29 Nov 2026 · revoked 29 Nov 2026
active + revoked

Reporting widgets

apps/web/features/admin-reports/components/stat-tiles.tsx · top-products.tsx · apps/web/features/admin-redemptions/components/report-history.tsx
Registrations
3
Codes claimed
9
this period
Marked used
4
StatTiles

No product activity in this period.

TopProducts · empty
ProductViewsCard clicksClick-outsCodes claimedMarked usedReconciled
Gatekeep
Gatekeep Labs
1204822942
Vaultmail
Vaultmail AG
642011310
TopProducts · filled

No reports entered yet.

ReportHistory · empty
VendorPeriodMatchedAlready countedNo matchEntered
Gatekeep Labs1 Oct 2026 – 31 Oct 202621130 Nov 2026
admin@newstech.com
ReportHistory · one report

Audit history

apps/web/features/admin-shell/components/audit-history.tsx

No admin actions yet.

empty
  1. Approved30 Nov 2026 · admin@newstech.commembership tier: tier_800
  2. Viewed as member30 Nov 2026 · admin@newstech.com
  3. More information requested29 Nov 2026 · admin@newstech.commessage: Could you send a link to your masthead?
filled