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 2022/07/21 08:43:12 UTC

[GitHub] [airflow] bbovenzi commented on a diff in pull request #25175: Add datasets to dag dependencies view

bbovenzi commented on code in PR #25175:
URL: https://github.com/apache/airflow/pull/25175#discussion_r926415884


##########
airflow/www/views.py:
##########
@@ -5330,6 +5330,14 @@ def _calculate_graph(self):
 
     @staticmethod
     def _node_dict(node_id, label, node_class):
+        def trunc_uri(val):
+            if len(val) > 25:
+                return val[0:23] + '...'

Review Comment:
   Is there somewhere that we pass the full URI so we can show it in a tooltip?



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org