codeant-ai-for-open-source[bot] commented on PR #38091:
URL: https://github.com/apache/superset/pull/38091#issuecomment-3926250684
## **Sequence Diagram**
Shows how the Database connection modal resolves and opens the correct
documentation URL after doc-v2 updates. The ModalHeader fetches doc mappings,
applies engine-specific overrides (including updated irregular links), and
navigates the user to the resolved docs URL.
```mermaid
sequenceDiagram
participant User
participant ModalHeader
participant DocsResolver
participant Browser
User->>ModalHeader: Open "Add / Edit Database" modal
ModalHeader->>DocsResolver: getDatabaseDocumentationLinks() (load
superset_text docs)
DocsResolver-->>ModalHeader: supersetTextDocs (or null)
ModalHeader->>DocsResolver: resolve documentationLink(engine) (apply
irregular overrides e.g., mssql, gsheets)
DocsResolver-->>ModalHeader: resolved docs URL (updated docs v2 paths)
ModalHeader->>Browser: Open resolved docs URL (user clicks
"Documentation")
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]