ShtukbaseStandard
包页面→ /work/bugs.md

pages/work/bugs.md

59 行, 2.1 KB. 以页面形式查看.

  1. ---
  2. type: Collection
  3. title: 缺陷
  4. icon: "🐞"
  5. description: "出了什么问题:症状、在哪里看到、证据,以及违反了哪项需求。"
  6. itemType: Bug
  7. items: {mode: path, path: /work/bugs, recursive: false}
  8. writeTo: /work/bugs
  9. properties:
  10. status: {kind: phase, contour: /work/contours/bugs, label: "状态"}
  11. violates: {kind: relation, collection: /product/requirements, multiple: true, label: "违反的需求"}
  12. severity:
  13. kind: select
  14. label: "严重程度"
  15. options:
  16. - {name: blocks, label: "阻塞工作", color: red}
  17. - {name: annoys, label: "令人烦恼", color: orange}
  18. - {name: cosmetic, label: "仅外观", color: gray}
  19. where: {kind: text, label: "在哪里看到(屏幕、地址、状态)"}
  20. evidence: {kind: text, label: "证据(截图、文件路径)"}
  21. owner: {kind: relation, collection: /business/people, label: "负责人"}
  22. views:
  23. - id: bugs--board
  24. name: "按状态"
  25. layout: board
  26. fields: {}
  27. board:
  28. preview: page-content
  29. cardSize: small
  30. wrap: true
  31. grouping:
  32. by: status
  33. colorBy: status
  34. sorting:
  35. - {propertyId: severity, direction: ascending}
  36. properties:
  37. - {name: title, visible: true}
  38. - {name: severity, visible: true}
  39. - {name: where, visible: true}
  40. - {name: owner, visible: true}
  41. - id: bugs--table
  42. name: "全部缺陷"
  43. layout: table
  44. fields: {}
  45. sorting:
  46. - {propertyId: severity, direction: ascending}
  47. properties:
  48. - {name: title, visible: true, width: 420}
  49. - {name: status, visible: true}
  50. - {name: severity, visible: true}
  51. - {name: violates, visible: true}
  52. - {name: where, visible: true}
  53. - {name: evidence, visible: true}
  54. - {name: owner, visible: true}
  55. ---
  56. 一条记录对应一个症状。标题用一句话说明问题所在。记录正文写明如何重现,以及预期结果是什么。
  57. 缺陷通过“违反的需求”字段链接到它所违反的需求。只有安装了产品层时,该字段才会填写。缺陷的状态见[缺陷流程轮廓](/work/contours/bugs.md)。