Merge claude/totp-pl-cookie-button: plain en/pl 2FA texts, CookieButton above the footer
TOTP_TEXTS (en, pl) merged over payload-2fa's, project translations still win, twoFactor.texts: false keeps the package's; tab titles on the 2FA views (TOTP_VIEW_TITLE). CookieButton lifts above the footer (avoid, default COOKIE_BUTTON_AVOID; side; bottomOverlap; --ipal-cookie-button-inset). Admin language keeps following the browser (no fallbackLanguage change). Merge addition: the branch had no CHANGELOG entry — both items added under New in the one Unreleased section, plus Requires project changes item 6 (CookieButton).
This commit is contained in:
@@ -48,6 +48,14 @@ fifteen ready page sections and ten page templates.
|
||||
- **Reference site for agents:** `docs/agent/reference-site/INDEX.md` (shipped) maps every plugin feature to a file
|
||||
in a complete example site built on ipal-kit, so an agent can copy a working pattern. The site itself lives in the
|
||||
plugin repo (`reference/`, not shipped) and is built, seeded and smoke-tested in the plugin's CI.
|
||||
- **2FA screens in plain English and Polish:** `TOTP_TEXTS` (en, pl) go over `@clocklimited/payload-2fa`'s texts, and
|
||||
the setup / verify screens get a tab title (`TOTP_VIEW_TITLE`, in the site's default language) instead of
|
||||
"Payload". The project's own `i18n.translations.<lang>.totpPlugin` still wins, a view's own `meta.title` stays, and
|
||||
`twoFactor: { …, texts: false }` keeps the package's texts. The admin language still follows the browser.
|
||||
- **`<CookieButton>` stays clear of the footer:** when the footer scrolls into view the button moves up above it
|
||||
(`avoid`, default `COOKIE_BUTTON_AVOID` = `footer, [role="contentinfo"]`; `avoid={false}` turns it off), `side`
|
||||
(`'left'` default / `'right'`), position tokens `--ipal-cookie-button-inset`; `bottomOverlap` for your own widget.
|
||||
Type `CookieButtonProps`.
|
||||
|
||||
### Fixed
|
||||
- **Sitemap, llms.txt, the site index (MCP `list_pages`), search (`searchContent`, the search route, MCP
|
||||
@@ -89,6 +97,8 @@ fifteen ready page sections and ten page templates.
|
||||
Existing sites move block by block when they get work (an own block with the same slug and fields can be replaced by
|
||||
the library block with `slug`, else a migration with **ipal-migrate-fields**). After turning blocks on:
|
||||
`pnpm generate:types`, `pnpm payload generate:importmap`, Postgres/SQLite `pnpm payload migrate:create`.
|
||||
6. **CookieButton:** it now lifts above the site footer when the footer is in view. A site with its own fixed footer
|
||||
bar or a button placed by `className`: check it; `avoid={false}` keeps the old fixed position.
|
||||
|
||||
## 1.14.6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user