Docs: admin languages and texts, wording rule for agents, new screen names

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-27 15:46:25 +01:00
co-authored by Claude Opus 5.5
parent 6b46bc0c14
commit 0a2374db18
45 changed files with 443 additions and 360 deletions
+5 -5
View File
@@ -5,7 +5,7 @@ subpages (e.g. a brief), and everything else is blocked — no code changes, one
## Panel
**Site Settings → Under construction** (the tab is there when the `pages` module is on):
**Site settings → Maintenance** (the tab is there when the `pages` module is on):
| Field | Meaning |
|---|---|
@@ -67,11 +67,11 @@ import { ConstructionNotice } from '@intecion/ipal-kit/client'
`ConstructionMode`). Pure logic: `isPathAllowed(pathname, allowedPaths)`,
`constructionNoticeHref(homePath)`, the constant `CONSTRUCTION_NOTICE_PARAM` (`@intecion/ipal-kit`).
New fields in Site Settings = a migration in the project (`payload migrate:create`).
New fields in Site settings = a migration in the project (`payload migrate:create`).
## Turn off, override, extend
- **Turn off:** the *Site under construction* switch in the admin panel. The *Under construction* tab is
- **Turn off:** the *Maintenance mode* switch in the admin panel. The *Maintenance* tab is
currently always added when the `pages` module is on (there is no separate option). Without `redirect` in
`createPageRoute` addresses are not blocked; without `<ConstructionNotice>` links are not intercepted.
Markdown / MCP without the filter even with the mode on:
@@ -79,12 +79,12 @@ New fields in Site Settings = a migration in the project (`payload migrate:creat
sitemap / llms.txt without the filter: `createContentHelpers({ underConstructionSeo: false })`.
- **Override:** popup look through `classNames` (`overlay`, `dialog`, `title`, `message`, `button`);
texts in the admin panel. Your own rule = your own `isPathVisible` function in the options above or in `createSearchRoute`.
Access/hooks of the Site Settings global: `ipalKit({ globalOverrides: { 'site-settings': … } })`.
Access/hooks of the Site settings global: `ipalKit({ globalOverrides: { 'site-settings': … } })`.
- **Extend:** `getConstructionMode(locale)` + `isPathVisibleIn` / `isPathAllowed` / `pathOf` /
`constructionNoticeHref` let you add blocking in your own routes.
- **Check:** mode on → `/md/pl/<hidden>` = 404, MCP `get_page` = "No page found",
`list_pages` does not show it, the sitemap does not list it.
- **One rule for all visitors** — pages stay static (ISR), with no session check. Saving Site Settings
- **One rule for all visitors** — pages stay static (ISR), with no session check. Saving Site settings
revalidates the whole site only when the project passes `ipalKit({ revalidatePath })`
(see [hooks.md](./hooks.md)); without it, already rendered/cached pages show the old state until the ISR
window ends.