atul-astronomer opened a new issue, #53919:
URL: https://github.com/apache/airflow/issues/53919

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Task expand/collapse option in grid view is only available after visiting 
the graph view.
   
   
https://github.com/user-attachments/assets/96ca68b0-bc23-4b9e-8c9a-da7a10cdc8de
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Have any taskmap dag and start airflow instance, when you first open the dag 
details view, notice expand/collapse option is not available and only available 
once user opens graph view.
   
   ```python
   from airflow.sdk import DAG
   from airflow.decorators import task
   from datetime import datetime, timedelta
   from airflow.utils.task_group import TaskGroup
   
   
   @task
   def onetwothree():
       return [1, 2, 3]
   
   
   @task
   def consumer(value):
       print(value)
   
   
   with DAG(
       dag_id="with_rename",
       start_date=datetime(1970, 1, 1),
       schedule=None,
       tags=["taskmap"]
   ) as dag:
   
       with TaskGroup("tg"):
           consumer(1)  # consumer
           consumer(2)  # consumer__1
           consumer.expand(value=[1, 2, 3])
   
   ``` 
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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