From 5b6d4c094e43c60e1982b90e86dc2ed1b9d2e93d Mon Sep 17 00:00:00 2001 From: Sally McGrath Date: Thu, 5 Dec 2024 17:27:37 +0000 Subject: [PATCH 1/2] Content: Data Flows : TV Show (#1189) * TV Show project this was missing btw * speculatively add the two repos this can't work until #1204 is merged * oh i fixed the labels on this project too --- .../content/data-flows/project/_index.md | 7 +++++++ .../data-flows/project/backlog/_index.md | 8 ++++++++ .../project/backlog/backlog-1/index.md | 9 +++++++++ .../project/backlog/backlog-2/index.md | 9 +++++++++ .../project/backlog/backlog-3/index.md | 9 +++++++++ .../content/data-flows/project/prep/index.md | 14 ++++++++++++++ .../data-flows/project/success/index.md | 18 ++++++++++++++++++ .../data-flows/sprints/1/backlog/index.md | 2 +- .../data-flows/sprints/2/backlog/index.md | 2 +- .../data-flows/sprints/3/backlog/index.md | 2 +- 10 files changed, 77 insertions(+), 3 deletions(-) create mode 100644 org-cyf-itp/content/data-flows/project/_index.md create mode 100644 org-cyf-itp/content/data-flows/project/backlog/_index.md create mode 100644 org-cyf-itp/content/data-flows/project/backlog/backlog-1/index.md create mode 100644 org-cyf-itp/content/data-flows/project/backlog/backlog-2/index.md create mode 100644 org-cyf-itp/content/data-flows/project/backlog/backlog-3/index.md create mode 100644 org-cyf-itp/content/data-flows/project/prep/index.md create mode 100644 org-cyf-itp/content/data-flows/project/success/index.md diff --git a/org-cyf-itp/content/data-flows/project/_index.md b/org-cyf-itp/content/data-flows/project/_index.md new file mode 100644 index 000000000..1771218fc --- /dev/null +++ b/org-cyf-itp/content/data-flows/project/_index.md @@ -0,0 +1,7 @@ ++++ +title = 'Product' +description = 'The CYF TV Show Project: build a show browsing site in an asynchronous pair' +layout = 'product' +emoji= '🎁' +menu_level = ['module'] ++++ diff --git a/org-cyf-itp/content/data-flows/project/backlog/_index.md b/org-cyf-itp/content/data-flows/project/backlog/_index.md new file mode 100644 index 000000000..2e9f73caf --- /dev/null +++ b/org-cyf-itp/content/data-flows/project/backlog/_index.md @@ -0,0 +1,8 @@ ++++ +title = 'Backlog' +description = 'All the features that we want to implement in this project' +layout = 'subdir' +emoji= '🥞' +menu_level = ['product'] +weight=2 ++++ diff --git a/org-cyf-itp/content/data-flows/project/backlog/backlog-1/index.md b/org-cyf-itp/content/data-flows/project/backlog/backlog-1/index.md new file mode 100644 index 000000000..e9ab7d7fd --- /dev/null +++ b/org-cyf-itp/content/data-flows/project/backlog/backlog-1/index.md @@ -0,0 +1,9 @@ ++++ +title = 'backlog for sprint 1' +layout = 'backlog' +emoji= '🏷️' +menu_level = ['subdir'] +weight = 1 +backlog= 'Project-TV-Show' +backlog_filter= '📅 Sprint 1' ++++ diff --git a/org-cyf-itp/content/data-flows/project/backlog/backlog-2/index.md b/org-cyf-itp/content/data-flows/project/backlog/backlog-2/index.md new file mode 100644 index 000000000..32d0e1ead --- /dev/null +++ b/org-cyf-itp/content/data-flows/project/backlog/backlog-2/index.md @@ -0,0 +1,9 @@ ++++ +title = 'backlog for sprint 2' +layout = 'backlog' +emoji= '🏷️' +menu_level = ['subdir'] +weight = 2 +backlog= 'Project-TV-Show' +backlog_filter= '📅 Sprint 2' ++++ diff --git a/org-cyf-itp/content/data-flows/project/backlog/backlog-3/index.md b/org-cyf-itp/content/data-flows/project/backlog/backlog-3/index.md new file mode 100644 index 000000000..f618f58df --- /dev/null +++ b/org-cyf-itp/content/data-flows/project/backlog/backlog-3/index.md @@ -0,0 +1,9 @@ ++++ +title = 'backlog for sprint 3' +layout = 'backlog' +emoji= '🏷️' +menu_level = ['subdir'] +weight = 3 +backlog= 'Project-TV-Show' +backlog_filter= '📅 Sprint 3' ++++ diff --git a/org-cyf-itp/content/data-flows/project/prep/index.md b/org-cyf-itp/content/data-flows/project/prep/index.md new file mode 100644 index 000000000..04c153ee4 --- /dev/null +++ b/org-cyf-itp/content/data-flows/project/prep/index.md @@ -0,0 +1,14 @@ ++++ +title = 'Prep' +description = 'How will you approach this project?' +layout = 'prep' +menu_level = ['product'] +emoji= '🧑🏿‍💻' +weight = 1 +[[blocks]] +name="Planning and organising your project" +src="https://github.com/CodeYourFuture/Project-TV-Show/readme" +[[blocks]] +name="Setting up" +src="https://github.com/CodeYourFuture/Project-TV-Show/issues/4" ++++ diff --git a/org-cyf-itp/content/data-flows/project/success/index.md b/org-cyf-itp/content/data-flows/project/success/index.md new file mode 100644 index 000000000..82e4d5256 --- /dev/null +++ b/org-cyf-itp/content/data-flows/project/success/index.md @@ -0,0 +1,18 @@ ++++ +title = "Success" +description = "How do we know if our product is a success?" +layout = "success" +emoji= "✅" +menu_level = [ "product" ] +weight = 11 +[[objectives]] +1= "Your product is deployed on a public URL" +2= "You have delivered features every sprint" +3="Your features meet the acceptance criteria" +4="At least one other person has contributed to the project" +5="It works" ++++ + +{{}} +You have to build it together, it has to work, and you have to show us. +{{}} diff --git a/org-cyf-itp/content/data-flows/sprints/1/backlog/index.md b/org-cyf-itp/content/data-flows/sprints/1/backlog/index.md index 651eeb185..623d86bf4 100644 --- a/org-cyf-itp/content/data-flows/sprints/1/backlog/index.md +++ b/org-cyf-itp/content/data-flows/sprints/1/backlog/index.md @@ -4,6 +4,6 @@ layout = 'backlog' emoji= '🏷️' menu_level = ['sprint'] weight = 2 -backlog= 'Module-Data-Flows' +backlog= ['Module-Data-Flows', 'Project-TV-Show'] backlog_filter='📅 Sprint 1' +++ diff --git a/org-cyf-itp/content/data-flows/sprints/2/backlog/index.md b/org-cyf-itp/content/data-flows/sprints/2/backlog/index.md index c30fc133d..34a0ba365 100644 --- a/org-cyf-itp/content/data-flows/sprints/2/backlog/index.md +++ b/org-cyf-itp/content/data-flows/sprints/2/backlog/index.md @@ -4,6 +4,6 @@ layout = 'backlog' emoji= '🏷️' menu_level = ['sprint'] weight = 2 -backlog= 'Module-Data-Flows' +backlog= ['Module-Data-Flows', 'Project-TV-Show'] backlog_filter='📅 Sprint 2' +++ diff --git a/org-cyf-itp/content/data-flows/sprints/3/backlog/index.md b/org-cyf-itp/content/data-flows/sprints/3/backlog/index.md index fdcc6160e..99cf475fa 100644 --- a/org-cyf-itp/content/data-flows/sprints/3/backlog/index.md +++ b/org-cyf-itp/content/data-flows/sprints/3/backlog/index.md @@ -4,6 +4,6 @@ layout = 'backlog' emoji= '🏷️' menu_level = ['sprint'] weight = 2 -backlog= 'Module-Data-Flows' +backlog= ['Module-Data-Flows', 'Project-TV-Show'] backlog_filter='📅 Sprint 3' +++ From 598f4d272de4a66ae9d9bb9975d6211a0edb0653 Mon Sep 17 00:00:00 2001 From: Barath Vignarajah Date: Thu, 5 Dec 2024 19:50:07 +0000 Subject: [PATCH 2/2] Fixing cloning bug (#1228) --- common-theme/layouts/_default/backlog.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common-theme/layouts/_default/backlog.html b/common-theme/layouts/_default/backlog.html index 1e202f742..bccadea0e 100644 --- a/common-theme/layouts/_default/backlog.html +++ b/common-theme/layouts/_default/backlog.html @@ -1,4 +1,5 @@ {{ define "main" }} + {{ $currentPath := .Page.RelPermalink }} {{ $backlog_filter := .Page.Params.backlog_filter }} {{ $repos := .Page.Params.backlog }} {{ if not (reflect.IsSlice $repos) }} @@ -14,6 +15,7 @@ */}} {{ range $repos }} {{ $issueBlocks := partial "block/issues-list-as-blocks.html" (dict "backlog" . "backlog_filter" $backlog_filter) }} + {{ $repo := . }} {{ range $issueBlocks }}