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 2020/02/22 09:22:14 UTC

[GitHub] [airflow] ashb commented on a change in pull request #7492: [AIRFLOW-6871] optimize tree view for large DAGs

ashb commented on a change in pull request #7492: [AIRFLOW-6871] optimize tree view for large DAGs
URL: https://github.com/apache/airflow/pull/7492#discussion_r382899365
 
 

 ##########
 File path: airflow/www/templates/airflow/tree.html
 ##########
 @@ -85,8 +85,59 @@
 <script>
 $('span.status_square').tooltip({html: true});
 
+function ts_to_dtstr(ts) {
+  var dt = new Date(ts * 1000);
+  return dt.toISOString();
+}
+
+function is_dag_run(d) {
+  return d.run_id !== undefined;
+}
+
+var now_ts = Date.now()/1000;
+
+function backfill_taskinstance_properties(node) {
+  // backfill task instance properties for display purpose
 
 Review comment:
   Can we use a different word than backfill here - this might get confused with an `airflow backfill` but it's something else here.
   
   Perhaps populate? Or just fill?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services