страница пакета→ /knowledge/questions.md
pages/knowledge/questions.md
65 строк, 2.3 КБ. Как страница.
- ---
- type: Collection
- title: Вопросы
- icon: "❓"
- description: "Что мы спросили, у кого и чем закончилось. Ответ — это решение."
- itemType: Question
- items: {mode: path, path: /knowledge/questions, recursive: false}
- writeTo: /knowledge/questions
- properties:
- status: {kind: phase, contour: /knowledge/contours/questions, label: "Состояние"}
- addressee: {kind: relation, collection: /business/people, label: "Кому адресован"}
- about: {kind: text, label: "О чём (пути записей)"}
- askedOn: {kind: date, label: "Задан"}
- due: {kind: date, label: "Нужен ответ к"}
- answeredBy: {kind: relation, collection: /knowledge/decisions, label: "Ответ (решение)"}
- sourceDocs: {kind: relation, collection: /knowledge/documents, multiple: true, label: "Источник: документы"}
- views:
- - id: questions--board
- name: По состоянию
- layout: board
- fields: {}
- board:
- preview: page-content
- cardSize: small
- wrap: true
- grouping:
- by: status
- colorBy: status
- sorting:
- - {propertyId: due, direction: ascending}
- properties:
- - {name: title, visible: true}
- - {name: addressee, visible: true}
- - {name: due, visible: true}
- - id: questions--open
- name: Открытые
- layout: table
- fields: {}
- filters:
- - {id: open, type: condition, propertyId: status, operator: equals, value: open}
- sorting:
- - {propertyId: due, direction: ascending}
- properties:
- - {name: title, visible: true, width: 420}
- - {name: addressee, visible: true}
- - {name: about, visible: true}
- - {name: askedOn, visible: true}
- - {name: due, visible: true}
- - id: questions--table
- name: Все вопросы
- layout: table
- fields: {}
- sorting:
- - {propertyId: askedOn, direction: descending}
- properties:
- - {name: title, visible: true, width: 420}
- - {name: status, visible: true}
- - {name: addressee, visible: true}
- - {name: about, visible: true}
- - {name: askedOn, visible: true}
- - {name: due, visible: true}
- - {name: answeredBy, visible: true}
- ---
- Одна запись — один вопрос. Название — сам вопрос. В поле «О чём» пишут пути записей, к которым он относится. Вопрос получает статус «Отвечен», когда указан ответ: решение из коллекции [Решения](/knowledge/decisions.md). Если вопрос больше не нужен, его снимают.