package page→ /events.md
pages/events.md
64 lines, 2.6 KB. As a page.
- ---
- type: Collection
- title: "Events"
- icon: "🎉"
- 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\"."
- itemType: Event
- items: {mode: path, path: /events, recursive: false}
- writeTo: /events
- properties:
- status: {kind: phase, contour: /events/contours/events, label: "Status", required: true}
- date: {kind: date, label: "Date", required: true}
- time: {kind: text, label: "Time (HH:MM)"}
- place: {kind: text, label: "Place (venue, address)"}
- url: {kind: url, label: "Link"}
- source: {kind: relation, collection: /event-sources, label: "Source"}
- category:
- kind: select
- label: "Category"
- options:
- - {name: music, label: "Music", color: purple}
- - {name: dance, label: "Dance", color: red}
- - {name: practice, label: "Practices", color: green}
- - {name: talk, label: "Lectures and meetings", color: blue}
- - {name: networking, label: "Networking", color: orange}
- - {name: party, label: "Parties", color: pink}
- - {name: sport, label: "Sport", color: yellow}
- - {name: art, label: "Art", color: brown}
- - {name: food, label: "Food", color: default}
- - {name: other, label: "Other", color: gray}
- price: {kind: text, label: "Price"}
- views:
- - id: events--board
- name: By status
- layout: board
- fields: {}
- board: {preview: page-content, cardSize: small, wrap: true}
- grouping: {by: status, colorBy: status}
- sorting:
- - {propertyId: date, direction: ascending}
- properties:
- - {name: title, visible: true}
- - {name: date, visible: true}
- - {name: time, visible: true}
- - {name: place, visible: true}
- - id: events--table
- name: All events
- layout: table
- fields: {}
- sorting:
- - {propertyId: date, direction: ascending}
- properties:
- - {name: title, visible: true, width: 320}
- - {name: date, visible: true}
- - {name: time, visible: true}
- - {name: status, visible: true}
- - {name: category, visible: true}
- - {name: place, visible: true}
- - {name: source, visible: true}
- - {name: url, visible: true}
- ---
- 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".
- 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).