From 3af3a8d4998faa585ac53d06c2af983f12b3d6d5 Mon Sep 17 00:00:00 2001 From: Edouard Durand Date: Sun, 11 Oct 2026 18:20:12 +0000 Subject: [PATCH 01/20] feat(admin): put the Replicator page in the CMS menu and draw it with the plugin kit It sat in the System menu, apart from Syslog and Sync. Its table, buttons, error message and record id field now use the kit classes, like the other pages that run the CMS. --- CHANGELOG.md | 4 + docs/operations/REPLICATION.md | 2 +- docs/start/GETTING_STARTED.md | 2 +- src/components/pages/CmsReplicator.vue | 127 ++++++++---------- src/utils/pluginPages.js | 3 +- test/frontend/cmsReplicator.component.test.js | 4 +- test/frontend/pluginPages.test.js | 7 +- 7 files changed, 73 insertions(+), 76 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0014aa18..8d0a4b85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ What changed in each version of Embed CMS, from 3.0.0 on, newest first. The vers ## [Unreleased] +### Changed + +- **The Replicator page is in the CMS menu, and drawn with the plugin kit.** It was in the System menu, apart from Syslog and Sync. Its table, buttons, error message and record id field now use the kit (`cms-card`, `cms-datatable`, `cms-btn`, `cms-callout`, `cms-field`), like the other pages that run the CMS. + ## [3.1.1] - 2026-10-11 ### Changed diff --git a/docs/operations/REPLICATION.md b/docs/operations/REPLICATION.md index 4ec9b086..ea5eecbd 100644 --- a/docs/operations/REPLICATION.md +++ b/docs/operations/REPLICATION.md @@ -94,7 +94,7 @@ Two things to know. First, only resources whose `type` isn't `normal` sync autom ## Starting a sync by hand -When replication runs, the admin has a **Replicator** page in the System menu (for the `admins` group, which gets it by default whenever replication runs). It lists the resources with their type and peers, syncs a resource or one record, and says which peers failed. The same is available over HTTP to any logged-in user (the routes are in `routesToAuth`), and from code: +When replication runs, the admin has a **Replicator** page in the CMS menu (for the `admins` group, which gets it by default whenever replication runs). It lists the resources with their type and peers, syncs a resource or one record, and says which peers failed. The same is available over HTTP to any logged-in user (the routes are in `routesToAuth`), and from code: | Route | What it does | |---|---| diff --git a/docs/start/GETTING_STARTED.md b/docs/start/GETTING_STARTED.md index aa8f4677..b424a261 100644 --- a/docs/start/GETTING_STARTED.md +++ b/docs/start/GETTING_STARTED.md @@ -148,7 +148,7 @@ Users and rights are content too. You'll find them in the **CMS** group of the m 2. In **Users**, create an account per person, in that group. 3. Create your own administrator in the `admins` group, sign in with it, and delete `localAdmin`. -The `admins` group gets every right on every resource at each start, so a new resource is never locked away from you. The built-in plugin pages (Syslog in the CMS menu, and Replicator in the System menu when replication runs) are for `admins` only: they're in that group's **plugins** list at every start. +The `admins` group gets every right on every resource at each start, so a new resource is never locked away from you. The built-in plugin pages (Syslog and, when replication runs, Replicator, both in the CMS menu) are for `admins` only: they're in that group's **plugins** list at every start. ## 6. Go to production diff --git a/src/components/pages/CmsReplicator.vue b/src/components/pages/CmsReplicator.vue index 7c9a91f2..0a8d4c0e 100644 --- a/src/components/pages/CmsReplicator.vue +++ b/src/components/pages/CmsReplicator.vue @@ -1,49 +1,61 @@ @@ -154,42 +166,21 @@ }