dotnet new fluentcms-admin, and the admin in dotnet new fluentcms (A-44)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp
- Lĩnh vực
- backend, build-system, frontend, testing
Hướng nghiên cứu
Start with docs/planning/admin-technical-spec.md sections 6.2, 6.4 and 10.8, then read the existing templates under templates/fluentcms and the checks in templates/test-templates.sh and eng/fresh-machine.ps1. Implement both admin template paths and update the plugin and template READMEs as described. Done means all listed acceptance checks pass, including trimmed publishing, admin routes and the CI time limit.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Row 11.1 asks for three templates: fluentcms, an API host with the admin; fluentcms-admin, a standalone admin; and fluentcms-plugin. FluentCMS.Templates has two of them, and the host has no admin:
fluentcmswrites a host ofFluentCMS.Core, a data provider and the media, search and webhooks plugins (templates/fluentcms/FluentCms-App.csproj), whoseProgram.csmaps the APIs and the OpenAPI document and nothing under/admin. Its options are--providerand--sample(templates/fluentcms/.template.config/template.json).fluentcms-admindoes not exist. A team with admin halves of its own, the output ofdotnet new fluentcms-pluginamong them, has no app to put them in: the only app isFluentCMS.Admin.Appof this repository, which is not a package.- The checks read nothing of the admin.
templates/test-templates.shcreates the six hosts and the plugin with and without its half, starts the SQLite hosts and reads the Delivery API;eng/fresh-machine.ps1does the same from packages on a clean machine. Section 6.2 asks that theTemplatesjob reads/admin/config.jsonand/admin/.
Proposal
dotnet new fluentcms-admin -n <name>writes a WebAssembly app likeFluentCMS.Admin.App:Program.cswithAddFluentCmsAdmin; package references toFluentCMS.Admin, the rich text editor, the administration assembly and the six first-party halves, each with itsBlazorWebAssemblyLazyLoadline; the trimmed publish with trim warnings as errors;wwwroot/config.jsonfor a local API host andindex.html; a launch profile fordotnet watch; and a README on adding a half of the team's own, on the two settings the API host needs for the app's origin (6.4), and on hosting the result as static files (docs/admin-hosting.md) or from the team's API host withFluentCMS.Admin.Hostingserving this project. It has no option: a team removes the lines of a half it does not want.dotnet new fluentcmsgains--admin, on by default: the packageFluentCMS.Admin.Hosting,cms.AddAdmin(),app.MapFluentCmsAdmin(), the keys ofFluentCms:Adminin the settings, and a section of the README on opening/adminand on the first administrator. It serves the prebuilt build of the package (A-55).--admin falseleaves each of these out.- The plugin template's README says how to put its half into an app made with
fluentcms-admin. - The checks.
test-templates.shcreates the hosts with the admin and two of them without, builds each with warnings as errors, starts the SQLite hosts and reads/admin/config.jsonand/admin/; it creates the app, publishes it trimmed, adds the plugin template's half to it and checks that the build stops without the lazy line and passes with it; and it starts one host that serves the template's app in place of the prebuilt one.eng/fresh-machine.ps1reads/admin/of its Blog host. The job's time before and after is in the pull request.
Acceptance
-
dotnet new fluentcmsbuilds with warnings as errors for each provider and sample, and its SQLite host answers/admin/with the base set and/admin/config.jsonwith the host's origin and the clientfluentcms-admin -
dotnet new fluentcms --admin falsewrites no reference to the admin, in the project, the code, the settings or the README, and/adminanswers 404 -
dotnet new fluentcms-adminbuilds with warnings as errors and publishes trimmed without a trim warning, and the published app holds the manifests of the six halves - The half of
dotnet new fluentcms-pluginadded to that app is listed in its gathered manifests, and the build stops when its lazy line is missing - A host of the template serves the template's app through
FluentCMS.Admin.Hosting - The
Templatesjob and theFresh machinejobs run these checks, and theTemplatesjob stays within its 30 minutes - The READMEs of the three templates and
templates/README.mddescribe the admin parts
Design: docs/planning/admin-technical-spec.md, sections 6.2, 6.4 and 10.8 (A-44). Rows 11.1, 11.4, 8.17; decision 5. Needs A-55 for --admin, and A6 merged for the packages it references. Size: M.
- Ngôn ngữ chính
- C#
- Star
- 567
- Fork
- 107
- Merge trung bình
- 1 giờ 19 phút
- Pull request đã merge (30 ngày)
- 353
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fluentcms/FluentCMS
-
area:localization plugin type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:storage type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:testing type:bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:api area:publishing type:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
fluentcms/FluentCMS#3473 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:storage plugin type:bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của fluentcms/FluentCMS
Issue tương tự
-
fix(ocr): compile the Tesseract-free pipeline with Tokio runtimeCó thể đã có người làm @Goldziher đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
lompotc silently drops Java/C# class members past 128 instead of erroring, as its header claimsĐang mởbug sev-5 vm
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
area:jobads-cv bug FE mvp P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
klasolsson81/jobbliggaren#2271 ·
Maintainer thường phản hồi trong vòng 1 ngày