From e425d71fa7bacea6e46dfde39e21223e25b0d7ba Mon Sep 17 00:00:00 2001 From: hoang Date: Thu, 1 Oct 2026 09:17:16 +0700 Subject: [PATCH 1/2] Fix UI quirks in the Exporters table on Project Detail page The Exporters table on the Project Detail page was broken when it contained Exporters with very long job names or exporter paths. We have resolved this issue by applying the CSS style "word-break: break-all" to the table tag. --- promgen/templates/promgen/project_detail_exporters.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promgen/templates/promgen/project_detail_exporters.html b/promgen/templates/promgen/project_detail_exporters.html index 8fe01c1e3..b295bdff9 100644 --- a/promgen/templates/promgen/project_detail_exporters.html +++ b/promgen/templates/promgen/project_detail_exporters.html @@ -7,7 +7,7 @@ {% endif %}
- +
From f1e4be854d10b9be0a647358371807ba359b4a49 Mon Sep 17 00:00:00 2001 From: hoang Date: Thu, 1 Oct 2026 09:23:01 +0700 Subject: [PATCH 2/2] Fix UI quirks when displaying list of Exporters inside Projects table When displaying the Projects table for a Service, we include a list of Exporters for each Project. However, if the Exporters have very long job names or exporter paths, it can disrupt the layout of the entire Projects table. Since the display area is limited, we resolved this by hiding overflow content using the CSS style "text-overflow: ellipsis" on the relevant HTML tag. --- promgen/templates/promgen/project_row.html | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/promgen/templates/promgen/project_row.html b/promgen/templates/promgen/project_row.html index ac4d2f6b7..fe2ec54f3 100644 --- a/promgen/templates/promgen/project_row.html +++ b/promgen/templates/promgen/project_row.html @@ -3,12 +3,24 @@
Job Port{{ project.name }} - +
{% for exporter in project.exporter_set.all %} - - - + + + {% empty %}
{{ exporter.job }}{{ exporter.port }}{{ exporter.path_value }} + {{ exporter.job }} + {{ exporter.port }} + {{ exporter.path_value }} +