This is an automated email from the ASF dual-hosted git repository.
rkhachatryan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 1e6a73616eb [FLINK-22543][runtime-web] Fix Exception History table
layout broken by long exception strings
1e6a73616eb is described below
commit 1e6a73616eb4e224a149e684c832f20bcba93148
Author: Aleksandr Iushmanov <[email protected]>
AuthorDate: Wed May 13 13:41:04 2026 +0100
[FLINK-22543][runtime-web] Fix Exception History table layout broken by
long exception strings
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
---
.../app/pages/job/exceptions/job-exceptions.component.html | 11 ++++++-----
.../app/pages/job/exceptions/job-exceptions.component.less | 14 +++++++++++++-
2 files changed, 19 insertions(+), 6 deletions(-)
diff --git
a/flink-runtime-web/web-dashboard/src/app/pages/job/exceptions/job-exceptions.component.html
b/flink-runtime-web/web-dashboard/src/app/pages/job/exceptions/job-exceptions.component.html
index 6feab03c2a6..2f29855f83e 100644
---
a/flink-runtime-web/web-dashboard/src/app/pages/job/exceptions/job-exceptions.component.html
+++
b/flink-runtime-web/web-dashboard/src/app/pages/job/exceptions/job-exceptions.component.html
@@ -35,14 +35,15 @@
[nzData]="exceptionHistory"
[nzShowPagination]="false"
[nzFrontPagination]="false"
+ nzTableLayout="fixed"
>
<thead>
<tr>
- <th nzWidth="60px"></th>
- <th>Time</th>
+ <th nzWidth="4%"></th>
+ <th nzWidth="12%">Time</th>
<th>Exception</th>
- <th>Task Name</th>
- <th>Location</th>
+ <th nzWidth="18%">Task Name</th>
+ <th nzWidth="12%">Location</th>
</tr>
</thead>
<tbody>
@@ -50,7 +51,7 @@
<tr>
<td nzShowExpand [(nzExpand)]="item.expand"></td>
<td>{{ item.selected.timestamp | date: 'yyyy-MM-dd HH:mm:ss'
}}</td>
- <td>
+ <td class="exception-cell">
<div class="name">{{ item.selected.exceptionName }}</div>
<nz-tag
*ngFor="let label of item.selected.failureLabels | keyvalue"
diff --git
a/flink-runtime-web/web-dashboard/src/app/pages/job/exceptions/job-exceptions.component.less
b/flink-runtime-web/web-dashboard/src/app/pages/job/exceptions/job-exceptions.component.less
index e7fc8121c5b..56008210d58 100644
---
a/flink-runtime-web/web-dashboard/src/app/pages/job/exceptions/job-exceptions.component.less
+++
b/flink-runtime-web/web-dashboard/src/app/pages/job/exceptions/job-exceptions.component.less
@@ -47,6 +47,18 @@
nz-table {
margin-top: -@margin-md;
+
+ .exception-cell {
+ word-break: break-all;
+
+ nz-tag {
+ max-width: 100%;
+ white-space: normal;
+ word-break: break-all;
+ height: auto;
+ line-height: 1.4;
+ }
+ }
}
nz-tag {
@@ -59,6 +71,6 @@
}
.exception-select {
- width: 300px;
+ width: 100%;
}
}