ipal-upgrade: "→ 1.14.4" section. PROGRAMISTA §6: item 53. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e1f42615f3
commit
6998b44431
@@ -148,6 +148,17 @@ the banner → `<CookieBanner settings="detailed">` and remove the copy. With `d
|
||||
**Check:** run a scan → the cookies appear on `/admin/cookie-approval`; approve one → it is in Cookies →
|
||||
Cookies in every language; the dashboard shows the reminder while cookies wait. Without `cookieScanner`: nothing.
|
||||
|
||||
**→ 1.14.4 (PROGRAMISTA §6, item 53; cookie languages and one Cookies entry; consent.md, cookie-scanner.md):**
|
||||
1. `pnpm payload generate:importmap` — with `cookieScanner`: `@intecion/ipal-kit/admin#CookieReviewTab` and (with
|
||||
`crawl`) `@intecion/ipal-kit/admin#CookieSiteCheckTab`; commit `importMap.js`. No migration.
|
||||
2. **Ask the client** about the two new defaults (both overridable): empty languages of the cookie texts fill
|
||||
themselves from the language an editor writes in (`ipalKit({ fillEmptyLocales: false })` to turn it off); with
|
||||
`cookieScanner` the cookie screens become one **Cookies** entry with **Review and approve** and **Site check** tabs
|
||||
(`cookieScanner: { adminLayout: 'separate' }` for the old entries).
|
||||
3. Editor instructions and screenshots: **Cookie banner** is now **Cookies**.
|
||||
**Check:** one **Cookies** entry in the admin navigation; its tabs list the review entries and the site check;
|
||||
type a cookie purpose in one language and save → the other languages show it, and a language with its own text keeps it.
|
||||
|
||||
## 2. Inventory (no code changes)
|
||||
For **every** item in the PROGRAMISTA §6 table show evidence (grep / file) of whether
|
||||
it applies to the project. Run the **ipal-audit** skill (`--quick`) and attach the result.
|
||||
|
||||
@@ -650,6 +650,7 @@ Do one item at a time, build, check. Order by importance:
|
||||
| 50 | **1.14.1** — `X-Powered-By: Next.js, Payload` in responses, no CSP or a hand-written one | `withPayload(withSecurityConfig(nextConfig))`; `buildSecurityHeaders({ csp: { mode: 'report-only', reportUri: '/api/csp-report', …flags } })` + `buildAdminCspHeaders` on `/admin/:path*` + `export const POST = createCspReportRoute()`; after clean reports `mode: 'enforce'`; nonces (`createProxy({ csp })` + `<SiteProviders nonce>`) only for dynamic sites | security.md, CHANGELOG 1.14.1 |
|
||||
| 51 | **1.14.2** — a new admin stuck on `/admin/setup-totp?back=null` (the page keeps redirecting to itself), or an own `x-pathname` rule on `/admin` added as a workaround | `pnpm payload generate:importmap` (`TotpRedirectProvider`), commit `importMap.js`, redeploy; delete the workaround; own redirect rules → `twoFactor.provider` | security.md → "The redirect to the 2FA screens", CHANGELOG |
|
||||
| 52 | **1.14.3** — editors open every Cookie review entry one by one to accept it | with `cookieScanner`: `pnpm payload generate:importmap` (`CookieApprovalView`, `CookieCrawlAlert`), Postgres/SQLite `migrate:create` (`change`, `needs_description`); editors use Approve cookies (`/admin/cookie-approval`, linked from Privacy → Cookie review); old flow: `cookieScanner: { approval: false }` | cookie-scanner.md, CHANGELOG 1.14.3 |
|
||||
| 53 | **1.14.4** — cookie texts retyped in every language; three cookie entries in the admin navigation | `pnpm payload generate:importmap` (`CookieReviewTab`, `CookieSiteCheckTab`); empty languages fill themselves (`fillEmptyLocales: false` to keep them empty); with `cookieScanner` one **Cookies** entry with tabs (`cookieScanner: { adminLayout: 'separate' }` for the old entries); Cookie banner is now called Cookies — update editor instructions; no migration | consent.md, cookie-scanner.md, hooks.md, CHANGELOG 1.14.4 |
|
||||
|
||||
After updating the package: `pnpm ipal:skills` (new skill versions), `pnpm payload generate:importmap`, `rm -rf .next`, restart dev, grep for the new symbol in
|
||||
`node_modules/@intecion/ipal-kit/dist`.
|
||||
|
||||
Reference in New Issue
Block a user