Commit 98fd0b6
authored
Format history size bytes to human-readable units (#3227)
* Add comma separators to history size bytes in workflow summary and details
Fixes DT-3634 - historySizeBytes was displayed as a raw integer (e.g. 1234567)
in the workflow summary accordion and lines-and-dots details panel. Now uses
toLocaleString() to add comma separators (e.g. 1,234,567), making the byte
count easier to read while preserving the exact value.
* Remove unused workflow-summary.svelte component
* Use formatBytes for history size display, remove '(Bytes)' from label
Show history size as human-readable units (e.g. 1.18 MB) instead of
raw byte count. Update label from 'History Size (Bytes)' to 'History Size'
since the unit is now shown in the value.
* Rename i18n key history-size-bytes to history-size1 parent 7df7aae commit 98fd0b6
3 files changed
Lines changed: 10 additions & 105 deletions
File tree
- src/lib
- components
- lines-and-dots
- workflow
- i18n/locales/en
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
83 | 90 | | |
84 | 91 | | |
85 | 92 | | |
| |||
280 | 287 | | |
281 | 288 | | |
282 | 289 | | |
283 | | - | |
284 | | - | |
| 290 | + | |
| 291 | + | |
285 | 292 | | |
286 | 293 | | |
287 | 294 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments