Admin link previews: site name, description, preview image, noindex; technology support credit

- adminMeta (default on, with or without whiteLabel): robots noindex/nofollow,
  title suffix "— <site> | Panel", og:site_name and en/pl description from
  Site settings, preview image GET /api/ipal/admin-og (next/og, from the logo
  or name, no external service) and icon GET /api/ipal/admin-icon
- the site name sits in a process-wide store read through getters, so link
  previews stay current after a Site settings save and across config loads
- agency option (default Intecion.com) feeds the credit, description and image;
  credit reads "Technology support: Intecion.com" (pl: Wsparcie technologiczne)
- the project's own admin.meta keys always win; adminMeta: false / agency: false
- dev: whiteLabel on; docs: white-label.md, AGENT.md, ipal-reference/setup/upgrade

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-29 11:31:42 +01:00
co-authored by Claude Opus 5.5
parent 6998b44431
commit 3c828d963d
16 changed files with 647 additions and 38 deletions
+2 -2
View File
@@ -3,12 +3,12 @@ import { defineTexts } from '../define.js'
/** Admin component texts — settings. Placeholders use Payload's {{name}} syntax. */
export const settingsTexts = defineTexts({
en: {
brandingCredit: 'Technology supported by Intecion.com',
brandingCredit: 'Technology support: {{agency}}',
faviconNotSquare: 'The icon is not square ({{width}}×{{height}} px), so it may be cropped in tabs and search results.',
faviconTooSmall: 'The icon is {{width}}×{{height}} px. Google shows icons of at least 48×48 px; upload a larger one.',
},
pl: {
brandingCredit: 'Technologię wspiera Intecion.com',
brandingCredit: 'Wsparcie technologiczne: {{agency}}',
faviconNotSquare: 'Ikona nie jest kwadratowa ({{width}}×{{height}} px), więc może być przycięta na kartach i w wynikach wyszukiwania.',
faviconTooSmall: 'Ikona ma {{width}}×{{height}} px. Google pokazuje ikony od 48×48 px; wgraj większą.',
},