CodeForPhilly / CodeForPhilly/stately
Case data view should render fields in form template order
- Ngôn ngữ chính
- Python
- Star
- 22
- Fork
- 5
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by locating the CaseData view and the workflow definition that supplies the case's actions and form templates. Trace how the data view currently chooses field names and order, then review both proposed approaches before deciding which behavior the project should adopt. Done means the data view follows the form template order and uses the template field names, with coverage for the chosen fallback behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100