codeant-ai-for-open-source[bot] commented on PR #37708:
URL: https://github.com/apache/superset/pull/37708#issuecomment-3908121930
## **Sequence Diagram**
Shows the updated render flow where the Save modal places the InfoTooltip
inside the FormItem label when the datasource is a query, so the info icon is
rendered inline next to the "Dataset Name" label.
```mermaid
sequenceDiagram
participant User
participant ChartUI as Chart UI
participant SaveModal as SaveModal Component
participant FormItem as FormItem (label + input)
User->>ChartUI: Click "Save" (open modal)
ChartUI->>SaveModal: Render SaveModal
SaveModal->>SaveModal: Check datasource.type === 'query'
alt datasource is query
SaveModal->>FormItem: Render label containing "Dataset Name" +
InfoTooltip (inline)
SaveModal->>FormItem: Render dataset name Input
(data-test="new-dataset-name")
FormItem-->>ChartUI: Display label with inline info icon (aligned)
ChartUI-->>User: Modal shows Dataset Name with inline info icon
end
```
---
*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]