dotnet new fluentcms-admin, and the admin in dotnet new fluentcms (A-44)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- csharp
- 领域
- backend, build-system, frontend, testing
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- C#
- 星标
- 567
- 派生
- 107
- 平均合并
- 1 小时 19 分钟
- 30 天内合并 PR
- 353
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluentcms/FluentCMS 的其他 Issue
-
area:localization plugin type:bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area:storage type:bug
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
area:testing type:bug
难度 3/5 1-2 天 新手友好度 72/100
维护者通常 1 天内回复
-
area:api area:publishing type:feature
难度 4/5 3-5 天 新手友好度 55/100
fluentcms/FluentCMS#3473 · 1 条评论 ·
维护者通常 1 天内回复
-
area:storage plugin type:bug
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
查看 fluentcms/FluentCMS 的全部 Issue
相似的 Issue
-
fix(ocr): compile the Tesseract-free pipeline with Tokio runtime可能已有人在做 @Goldziher 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
priority:P2
难度 2/5 1-3 小时 新手友好度 82/100
-
bug sev-5 vm
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 85/100
-
area:jobads-cv bug FE mvp P3
难度 2/5 1-3 小时 新手友好度 77/100
klasolsson81/jobbliggaren#2271 ·
维护者通常 1 天内回复