1.18.0 performance items: reference 404 placeholder and heading font without preload, lazy form and Turnstile code (eager entry /client/eager), Turnstile space kept, background video paused for reduced motion, card hover on opacity, metadata stripped on upload, MongoDB TTL indexes for the consent log and statistics, unused-media notice, version limit for the plugin's entities
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
076b3ef707
commit
d628839235
@@ -829,7 +829,12 @@ import * as content from '@/lib/content'
|
||||
|
||||
import { loadNotFoundView } from './notFoundView'
|
||||
|
||||
export default createNotFoundPage(content, { load: loadNotFoundView })
|
||||
// The lazy 404 content arrives after hydration: a block as tall as it keeps the footer still (no layout shift).
|
||||
// Measured for this site's 404 content: 282 px at 360 px wide to 432 px at 1920 — change it with that content.
|
||||
export default createNotFoundPage(content, {
|
||||
load: loadNotFoundView,
|
||||
placeholder: <div aria-hidden style={{ minHeight: 'max(290px, calc(212px + 11.5vw))' }} />,
|
||||
})
|
||||
```
|
||||
|
||||
### `src/app/(frontend)/[locale]/notFoundView.ts`
|
||||
@@ -1150,6 +1155,7 @@ Rules: AGENT.md §8a.
|
||||
| `e2e/two-factor-back.spec.ts` | browser test of the 2FA screens' `back` link (twoFactor.safeBack): a prepared link — script or another host — ends on the admin root, an ordinary one is followed |
|
||||
| `e2e/two-factor-enrolment.spec.ts` | the first 2FA set-up confirmed by e-mail on the built site (run by `pnpm e2e:built` in both bundlers): the password alone no longer enrols an attacker's factor (the link goes to the owner and is refused in another browser), and the panel flow — code, notice, link from the mail sink, sign in again |
|
||||
| `e2e/two-factor-setup.spec.ts` | browser check of "2FA setup required": the first admin of a fresh site, a new editor, the administrator's reset on the account page |
|
||||
| `e2e/unused-media.spec.ts` | the unused-files notice above the Media list (`unusedMedia: true`): an image nothing uses is listed and the link opens Payload's list filtered to it; the test deletes its own upload, the panel never deletes |
|
||||
|
||||
### `e2e/enrolment.ts`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user