pankajkoti opened a new issue, #49064:
URL: https://github.com/apache/airflow/issues/49064

   ### Description
   
   Previously in Airflow 2 we used to support `template_field_renderers` that 
would prettily display in the UI template fields like `SQL`, `JSON`, etc. It 
appears to me that we do not support this yet in Airflow 3. Apparently, this 
was being handled on the server side previously, but with the changes, the 
guess is, it now needs to be handled on the client side(?)
   
   
   
   ### Use case/motivation
   
   Before
   (SQL field being rendered prettily)
   
   <img width="679" alt="Image" 
src="https://github.com/user-attachments/assets/1ea71a3c-ace6-4c83-b120-9cfc3e4e18b9";
 />
   
   Now (not rendering prettily)
   
   <img width="1849" alt="Image" 
src="https://github.com/user-attachments/assets/5b21dc87-6a8e-47ab-ba92-5fe86fb9b20a";
 />
   
   This I observed while working with Cosmos (Astronomer), but if I search 
`template_fields_renderers` the Airflow code base, I see a lot of providers do 
try to set them.
   
   It would be nice to support this for better user experience.
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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