codeant-ai-for-open-source[bot] commented on PR #38883:
URL: https://github.com/apache/superset/pull/38883#issuecomment-4135625558
## **Sequence Diagram**
This PR updates how adhoc filter diffs are formatted so that filters without
a comparator no longer show an undefined value, instead displaying only the
subject and operator while preserving normal formatting for filters with values.
```mermaid
sequenceDiagram
participant User
participant ChartControls
participant AlteredSliceTag
participant FormatValueHandler
User->>ChartControls: Change adhoc filter
ChartControls->>AlteredSliceTag: Send control diffs including filters
AlteredSliceTag->>FormatValueHandler: Format adhoc filter diff value
FormatValueHandler->>FormatValueHandler: Build string and skip empty
filter value
FormatValueHandler-->>AlteredSliceTag: Return formatted filter summary
text
AlteredSliceTag-->>User: Show updated chart change summary without
undefined value
```
---
*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]