Commit 9fb9a1b
authored
fix(issues): Show 50+ Replays whenever the count is maxed out like that (#80809)
The replayCount is only accurate for a small number of replays. So the
backend will max-out when it finds there are 51 replays in the list. The
frontend is therefore responsible for rendering `"50+"` when it sees a
count of `51`.
This PR updates a few spots related to Issue Details so that we render
`50+` instead of `51`.
<img width="943" alt="SCR-20241115-msqp"
src="https://github.com/user-attachments/assets/b6919cf4-8e92-4f25-931c-07a9d23873df">
<img width="297" alt="SCR-20241115-msrj"
src="https://github.com/user-attachments/assets/4581ac6d-b0bf-4ed9-8766-9f09b2e3a056">1 parent bcfbe8a commit 9fb9a1b
File tree
4 files changed
+27
-11
lines changed- static/app
- components/events/eventReplay
- views/issueDetails
- groupReplays
- streamline
4 files changed
+27
-11
lines changedLines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
279 | 285 | | |
280 | 286 | | |
281 | 287 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
224 | 229 | | |
225 | 230 | | |
226 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
0 commit comments