CodeForPhilly / CodeForPhilly/stately
Case data view should render fields in form template order
- 主要语言
- Python
- 星标
- 22
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
描述
The "data" view should render the case's data in the same field order as the form template. It should also use the same `name`s, instead of the underscore-separated ones. This should be a matter of combining all the actions' templates in order and passing them to the `CaseData` view.
Alternatively, we could just have a `template` property on the case object in the workflow definition. That would probably be ideal, but maybe it's optional, and it should fall back to the same order of the form templates.
Either way, this is definitely not for MVP.
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先定位 CaseData 视图,以及为案例提供操作和表单模板的 workflow 定义。跟踪数据视图当前如何选择字段名称和顺序,然后审查提出的两种方案,再决定项目应采用哪种行为。完成的标准是数据视图遵循表单模板的顺序并使用模板字段名称,同时覆盖所选的 fallback 行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100