bbovenzi opened a new pull request #13551:
URL: https://github.com/apache/airflow/pull/13551


   Added JSON linting the text input for add/edit a Variable and for the 
Trigger DAG config. Let's a user see any errors with their JSON input before 
submitting. This uses 2 external npm packages: `codemirror` and `jshint`. 
   
   closes: #12147
   
   Some examples views below:
   
   <img width="518" alt="Screen Shot 2021-01-07 at 1 47 38 PM" 
src="https://user-images.githubusercontent.com/4600967/103944617-8f86ff80-50f9-11eb-88ca-8dc81f23a054.png";>
   
   <img width="567" alt="Screen Shot 2021-01-07 at 1 48 16 PM" 
src="https://user-images.githubusercontent.com/4600967/103944619-8f86ff80-50f9-11eb-9e3f-dff876202eb4.png";>
   
   <img width="958" alt="Screen Shot 2021-01-07 at 1 47 26 PM" 
src="https://user-images.githubusercontent.com/4600967/103944615-8e55d280-50f9-11eb-8be4-916187b85182.png";>
   
   <img width="433" alt="Screen Shot 2021-01-07 at 3 05 04 PM" 
src="https://user-images.githubusercontent.com/4600967/103944739-bf360780-50f9-11eb-9a25-01e4f991a08c.png";>
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to