bbovenzi commented on code in PR #59270:
URL: https://github.com/apache/airflow/pull/59270#discussion_r2610964735


##########
airflow-core/src/airflow/ui/src/pages/Dashboard/PoolSummary/PoolSummary.tsx:
##########
@@ -103,6 +104,24 @@ export const PoolSummary = () => {
           <PoolBar pool={aggregatePool} poolsWithSlotType={poolsWithSlotType} 
totalSlots={totalSlots} />
         </Flex>
       )}
+      <HStack gap={4} mt={2}>
+        {aggregatePool.scheduled_slots > 0 && (
+          <HStack>
+            <StateIcon size={12} state="scheduled" />
+            <Text color="fg.muted" fontSize="sm">
+              {translate("dashboard.scheduled")}: 
{aggregatePool.scheduled_slots}
+            </Text>
+          </HStack>
+        )}
+        {aggregatePool.deferred_slots > 0 && (
+          <HStack>
+            <StateIcon size={12} state="deferred" />
+            <Text color="fg.muted" fontSize="sm">
+              {translate("dashboard.deferred")}: {aggregatePool.deferred_slots}
+            </Text>
+          </HStack>
+        )}
+      </HStack>

Review Comment:
   If its on the tooltip, then we only need to change PoolBar.tsx instead of 
repeating coding for here and in the card component



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