1.17.1 notes: the sign-in logo as 1.17.0 shows it (an SVG too, no plate)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
1f65e1c97f
commit
726f028e9f
+9
-7
@@ -33,8 +33,8 @@ once there are more than 20.
|
||||
> - **Sites with `whiteLabel`: the panel's sign-in page has a new look** — a dark panel with the client's logo
|
||||
> (Site settings → Logo) or the site's name beside the form, on login and the 2FA screens. **Editors can no longer
|
||||
> change the site's name, logo and icon** in Site settings (admins can; `whiteLabel: { brandAccess: 'editor' }`
|
||||
> gives it back). **An SVG logo is not shown on the sign-in screens** (the site's name is; `signIn: { svgLogo: true }`
|
||||
> allows it). A dark logo: `signIn: { logoPlate: true }`. The old screens: `whiteLabel: { signIn: false }`.
|
||||
> gives it back). **Every logo that showed on the login screen before shows on the new screens**, an SVG too (as a
|
||||
> picture). No plate under the logo: a logo with dark letters needs `signIn: { logoPlate: true }`. The old screens: `whiteLabel: { signIn: false }`.
|
||||
> Forgot / reset password, first user and logout get the look with **one config line**,
|
||||
> `whiteLabel: { signIn: { allScreens: true } }`, and `pnpm payload generate:importmap`.
|
||||
> - **2FA:** correct codes are never refused any more (only wrong ones count towards the limit); several attempts at
|
||||
@@ -101,11 +101,13 @@ once there are more than 20.
|
||||
"unauthorized". Adds the provider `SignInLook` (one import-map entry: `pnpm payload generate:importmap`). The
|
||||
project starter writes it for new sites. A production start that does not find the entry in `importMap.js`
|
||||
leaves the provider out and logs what to run; the panel keeps working.
|
||||
- **The logo follows IAWL's rules:** JPEG, PNG, WebP, AVIF or GIF; fetched and checked by its bytes before it is
|
||||
printed (at most 512 KB; a deleted or broken file gives the name); fits 240 × 72, served from a generated size
|
||||
at least twice as wide when the media collection has one; alternative text = the site's name.
|
||||
- **The logo:** whatever Site settings → Logo holds, an SVG too, as an `<img>`; fits 240 × 72 (it was up to
|
||||
420 × 120), served from a generated size at least twice as wide when the media collection has one; alternative
|
||||
text = the site's name. Its file is asked once before it is printed (no redirect followed, 4 s, 512 KB): a file
|
||||
that is gone, or is no picture, gives the site's name instead of a broken picture; in any doubt the upload is
|
||||
believed.
|
||||
- **Options:** `signIn.accent` (hex colour of the button, links and focus ring), `signIn.logoPlate` (a white plate),
|
||||
`signIn.svgLogo` (allow an SVG logo), `signIn.checkLogo: false`, `signIn.languages: false`,
|
||||
`signIn.svgLogo: false` (refuse an SVG logo), `signIn.checkLogo: false`, `signIn.languages: false`,
|
||||
`whiteLabel.brandAccess` (`'admin'` with the look, `'editor'` as before; field-level access, no schema change).
|
||||
CSS variables `--iapl-signin-*` for a project's `custom.scss`.
|
||||
- **Language links before sign-in:** `GET /api/ipal/admin-language?lng=<code>` writes Payload's language cookie for
|
||||
@@ -114,7 +116,7 @@ once there are more than 20.
|
||||
- **The 2FA code boxes have names** for screen readers ("Digit 2 of 6") and ask a phone for the numeric keyboard
|
||||
(with the sign-in look).
|
||||
- Exports: `SignInPanel`, `SignInLook` (`/admin`); `resolveSignInLook`, `loadSignInBrand`, `signInLogo`,
|
||||
`signInName`, `checkLogoFile`, `fitLogo`, `isSvgUpload`, `SIGN_IN_LOGO_TYPES`, `languageLinks`, `LANGUAGE_NAMES`, `signInCss`, `isHexColour`,
|
||||
`signInName`, `checkLogoFile`, `fitLogo`, `isSvgUpload`, `languageLinks`, `LANGUAGE_NAMES`, `signInCss`, `isHexColour`,
|
||||
`signInProviderActive`, `buildAdminLanguageEndpoint`, `adminPathFromReferer`, `SIGN_IN_LOOK`, `SIGN_IN_STYLE_ID`,
|
||||
`SIGN_IN_LOGO_BOX`, `SIGN_IN_NAME_MAX`, `ADMIN_LANGUAGE_PATH` and their types.
|
||||
- **`routes:check`** — every public route (REST, GraphQL, Next route files) against a committed snapshot with one
|
||||
|
||||
Reference in New Issue
Block a user