- Statistics view: the browser-tab title follows the admin language.
Payload's custom-view meta.title is one plain string and its custom-view
metadata ignores i18n, so the view renders <DocumentTitle> (/admin) with the
translated title; it re-applies the title while the view is open because
Next streams the English metadata in after hydration. adminDocumentTitle()
adds admin.meta.titleSuffix the way Payload does.
- Cookie scanner: CookieIntegration.label may be { en, pl, ... }. The built-in
names without a product name come from the shared admin texts
(cookieIntegration*, cookieSourceProject); the scan endpoint answers in the
request's admin language and stored source names use the scanning editor's.
- Maintenance notice: getConstructionMode(locale) returns `locale`; the "x"
close button gets a screen-reader name "Close" / "Zamknij" (locale and
closeLabel props; constructionCloseLabel exported).
- Favicon: FaviconCheck (/admin, afterInput on Site settings -> Site icon)
warns in the admin language when the image is under 48x48 or not square,
without blocking the save; validateFaviconField shares faviconProblems().
- Docs, AGENT.md and skills: the above, plus Next.js 16.4.1 or later as the
minimum safe version (AGENT.md 4.11, ipal-setup, ipal-upgrade).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
23 lines
1.5 KiB
TypeScript
23 lines
1.5 KiB
TypeScript
/**
|
|
* Entry point: @intecion/ipal-kit/admin
|
|
*
|
|
* Admin-panel UI components (white-label branding, array row labels, integration fields and
|
|
* banners). Separate export so Payload's importMap can resolve them by a stable path, and so
|
|
* nothing importing @payloadcms/ui ends up in /client — that entry ships to every site visitor.
|
|
*/
|
|
export { MaskedField } from '../globals/SiteIntegrations/components/MaskedField.js'
|
|
export { TestEmailButton } from '../globals/SiteIntegrations/components/TestEmailButton.js'
|
|
export { DocumentTitle } from '../modules/admin-i18n/DocumentTitle.js'
|
|
export { RowLabel } from '../modules/admin-ui/RowLabelComponent.js'
|
|
export { AdminIcon, AdminLogo, IntecionCredit } from '../modules/branding/index.js'
|
|
export { CookieScanButton } from '../modules/consent/scanner/CookieScanButton.js'
|
|
export { CookieCrawlAlert } from '../modules/consent/scanner/crawl/CookieCrawlAlert.js'
|
|
export { IntegrationAlerts } from '../modules/integrations/IntegrationAlerts.js'
|
|
export { IntegrationStatusBanner } from '../modules/integrations/IntegrationStatusBanner.js'
|
|
export { FaviconCheck } from '../modules/seo/FaviconCheck.js'
|
|
export type { FaviconCheckProps } from '../modules/seo/FaviconCheck.js'
|
|
export { MetaDescriptionCheck } from '../modules/seo/MetaDescriptionCheck.js'
|
|
export { StatsNavLink } from '../modules/stats/admin/StatsNavLink.js'
|
|
export { StatsView } from '../modules/stats/admin/StatsView.js'
|
|
export { StatsWidget } from '../modules/stats/admin/StatsWidget.js'
|