Skip to content

Commit

Permalink
All risks arranged in hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoffat committed Jun 14, 2024
1 parent 8f0af84 commit 8f0cff8
Show file tree
Hide file tree
Showing 22 changed files with 32 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/risks/Communication-Risks/Channel-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_position: 2
tags:
- Risks
- Channel Risk
- Communication Risk
part_of: Communication Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
1 change: 1 addition & 0 deletions docs/risks/Communication-Risks/Communication-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tags:
- Invisibility Risk
- Trust and Belief Risk
tweet: yes
part_of: Operational Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Communication-Risks/Internal-Model-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_position: 5
tags:
- Risks
- Internal Model Risk
- Communication Risk
part_of: Communication Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Communication-Risks/Invisibility-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_position: 5
tags:
- Risks
- Invisibility Risk
- Communication Risk
part_of: Communication Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Communication-Risks/Learning-Curve-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_position: 6
tags:
- Risks
- Learning Curve Risk
- Communication Risk
part_of: Communication Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Communication-Risks/Message-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_position: 4
tags:
- Risks
- Message Risk
- Communication Risk
part_of: Communication Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Communication-Risks/Protocol-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_position: 3
tags:
- Risks
- Protocol Risk
- Communication Risk
part_of: Communication Risk
---
<RiskIntro fm={frontMatter} />

Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Communication-Risks/Trust-And-Belief-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_position: 7
tags:
- Risks
- Trust And Belief Risk
- Communication Risk
part_of: Communication Risk
---
<RiskIntro fm={frontMatter} />

Expand Down
1 change: 1 addition & 0 deletions docs/risks/Complexity-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tags:
- Codebase Risk
- Risks
- Refactoring
part_of: Operational Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
1 change: 1 addition & 0 deletions docs/risks/Coordination-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tags:
- Coordination Risk
- Risks
tweet: yes
part_of: Operational Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
1 change: 1 addition & 0 deletions docs/risks/Dependency-Risks/Dependency-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tags:
- Risks
tweet: yes
slug: /risks/Dependency-Risk
part_of: Operational Risk
---

# Dependency Risks
Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Feature-Risks/Conceptual-Integrity-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ featured:
sidebar_position: 3
tags:
- Risks
- Feature Risk
- Conceptual Integrity Risk
part_of: Feature Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Feature-Risks/Feature-Access-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ featured:
sidebar_position: 5
tags:
- Risks
- Feature Risk
- Feature Access Risk
part_of: Feature Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Feature-Risks/Feature-Drift-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_position: 7
tags:
- Risks
- Feature Risk
- Feature Drift Risk
part_of: Feature Risk
---
<RiskIntro fm={frontMatter} />

Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Feature-Risks/Feature-Fit-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ featured:
sidebar_position: 1
tags:
- Risks
- Feature Risk
- Feature Fit Risk
part_of: Feature Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
1 change: 1 addition & 0 deletions docs/risks/Feature-Risks/Feature-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ slug: /risks/Feature-Risk
tags:
- Risks
- Feature Risk
part_of: Operational Risk
---
[Feature Risks](Feature-Risk.md) are types of risks to do with functionality that you need to have in the software you're building.

Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Feature-Risks/Implementation-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ featured:
sidebar_position: 2
tags:
- Risks
- Feature Risk
- Implementation Risk
part_of: Feature Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Feature-Risks/Market-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ featured:
sidebar_position: 4
tags:
- Risks
- Feature Risk
- Market Risk
part_of: Feature Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
2 changes: 1 addition & 1 deletion docs/risks/Feature-Risks/Regression-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ featured:
sidebar_position: 6
tags:
- Risks
- Feature Risk
- Regression Risk
part_of: Feature Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
1 change: 1 addition & 0 deletions docs/risks/Map-And-Territory-Risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tweet: yes
tags:
- Risks
- Map And Territory Risk
part_of: Operational Risk
---

<RiskIntro fm={frontMatter} />
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/category-listing/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ module.exports = async function myPlugin(context, options) {
const mitigates = (doc.frontMatter.practice?.mitigates ?? []).map(t => t.tag)
const attendant = (doc.frontMatter.practice?.attendant ?? []).map(t => t.tag)
const practices = (doc.frontMatter.method?.practices ?? []).map(t => t.tag)
const partOf = doc.frontMatter.part_of ? [doc.frontMatter.part_of] : []

const allTags = [...tagNames, ...mitigates, ...attendant, ...practices]
const allTags = [...tagNames, ...mitigates, ...attendant, ...practices, ...partOf]

//console.log(JSON.stringify(allTags));

Expand Down
10 changes: 10 additions & 0 deletions src/theme/RiskIntro/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ function tagUrl(tag) {
return "/tags/" + tag.replaceAll(" ", "-")
}


const Risk = ({tag}) => {
return (
<li><a href={tagUrl(tag)}>{tag}</a></li>
)
}

const Practice = ({ article, permalink, reason }) => {
return (
<li><a href={permalink}>{article}</a>: {reason}</li>
Expand Down Expand Up @@ -78,6 +85,9 @@ export default ({ fm }) => {
{fm.description}
</div>
</div>
{
fm.part_of ? <><h3>Part Of</h3><ul><Risk tag={fm.part_of} /></ul></> : null
}
{
mitigating.length > 0 ? (
<>
Expand Down

0 comments on commit 8f0cff8

Please sign in to comment.