Merge claude/cookie-button-bottom: the cookie button stays in the bottom corner of the window

Conflicts in the 1.17.2 changelog draft and the upgrade skill: both sides kept (rewritten into one entry at release).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-01 11:17:59 +01:00
co-authored by Claude Opus 5.5
15 changed files with 424 additions and 28 deletions
+17
View File
@@ -42,6 +42,23 @@ once there are more than 20.
- Not built (owner's Q3 answer (a), planned for 2.0): a plugin-wide default for the project's own entities and for
Payload's `payload-locked-documents`.
### Changed
- **What an existing site's visitors see: the "cookie settings" button stays in the bottom corner of the window**
([consent.md → Where the cookie button sits](./consent.md#where-the-cookie-button-sits-1172)). Until now it moved
up by the visible part of the footer: on a phone with a tall footer it ended at the top of the screen (over the
header), on a short page in the middle of it. Now it is in the same corner on every page and at every scroll
position. Only at the very end of the page, where it would keep a footer link or a button covered with no way to
scroll past, it steps up just above it (on the reference site: 71 px on a phone, nothing on desktop). No layout
shift, same look, keyboard and screen-reader access unchanged; the side inset now adds the device's safe-area inset.
**Nothing to do; an existing site gets it by updating.** The placement before:
`<CookieButton avoid={COOKIE_BUTTON_AVOID} />` (on `SiteProviders`: `cookieButton={…}`). A site that already passes
`avoid` (a selector, or `false` = never move) or `className` keeps its behaviour. A project e2e test that expects the
button above the footer needs an update.
### Added
- `CookieButton` prop `clear` (selector of controls freed at the end of the page; `false` = off), `COOKIE_BUTTON_CLEAR`,
`stepAbove` (`/client`).
## 1.17.1 — security fixes from the IAWL review; the panel's sign-in look; the sending method is chosen
> **Read before upgrading.** **MongoDB: no migration. Postgres / SQLite: one migration** — a new column for the