Commit e6e1722
authored
frontend(topics): split retention into Retention Time and Retention Size (UX-1310) (#2471)
* frontend(topics): split retention into Retention Time and Retention Size (UX-1310)
The topic quick-info bar joined retention.ms and retention.bytes with
"or", producing ambiguous strings like "1 day or Infinite" when only
one metric was set to -1. Splits the field into two clearly labelled
columns ("Retention Time" / "Retention Size") that always render, so
an Infinite value reads unambiguously.
* fix(topics): drop tilde prefix when retention is infinite
* style(topics): apply ultracite formatting1 parent ee1784d commit e6e1722
1 file changed
Lines changed: 21 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 129 | + | |
| 130 | + | |
141 | 131 | | |
142 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
| |||
0 commit comments