ShtukbaseStandard
package page→ /knowledge/questions.md

pages/knowledge/questions.md

65 lines, 2.3 KB. As a page.

  1. ---
  2. type: Collection
  3. title: Questions
  4. icon: "❓"
  5. description: "What we asked, whom and how it ended. The answer is a decision."
  6. itemType: Question
  7. items: {mode: path, path: /knowledge/questions, recursive: false}
  8. writeTo: /knowledge/questions
  9. properties:
  10. status: {kind: phase, contour: /knowledge/contours/questions, label: "State"}
  11. addressee: {kind: relation, collection: /business/people, label: "Addressed to"}
  12. about: {kind: text, label: "About what (record paths)"}
  13. askedOn: {kind: date, label: "Asked"}
  14. due: {kind: date, label: "Answer needed by"}
  15. answeredBy: {kind: relation, collection: /knowledge/decisions, label: "Answer (decision)"}
  16. sourceDocs: {kind: relation, collection: /knowledge/documents, multiple: true, label: "Source: documents"}
  17. views:
  18. - id: questions--board
  19. name: By state
  20. layout: board
  21. fields: {}
  22. board:
  23. preview: page-content
  24. cardSize: small
  25. wrap: true
  26. grouping:
  27. by: status
  28. colorBy: status
  29. sorting:
  30. - {propertyId: due, direction: ascending}
  31. properties:
  32. - {name: title, visible: true}
  33. - {name: addressee, visible: true}
  34. - {name: due, visible: true}
  35. - id: questions--open
  36. name: Open
  37. layout: table
  38. fields: {}
  39. filters:
  40. - {id: open, type: condition, propertyId: status, operator: equals, value: open}
  41. sorting:
  42. - {propertyId: due, direction: ascending}
  43. properties:
  44. - {name: title, visible: true, width: 420}
  45. - {name: addressee, visible: true}
  46. - {name: about, visible: true}
  47. - {name: askedOn, visible: true}
  48. - {name: due, visible: true}
  49. - id: questions--table
  50. name: All questions
  51. layout: table
  52. fields: {}
  53. sorting:
  54. - {propertyId: askedOn, direction: descending}
  55. properties:
  56. - {name: title, visible: true, width: 420}
  57. - {name: status, visible: true}
  58. - {name: addressee, visible: true}
  59. - {name: about, visible: true}
  60. - {name: askedOn, visible: true}
  61. - {name: due, visible: true}
  62. - {name: answeredBy, visible: true}
  63. ---
  64. One record is one question. The title is the question itself. In the field "About what" write the paths of the records it relates to. A question gets the status "Answered" when an answer is given: a decision from the collection [Decisions](/knowledge/decisions.md). If the question is no longer needed, it is dropped.