codeant-ai-for-open-source[bot] commented on PR #38091:
URL: https://github.com/apache/superset/pull/38091#issuecomment-3935733344
## **Sequence Diagram**
Shows how the Database modal header resolves and displays the documentation
link for a selected database engine. The PR updates fallback URLs for certain
engines so the modal points to the new Docs v2 locations.
```mermaid
sequenceDiagram
participant User
participant Browser
participant Frontend
participant DocsSite
User->>Browser: Open "Add / Edit Database" modal
Browser->>Frontend: Render ModalHeader (engine selected)
Frontend->>Frontend: getDatabaseDocumentationLinks() -> supersetTextDocs?
alt supersetTextDocs available
Frontend-->>Browser: Use supersetTextDocs[engine] or default link
else fallback to built-in mapping
Frontend-->>Browser: Use irregularDocumentationLinks[engine]
(updated URLs) or generic docs link
end
Browser->>User: Display "View documentation" link (points to DocsSite)
```
---
*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]