From c7c8c819ac354e28dad81ad37720c1bf67d5c8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Tue, 27 Oct 2026 15:13:22 +0100 Subject: [PATCH] admin-ux guide: Privacy group, label naming, default admin languages Co-Authored-By: Claude Opus 5.5 --- docs/dev/admin-ux.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/dev/admin-ux.md b/docs/dev/admin-ux.md index 4da02be..9b8b859 100644 --- a/docs/dev/admin-ux.md +++ b/docs/dev/admin-ux.md @@ -63,6 +63,8 @@ not the code. Every screen must be clear to them without a developer at hand. CMS falls back to the default **for that language**, never to English on a Polish page. - Polish follows the same rules: short, neutral, formal (`Wpisz…`, `Zostaw puste…`; no `Ty`/`Pan` forms — impersonal or imperative). +- **Admin languages:** when the project has not set `i18n.supportedLanguages`, the plugin + turns on English and Polish for the admin panel. A project that sets its own list keeps it. - A project overrides any of it through the plugin's override options; the project's value wins (CLAUDE.md main rule). @@ -152,9 +154,13 @@ Rules: - Fields that only work with another setting (`admin.condition`) hide until they apply, rather than explaining in a description when they apply. - Admin navigation: collections and globals sit in a few fixed groups — - **Content**, **Forms**, **Settings**, **Statistics** (pl: Treści, Formularze, - Ustawienia, Statystyki). A nav link or view the user cannot open is hidden, never shown - with "You do not have access". + **Content**, **Forms**, **Settings**, **Privacy**, **Statistics** (pl: Treści, Formularze, + Ustawienia, Prywatność, Statystyki). Settings holds configuration only; logs and records + (consent log, visits) go to their own group. A nav link or view the user cannot open is + hidden, never shown with "You do not have access". +- A global or collection is named for what the editor finds in it ("Form messages"), not + for the mechanism behind it ("Notifications"). Renaming the visible label never changes + the slug. ## 8. Custom views, widgets, buttons