Codingaditya17 opened a new pull request, #67552:
URL: https://github.com/apache/airflow/pull/67552

   ### Summary
   
   This PR fixes rendering for serialized `None` child state keys in the UI.
   
   The grid API can return child states like `{"None": 2, "success": 1}`. 
Before this change, the UI used the raw `None` key directly for Chakra color 
tokens and translations, producing `None.solid` and `common:states.None`.
   
   This change adds small state normalization helpers and applies them to the 
two direct `child_states` render sites:
   
   - `SegmentedStateBar.tsx`
   - `TaskInstanceTooltip.tsx`
   
   ### Scope
   
   This PR intentionally only fixes the direct child state breakdown/rendering 
issue described in #67541. It does not change the dominant state logic handled 
separately in #67543.
   
   ### Tests
   
   ```bash
   pnpm vitest run src/utils/stateUtils.test.ts 
src/components/TaskInstanceTooltip.test.tsx
   
   
   
   Test Files  2 passed (2)
   Tests       21 passed (21)


-- 
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]

Reply via email to