codeant-ai-for-open-source[bot] commented on PR #37293:
URL: https://github.com/apache/superset/pull/37293#issuecomment-3786075936
## **Sequence Diagram**
When a chart title is truncated, the SliceHeader queries the new hook for
applied filter indicators and augments the tooltip with a filter count and list
so users can see which filters affect the chart.
```mermaid
sequenceDiagram
participant User
participant SliceHeader
participant useAppliedFilterIndicators
participant ReduxStore
participant Tooltip
User->>SliceHeader: Hover over truncated chart title
SliceHeader->>useAppliedFilterIndicators: Request applied indicators for
slice_id
useAppliedFilterIndicators->>ReduxStore: Select dashboard/native
filters, dataMask, chart state
ReduxStore-->>useAppliedFilterIndicators: Applied indicators + count
useAppliedFilterIndicators-->>SliceHeader: Return filterCount and list
SliceHeader->>Tooltip: Build tooltip (title + "N filter(s) applied" +
filter list)
Tooltip-->>User: Show enhanced tooltip
```
---
*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]