Sites and locales of the admin, and the multi-site admin half (A-35)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- csharp, openapi
- Ambito
- authorization, backend-api-design, testing
Direzione di ricerca
Read docs/planning/admin-technical-spec.md, sections 4.16, 5.6 and 10.7, and first resolve the stated dependency on A-51. Then locate the administration assembly and FluentCMS.Plugins.MultiSite.Admin entry points, along with the OpenAPI document and component, API and end-to-end tests. Done means both admin areas meet the listed acceptance criteria and all specified tests cover them.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Rows 3.17, 7.1 and 7.10 ask that a site's locales, and with the multi-site plugin the sites and their host names, are managed in the admin. The Management API has /sites with its locales, and the multi-site plugin adds the creation and deletion of sites and their host names. The admin has no page for any of it, and no multi-site half beyond the stub of A-51.
Proposal
Core, in the administration assembly (4.16). A page /sites for a caller who holds sites.manage in the site:
- The site's name and default locale.
- Its locales with position, enabled flag and fallbacks: add, change, reorder and remove, with the server's refusals shown by their code.
- After a change the shell reads
GET /me/sitesagain, so the site switcher and the locale switcher follow without a reload.
The multi-site half (5.6), FluentCMS.Plugins.MultiSite.Admin, whose pages all need sites.manage for the instance:
/multi-site/siteswith a menu item beside core's sites: create a site (name, slug, default locale), and delete one after a confirmation that names it./multi-site/sites/{id}/hosts: the host names with the primary first, add, make primary and remove.- The half's records are checked against the OpenAPI document.
Acceptance
- An administrator adds a locale with a fallback to a site, disables it and removes it, and the locale switcher of a content form follows each step
- The default locale of a site is changed, and what the server refuses is shown with its reason
- With the multi-site plugin a site is created, gets a second host name that is made primary, and is deleted after the confirmation; the site switcher follows
- A caller who holds
sites.managein one site sees that site's locales and none of the multi-site pages - In a site where the multi-site plugin is disabled its pages and menu item are absent, and the half is not fetched
- Component tests cover both parts; the API tests check the records against the OpenAPI document; an end-to-end case adds a locale and creates a site
Design: docs/planning/admin-technical-spec.md, sections 4.16, 5.6 and 10.7 (A-35). Rows 3.17, 7.1, 7.10. Needs A-51; #3104 is merged. Size: M.
- Lingua principale
- C#
- Stelle
- 567
- Fork
- 107
- Merge medio
- 1h 19m
- PR unite (30g)
- 353
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fluentcms/FluentCMS
-
area:localization plugin type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:storage type:bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
area:testing type:bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
area:api area:publishing type:feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
fluentcms/FluentCMS#3473 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area:storage plugin type:bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di fluentcms/FluentCMS
Issue simili
-
fix(ocr): compile the Tesseract-free pipeline with Tokio runtimeForse già presa @Goldziher l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
priority:P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
lompotc silently drops Java/C# class members past 128 instead of erroring, as its header claimsApertabug sev-5 vm
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
area:jobads-cv bug FE mvp P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
klasolsson81/jobbliggaren#2271 ·
I maintainer di solito rispondono entro 1 giorno