codeant-ai-for-open-source[bot] commented on PR #37058:
URL: https://github.com/apache/superset/pull/37058#issuecomment-3738900946

   ## **Sequence Diagram**
   
   Shows how DatasetPanel now supplies separate image (size) and text 
(textSize) hints and how EmptyState computes an effective text size and 
container sizing to render smaller icons and text as adjusted in this PR.
   
   ```mermaid
   sequenceDiagram
       participant DatasetPanel
       participant EmptyState
       participant Browser
   
       DatasetPanel->>EmptyState: Render with image size="medium" and 
textSize="large" (or size prop)
       EmptyState->>EmptyState: compute effectiveTextSize = textSize ?? size 
and containerSize = larger(size, effectiveTextSize)
       EmptyState->>EmptyState: render ImageContainer using image size and 
Title/Description using effectiveTextSize
       EmptyState-->>Browser: Return composed UI with adjusted icon, spinner, 
and text sizes
       Browser-->>DatasetPanel: Visual shows smaller icons/spinner and 
corrected layout
   ```
   
   ---
   *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]

Reply via email to