You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/08 20:03:14 UTC

[GitHub] [airflow] alex-astronomer opened a new issue #18100: DAG Import Errors Broken DAG Dropdown Arrow Icon Switched

alex-astronomer opened a new issue #18100:
URL: https://github.com/apache/airflow/issues/18100


   ### Apache Airflow version
   
   2.1.3 (latest released)
   
   ### Operating System
   
   macOS Big Sur 11.3.1
   
   ### Versions of Apache Airflow Providers
   
   N/A
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   Default installation, with one DAG added for testing.
   
   ### What happened
   
   The arrow icons used when a DAG has an import error there is a drop down that will tell you the errors with the import.
   
   ![image](https://user-images.githubusercontent.com/89415310/132572414-814b7366-4057-449c-9cdf-3309f3963297.png)
   ![image](https://user-images.githubusercontent.com/89415310/132572424-72ca5e22-b98f-4dac-82bf-5fa8149b4d92.png)
   
   
   Once the arrow is pressed it flips from facing right to facing down, and the specific tracebacks are displayed.
   
   ![image](https://user-images.githubusercontent.com/89415310/132572385-9313fec6-ae48-4743-9149-d068c9dc8555.png)
   ![image](https://user-images.githubusercontent.com/89415310/132572395-aaaf84e9-da98-4e7e-bb1b-3a8fb4a25939.png)
   
   By clicking the arrow on the traceback, it displays more information about the error that occurred.  That arrow then flips from facing down to facing right.
   
   ![image](https://user-images.githubusercontent.com/89415310/132572551-17745c9e-cd95-4481-a98f-ebb33cf150bf.png)
   ![image](https://user-images.githubusercontent.com/89415310/132572567-f0d1cc2e-560d-44da-b62a-7f0e46743e9d.png)
   
   Notice how the arrows in the UI display conflicting information depending on the direction of the arrow and the element that contains that arrow.  For the parent -- DAG Import Errors -- when the arrow is right-facing, it hides information in the child elements and when the arrow is down-facing it displays the child elements.  For the child elements, the arrow behavior is the opposite of expected: right-facing shows the information, and left-facing hides it.
   
   ### What you expected to happen
   
   I expect for both the parent and child elements of the DAG Import Errors banner, when the arrow in the GUI is facing right the information is hidden, and when the arrow faces down the information is shown.
   
   ### How to reproduce
   
   Create a DAG with an import error and the banner will be displayed.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi closed issue #18100: DAG Import Errors Broken DAG Dropdown Arrow Icon Switched

Posted by GitBox <gi...@apache.org>.
bbovenzi closed issue #18100:
URL: https://github.com/apache/airflow/issues/18100


   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #18100: DAG Import Errors Broken DAG Dropdown Arrow Icon Switched

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #18100:
URL: https://github.com/apache/airflow/issues/18100#issuecomment-915531289


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org