Fix: remove Actions column from Historical Analysis table and increase chart padding to prevent label cutoff

This commit is contained in:
2025-10-03 18:26:42 -03:00
parent cca51841bf
commit 692d647abd

View File

@@ -2720,7 +2720,6 @@
<th>CPU Usage</th> <th>CPU Usage</th>
<th>Memory Usage</th> <th>Memory Usage</th>
<th>Last Updated</th> <th>Last Updated</th>
<th>Actions</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -2739,14 +2738,9 @@
<td>${workload.cpu_usage || 'N/A'}</td> <td>${workload.cpu_usage || 'N/A'}</td>
<td>${workload.memory_usage || 'N/A'}</td> <td>${workload.memory_usage || 'N/A'}</td>
<td>${workload.last_updated ? new Date(workload.last_updated).toLocaleString() : 'N/A'}</td> <td>${workload.last_updated ? new Date(workload.last_updated).toLocaleString() : 'N/A'}</td>
<td>
<span style="color: var(--pf-global--Color--300); font-size: 12px;">
Click to expand
</span>
</td>
</tr> </tr>
<tr class="workload-details-row" id="details-${index}" style="display: none;"> <tr class="workload-details-row" id="details-${index}" style="display: none;">
<td colspan="8"> <td colspan="7">
<div class="workload-details-container" id="details-content-${index}"> <div class="workload-details-container" id="details-content-${index}">
<div class="loading-spinner"> <div class="loading-spinner">
<div class="spinner"></div> <div class="spinner"></div>
@@ -3145,7 +3139,7 @@
height: containerHeight, height: containerHeight,
theme: Victory.VictoryTheme.material, theme: Victory.VictoryTheme.material,
scale: { x: 'time' }, scale: { x: 'time' },
padding: { top: 20, bottom: 50, left: 60, right: 20 }, padding: { top: 20, bottom: 60, left: 80, right: 40 },
domainPadding: { x: 0, y: 0 }, domainPadding: { x: 0, y: 0 },
style: { style: {
parent: { parent: {
@@ -3240,7 +3234,7 @@
height: containerHeight, height: containerHeight,
theme: Victory.VictoryTheme.material, theme: Victory.VictoryTheme.material,
scale: { x: 'time' }, scale: { x: 'time' },
padding: { top: 20, bottom: 50, left: 60, right: 20 }, padding: { top: 20, bottom: 60, left: 80, right: 40 },
domainPadding: { x: 0, y: 0 }, domainPadding: { x: 0, y: 0 },
style: { style: {
parent: { parent: {