New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add json
and sql
template rendering to Grid View
#39527
Comments
Details
tabRendered Template
link missing from Details
tab
@tirkarthi Hmm, that's a bit disappointing. I hate clicking more than times that I have to, or was previously used to. |
Isn't rendered template available in details tab at the bottom? Is the new section missing some details from old page? |
@tirkarthi Ah, ok, well, I suppose it depends on what is being rendered. For example, SQL being run via the Whereas it looks like this now. The important thing is that it's not possible to copy and paste the SQL directly from the UI and the previous page is now several clicks away. |
Thanks, the legacy page uses renderers along with pformat which indents the dict. Maybe the issue can updated to have formatting for the values like the legacy page. |
@tirkarthi It's not just about dict, but also the SQL contained within it. If the new page could render both in a similar way then great! |
Yes, we should render the json and sql better in the grid view. We should add a copy button too. |
@bbovenzi Great thanks! I'll change this to a feature request then. |
Rendered Template
link missing from Details
tabjson
and sql
template rendering to Grid View
I also always wanted to contribute this but never came to this. I'd favor making this consistent like the DAG Run Conf which is rendered as a struct with a copy option. Same applies for XCom results, too. |
Apache Airflow version
2.9.1
If "Other Airflow 2 version" selected, which one?
No response
What happened?
In Airflow v2.9.1, the
Rendered Template
link is now missing from theDetails
tab when inGrid
view.2.8.4
2.9.1
What you think should happen instead?
It is still possible to get to the rendered template via
More Details
but having this link here is much more convenient.How to reproduce
Simply start an instance of Airflow 2.9.1.
Operating System
n/a
Versions of Apache Airflow Providers
n/a
Deployment
Astronomer
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: