Skip to content

Commit

Permalink
feat(EditableContentFlow.md): add flowcharts for content pages
Browse files Browse the repository at this point in the history
The EditableContentFlow.md file has been added to the dicty-frontpage/docs directory. It contains two flowcharts: one for unauthorized users and one for authorized users. These flowcharts visually represent the flow of content editing and viewing for each type of user.
  • Loading branch information
ktun95 committed Jan 17, 2024
1 parent 9d53dcf commit 7884a1b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions apps/dicty-frontpage/docs/EditableContentFlow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## Unauthorized User

```mermaid
flowchart TD
A["/show"]
B[Show]
C[ContentView]
D["Editor editable={false}"]
A --> B --> C --> D
```

## Authorized User

```mermaid
flowchart TD
A["/editable"]
B["Editable (QUERY)"]
C[EditableView]
D["Editor editable={false}"]
E["EditButton (navigate to /edit)"]
F["/edit"]
G["Edit (QUERY)"]
H[EditView]
I["Editor editable={true}"]
A --> B -->|data| C
C -->|data| D
C --> E
F --> G -->|data|H -->|data|I
```

0 comments on commit 7884a1b

Please sign in to comment.