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


##########
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:
   What if we show this in the tooltip instead?
   
   Also, let's make sure that we're using the correct i18n keys. In your 
screenshot it is showing "dashboard.deferred". We should have something like 
`common:state.deferred` that already exists



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