ShtukbaseStandard
package page→ /events.md

pages/events.md

64 lines, 2.6 KB. As a page.

  1. ---
  2. type: Collection
  3. title: "Events"
  4. icon: "🎉"
  5. description: "Events of a place: what, when, where, a link and where we heard of it. The collector agent adds new ones, a person marks \"interesting\" and \"going\"."
  6. itemType: Event
  7. items: {mode: path, path: /events, recursive: false}
  8. writeTo: /events
  9. properties:
  10. status: {kind: phase, contour: /events/contours/events, label: "Status", required: true}
  11. date: {kind: date, label: "Date", required: true}
  12. time: {kind: text, label: "Time (HH:MM)"}
  13. place: {kind: text, label: "Place (venue, address)"}
  14. url: {kind: url, label: "Link"}
  15. source: {kind: relation, collection: /event-sources, label: "Source"}
  16. category:
  17. kind: select
  18. label: "Category"
  19. options:
  20. - {name: music, label: "Music", color: purple}
  21. - {name: dance, label: "Dance", color: red}
  22. - {name: practice, label: "Practices", color: green}
  23. - {name: talk, label: "Lectures and meetings", color: blue}
  24. - {name: networking, label: "Networking", color: orange}
  25. - {name: party, label: "Parties", color: pink}
  26. - {name: sport, label: "Sport", color: yellow}
  27. - {name: art, label: "Art", color: brown}
  28. - {name: food, label: "Food", color: default}
  29. - {name: other, label: "Other", color: gray}
  30. price: {kind: text, label: "Price"}
  31. views:
  32. - id: events--board
  33. name: By status
  34. layout: board
  35. fields: {}
  36. board: {preview: page-content, cardSize: small, wrap: true}
  37. grouping: {by: status, colorBy: status}
  38. sorting:
  39. - {propertyId: date, direction: ascending}
  40. properties:
  41. - {name: title, visible: true}
  42. - {name: date, visible: true}
  43. - {name: time, visible: true}
  44. - {name: place, visible: true}
  45. - id: events--table
  46. name: All events
  47. layout: table
  48. fields: {}
  49. sorting:
  50. - {propertyId: date, direction: ascending}
  51. properties:
  52. - {name: title, visible: true, width: 320}
  53. - {name: date, visible: true}
  54. - {name: time, visible: true}
  55. - {name: status, visible: true}
  56. - {name: category, visible: true}
  57. - {name: place, visible: true}
  58. - {name: source, visible: true}
  59. - {name: url, visible: true}
  60. ---
  61. One event is one page `events/YYYY-MM-DD-short.md`. The [collector agent](/agents/events-collector.md) adds new ones with the status "New". A person moves the status along the [contour](/events/contours/events.md): "Interesting", "Going". The collector moves past events to "Past".
  62. Where and what we look for is in the [brief](/events-brief.md). Where from is in [places and sources](/event-sources.md). What is on this week is in the [digest](/events-week.md).