Updated documentation for LinkRedirects (#20378)

no issue

- Reduced opacity in background rectangles to improve readability of the
sequence diagram when rendered on Github
This commit is contained in:
Chris Raible 2024-06-12 16:27:15 -07:00 committed by GitHub
parent d00b6994c6
commit 7d5ff4d16e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,7 @@ sequenceDiagram
participant Ghost participant Ghost
participant Ghost Async participant Ghost Async
participant DB participant DB
rect rgb(0,100,0) rect rgba(0,100,0, 0.1)
Member ->>Ghost: Clicks link in email Member ->>Ghost: Clicks link in email
Ghost ->> DB: Query: lookup redirect Ghost ->> DB: Query: lookup redirect
DB ->> Ghost: Redirect record DB ->> Ghost: Redirect record
@ -111,7 +111,7 @@ sequenceDiagram
Ghost -->> Ghost Async: Emit RedirectEvent Ghost -->> Ghost Async: Emit RedirectEvent
Ghost ->> Member: 302 Redirect Ghost ->> Member: 302 Redirect
end end
rect rgb(100,0,0) rect rgba(100,0,0,0.1)
Ghost Async ->> DB: Lookup Member by `uuid` from URL param Ghost Async ->> DB: Lookup Member by `uuid` from URL param
DB ->> Ghost Async: `member` record DB ->> Ghost Async: `member` record
Ghost Async ->> DB: Insert `member_click_event` Ghost Async ->> DB: Insert `member_click_event`
@ -120,7 +120,7 @@ sequenceDiagram
Ghost Async ->> DB: Select `member_click_event` Ghost Async ->> DB: Select `member_click_event`
DB ->> Ghost Async: `member_click_event` record DB ->> Ghost Async: `member_click_event` record
end end
rect rgb(0,0,100) rect rgba(0,0,100, 0.1)
Ghost Async ->> DB: Select `member` by id Ghost Async ->> DB: Select `member` by id
DB ->> Ghost Async: `member` record DB ->> Ghost Async: `member` record
Ghost Async ->> DB: Begin transaction Ghost Async ->> DB: Begin transaction
@ -141,7 +141,7 @@ sequenceDiagram
DB ->> Ghost Async: 👌 DB ->> Ghost Async: 👌
deactivate DB deactivate DB
end end
rect rgb(100,100,0) rect rgba(100,100,0,0.1)
Ghost Async ->> DB: Select `webhooks` Ghost Async ->> DB: Select `webhooks`
Note right of DB: Send `member.edited` webhook Note right of DB: Send `member.edited` webhook
DB ->> Ghost Async: `webhook` records DB ->> Ghost Async: `webhook` records