Skip to content

Commit

Permalink
[contentlayer,vault,#97][s]: update initiative status and resolution …
Browse files Browse the repository at this point in the history
…fields
  • Loading branch information
khalilcodes committed Apr 5, 2023
1 parent fc1dad0 commit ba59452
Show file tree
Hide file tree
Showing 23 changed files with 32 additions and 38 deletions.
18 changes: 13 additions & 5 deletions site/contentlayer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,15 @@ const Podcast = defineDocumentType(() => ({
computedFields
}))

const resolutionOptions = [
"incubating",
const statusOptions = [
"active",
"incubating",
"inactive",
"completed"
]

const resolutionOptions = [
"dormant",
"completed",
"retired",
"merged",
"cancelled"
Expand All @@ -152,17 +156,21 @@ const Initiative = defineDocumentType(() => ({
start: { type: "json" },
end: { type: "json" },
team: { type: "list", of: { type: "string" }, default: [] },
alumni: { type: "json" },
size: { type: "enum", options: ["xl", "l", "m", "s", "xs"] },
state: { type: "enum", options: ["open", "closed"] },
status: { type: "enum", options: resolutionOptions },
status: { type: "enum", options: statusOptions },
resolution: { type: "enum", options: resolutionOptions },
created: { type: "date" },
},
computedFields: {
...computedFields,
alumni: {
type: "list",
resolve: doc => doc.alumni ?? []
resolve: doc => {
if (!Array.isArray(doc.alumni)) return []
return doc.alumni
}
}
}
}))
Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/blind-spot-series.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ team:
- sylvieshiweibarbier
alumni:
size: m
state: closed
status: completed
created: 2023-03-21
---
Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/collective-intelligence.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ team:
- liamaet
alumni:
size: l
state: closed
status: completed
created: 2023-03-21
---
Expand Down
3 changes: 1 addition & 2 deletions vault/initiatives/collective-wisdom.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ team:
- liamaet
alumni:
size: m
state: open
status: active
status: inactive
created: 2023-03-21
---

Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/columinate.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ team:
- Karl Steyaert
alumni:
size: l
state: open
status: active
created: 2023-03-20
---
Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/conscious-parenting.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ team:
- esthermontmany
alumni:
size: xl
state: open
status: incubating
created: 2023-02-24
---
Expand Down
3 changes: 1 addition & 2 deletions vault/initiatives/contemplative-activism.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ team:
- liamaet
alumni:
size: l
state: open
status: active
status: inactive
created: 2023-03-21
---

Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/ecosystem-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ team:
alumni:
- eilidhross
size: xl
state: open
status: dormant
created: 2023-03-10
---
Expand Down
4 changes: 2 additions & 2 deletions vault/initiatives/embodying-collective-transformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ team:
- Jocelyn Ames
- catherine-tran
size: l
status: closed
resolution: completed
status: completed
# resolution: completed
created: 2023-03-20
---

Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/exploring-web3-and-crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ team:
alumni:
- eilidhross
size: xl
state: open
status: active
created: 2023-03-16
---
Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/hub-bergerac.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ team:
- marc-santolini
alumni:
size: xl
state: open
status: active
created: 2023-03-19
---
Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/hub-berlin.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ team:
- sen-zhan
alumni:
size: xl
state: open
status: active
created: 2023-03-19
---
Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/hub-petit-bois-martin.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ team:
- sylvieshiweibarbier
alumni:
size: xl
state: open
status: active
created: 2023-03-19
---
Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/hubs.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ team:
- liamaet
alumni:
size: xl
state: open
status: active
created: 2023-03-16
---
Expand Down
3 changes: 1 addition & 2 deletions vault/initiatives/labs.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Life Itself Labs"
description: "Research arm of Life Itself working on systems and data. Strategically relevant because learning and rigor are a key part of our approach."
image: assets/images/life-itself-labs.png
image: /assets/images/life-itself-labs.png
homepage: https://labs.lifeitself.org
start: 2021
end:
Expand All @@ -10,7 +10,6 @@ team:
- theo-cox
alumni:
size: xl
state: open
status: active
created: 2023-03-16
---
Expand Down
3 changes: 1 addition & 2 deletions vault/initiatives/ontological-politics.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ team:
- rufuspollock
alumni:
size: xl
state: open
status: active
status: inactive
created: 2023-03-20
---

Expand Down
4 changes: 2 additions & 2 deletions vault/initiatives/podcast.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ team:
alumni:
- eilidhross
size: xl
status: open
resolution: active
status: active
# resolution: active
created: 2023-03-15
---
## Description
Expand Down
4 changes: 2 additions & 2 deletions vault/initiatives/possibility-now.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ team:
- sylvieshiweibarbier
alumni:
size: m
state: closed
status: retired
status: inactive
resolution: retired
created: 2023-03-21
---

Expand Down
4 changes: 2 additions & 2 deletions vault/initiatives/residencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ team:
- liamaet
alumni:
size: xl
status: open
resolution: active
status: active
# resolution: active
created: 2023-03-20
---

Expand Down
6 changes: 3 additions & 3 deletions vault/initiatives/sustainable-wellbeing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ end:
team:
- rufuspollock
- liamaet
alumni:
# alumni:
# -
size: m
state: open
status: active
status: inactive
created: 2023-03-21
---

Expand Down
4 changes: 2 additions & 2 deletions vault/initiatives/tao-of-life-itself.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ team:
alumni:
- eilidh-ross
size: xl
status: open
resolution: active
status: active
# resolution: active
created: 2023-03-20
---

Expand Down
1 change: 0 additions & 1 deletion vault/initiatives/wisdom-colloquia.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ team:
# alumni:
# -
size: m
state: closed
status: completed
created: 2023-03-21
---
3 changes: 2 additions & 1 deletion vault/templates/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ team:
# -
size: xl | l | m | s | xs
state: open | closed
status: incubating | active | dormant | completed | retired | merged | cancelled
status: incubating | active | completed | inactive
resolution: dormant | retired | merged | cancelled
created: "{{date}}"
---

Expand Down

0 comments on commit ba59452

Please sign in to comment.