From 6db3444a25d59a82d0ca4a7d94872ec1ed93beb1 Mon Sep 17 00:00:00 2001 From: Shaun Thompson Date: Fri, 6 Sep 2024 11:45:53 -0400 Subject: [PATCH] update mermaid diagram to avoid GH mermaid issues Signed-off-by: Shaun Thompson --- PROJECT.md | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/PROJECT.md b/PROJECT.md index ac3dd2e9..add2466a 100644 --- a/PROJECT.md +++ b/PROJECT.md @@ -313,9 +313,8 @@ Examples: ```mermaid flowchart LR create([New issue]) --> triage - subgraph triage[Triage] - direction LR - review[Review] -- Feedback --> review + subgraph triage[Triage Loop] + review[Review] end subgraph decision[Decision] accept[Accept] @@ -323,7 +322,7 @@ flowchart LR end triage -- if accepted --> accept[Assign status, milestone] triage -- if rejected --> close[Assign status, close issue] - ``` +``` ### Examples @@ -376,14 +375,26 @@ A thorough and timely review process for pull requests (PRs) is crucial for main ```mermaid flowchart LR - triage([Triage]) --> draft[Draft PR] - draft --> review[PR Review] - draft -- Feedback --> draft - review --> closed{{Close PR}} - review -- Feedback --> review + triage([Triage]) + draft[Draft PR] + review[PR Review] + closed{{Close PR}} + merge{{Merge PR}} + + subgraph feedback1[Feedback Loop] + draft + end + subgraph feedback2[Feedback Loop] + review + end + + triage --> draft + draft --> review + review --> closed review --> draft - review --> merge{{Merge PR}} + review --> merge ``` + ## Handling stalled issues and pull requests Unfortunately, some issues or pull requests can remain inactive for extended periods. To mitigate this, automation is employed to prompt both the author and maintainers, ensuring that all contributions receive appropriate attention.