IAPL rename: docs, agent guide, skills, reference site and starter on the new names; changelog draft

- docs, AGENT.md, the 16 skills, PROGRAMISTA and README use the preferred names (scripted, same list of forms);
  past CHANGELOG entries and the proposals in docs/dev are not rewritten
- AGENT.md: 'Names: IAPL and ipal-kit' — old name, new name, state in 1.x; what is not renamed; storageNames
- iapl-upgrade '→ 1.17.0', PROGRAMISTA §6 item 72, CHANGELOG 1.17.0 (draft): nothing required
- env.md, doctor.md (legacy-names, storage-names), stats.md, security.md, project-starter.md, iapl-reference, iapl-setup
- skill scripts read ipal-audit-skip and IPAL_IP_HEADER too; audit rule ids stay what they were
- reference site: iapl(), iapl-doctor.json, iapl-* skills, storageNames: 'iapl'; INDEX.md regenerated

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-25 17:36:09 +01:00
co-authored by Claude Fable 5.2
parent 425fac14fb
commit b91984fbcd
149 changed files with 1930 additions and 1747 deletions
+4 -4
View File
@@ -50,7 +50,7 @@ The provider renders nothing until an image is opened.
```ts
// payload.config.ts
ipalKit({ …, lightbox: true })
iapl({ …, lightbox: true })
```
Adds the **Image viewer** group (`lightbox`) to **Forms → Form messages** (`notifications`): trigger name ("Enlarge image"), dialog
@@ -171,7 +171,7 @@ drops every inline style; style with `classNames` (`dialog`, `figure`, `image`,
| Feature | Default | Turn off / override |
|---|---|---|
| Whole feature | off — nothing renders without a trigger | don't use the components |
| Form messages → Image viewer labels | off | `ipalKit({ lightbox: true })`; `lightboxNotificationFields` for your own global; `globalOverrides.notifications` |
| Form messages → Image viewer labels | off | `iapl({ lightbox: true })`; `lightboxNotificationFields` for your own global; `globalOverrides.notifications` |
| Texts | panel → `lightboxFallback(locale)` (`LIGHTBOX_FALLBACK_PL` on `pl`, else `LIGHTBOX_FALLBACK`) | `texts` on the provider / trigger / dialog; `resolveLightboxTexts` |
| Provider in `SiteProviders` | off | `lightbox` prop; or your own `<LightboxProvider>` in a client component |
| Large image markup | `<img srcSet>` | `renderImage={({ image, imgProps, index }) => <Image … />}` (provider, client only) |
@@ -191,7 +191,7 @@ Projects built before this feature open images in different ways: a `glightbox`
`div role="dialog"` with `next/image fill`, a link to the raw file in a new tab, or nothing. Move them
to the shared lightbox:
1. **Config:** `ipalKit({ lightbox: true })`, then `pnpm payload migrate:create` (Postgres) and commit
1. **Config:** `iapl({ lightbox: true })`, then `pnpm payload migrate:create` (Postgres) and commit
the migration. Fill **Forms → Form messages → Image viewer** in every language — copy the labels
from the old block fields (e.g. `closeLabel`, `prevLabel`, `nextLabel`) or seed them.
2. **Layout:** `<SiteProviders lightbox={{ texts: (await getNotificationTexts({ payload, locale })).lightbox }}>`.
@@ -205,7 +205,7 @@ to the shared lightbox:
5. **"Open in a new tab" links** (certificates, diplomas): swap `<a href={image.url} target="_blank">`
for a `LightboxTrigger` — the visitor stays on the page.
6. **Block label fields** for close / previous / next that only served the old modal: stop reading
them; remove them in a later release with a migration (skill **ipal-migrate-fields**) once the
them; remove them in a later release with a migration (skill **iapl-migrate-fields**) once the
panel texts are filled.
7. **Check:** keyboard only — Tab to a thumbnail, Enter opens, focus is on Close, ← / → browse, Tab
stays in the dialog, Esc closes and focus is back on the thumbnail; the page does not scroll behind