apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
37.36k stars 14.35k forks source link

can't see run config on dag_run #41787

Open raphaelauv opened 3 months ago

raphaelauv commented 3 months ago

Apache Airflow version

2.10.0

What happened?

when I open a dag ( from airflow home page )

and then click on a dag_run ( running , success , failed ) I can't see the Run config

image

but If I click on graph and then click again on details

image

then I can see the Run config

MS Paint _ Microsoft Paint Online

and after that I can see all the Run config of every dag_run

Are you willing to submit PR?

Code of Conduct

jscheffl commented 2 months ago

I am not fully able to understand your screen-flow and click-flow you are attempting. From the first cut of the screen it seems it might be a problem of a scrolling-panel inside a scroll area where a scrollbar is a bit mis-placed and such hard to see/understand in which panel to scroll.

Can you tell us:

raphaelauv commented 2 months ago

problem of a scrolling-panel inside a scroll area yes

this is a record ->

Screencast from 30-08-2024 14:41:19.webm

from airflow import DAG
from airflow.models.param import Param
from airflow.operators.python import PythonOperator
from airflow.utils.dates import days_ago

with DAG(
        dag_id=f"test",
        start_date=days_ago(1),
        schedule_interval=None,
        params={
            "aaaaaaaaa": Param("000000_3600", type="string"),
            "vvvvvvvvvv": Param("aa", type="string"),
            "xxxxxxxxxxx": Param("30", type="string"),
            "eeeeeeeeee": Param("300", type="string"),
            "sssssssssss": Param(False, type="boolean"),
            "mmmmmmmm": Param(True, type="boolean"),
            "kkkkkkkkkk": Param(False, type="boolean"),
            "wwwwwwwwwww": Param(False, type="boolean"),
        }
):
    def toto():
        import time
        time.sleep(100)

    PythonOperator(task_id="aaa",python_callable=toto)
jscheffl commented 2 months ago

@bbovenzi Scrolling-pane inside a scrolling-pane... I remember (hardly) there was some magic in panel calculation. Do you have a hint how to fix this?

bbovenzi commented 2 months ago

Oh yeah, all of the panel height calculation stuff is a bit of a mess that I don't know I want to touch for 2.11. We won't have any of that in the new UI though!

jscheffl commented 2 months ago

@raphaelauv Agree with Brent. As developers we'd like to focus on the next level UI and fixing the scroll pane issues might be very effort-consuming. In most cases it depends also on screen size and browser and other side conditions. Hard to test. Probably nobody from the core UI developers will be able to pick-this up and as there is a workaround it is mainly a low priority problem. If you want to contribute a fix this would be welcome. Else I would assume it will not be fixed before Airflow 3