dheerajturaga commented on code in PR #69148:
URL: https://github.com/apache/airflow/pull/69148#discussion_r3798990102


##########
airflow-core/src/airflow/ui/src/hooks/usePluginTabs.tsx:
##########
@@ -32,14 +34,18 @@ type TabPlugin = {
 export const usePluginTabs = (destination: string): Array<TabPlugin> => {
   const { colorMode } = useColorMode();
   const { data: pluginData } = usePluginServiceGetPlugins();
+  const appliesToContext = usePluginAppliesToContext();

Review Comment:
   Addressed. `useScopedPluginViews` now enables the Dag/task context queries 
only when a view for the current destination has a non-empty `applies_to` 
criterion. Unscoped destinations therefore issue no additional requests, and 
the hook test verifies that all three queries stay disabled.
   
   ---
   Drafted-by: Codex (GPT-5) (no human review before posting)



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