Commit 610ea59
committed
fix(webapp): label model sparkline tooltips with their real bucket times
The Your models sparklines use dynamic bucket sizes (6h at 7d, etc.), but the
tooltip assumed hourly buckets and showed wrong dates. Thread the bucket
interval and start through so each bar is labelled correctly.
Also pin the library tab cross-tenant p50 TTFC column to a fixed 7-day window
so it no longer follows the Your models time selector.1 parent 57dd835 commit 610ea59
3 files changed
Lines changed: 51 additions & 11 deletions
File tree
- apps/webapp/app
- components/primitives
- presenters/v3
- routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.models._index
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
54 | 62 | | |
55 | | - | |
| 63 | + | |
56 | 64 | | |
57 | 65 | | |
58 | 66 | | |
| |||
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
716 | | - | |
717 | | - | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
718 | 721 | | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
719 | 732 | | |
720 | 733 | | |
721 | 734 | | |
| |||
760 | 773 | | |
761 | 774 | | |
762 | 775 | | |
| 776 | + | |
| 777 | + | |
763 | 778 | | |
764 | 779 | | |
765 | 780 | | |
| |||
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
142 | 147 | | |
143 | 148 | | |
144 | | - | |
| 149 | + | |
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
| |||
1172 | 1177 | | |
1173 | 1178 | | |
1174 | 1179 | | |
| 1180 | + | |
| 1181 | + | |
1175 | 1182 | | |
1176 | 1183 | | |
1177 | 1184 | | |
| |||
1186 | 1193 | | |
1187 | 1194 | | |
1188 | 1195 | | |
| 1196 | + | |
| 1197 | + | |
1189 | 1198 | | |
1190 | 1199 | | |
1191 | 1200 | | |
| |||
1304 | 1313 | | |
1305 | 1314 | | |
1306 | 1315 | | |
1307 | | - | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
1308 | 1321 | | |
1309 | 1322 | | |
1310 | 1323 | | |
1311 | 1324 | | |
| 1325 | + | |
| 1326 | + | |
1312 | 1327 | | |
1313 | 1328 | | |
1314 | 1329 | | |
| |||
1459 | 1474 | | |
1460 | 1475 | | |
1461 | 1476 | | |
| 1477 | + | |
| 1478 | + | |
1462 | 1479 | | |
1463 | 1480 | | |
1464 | 1481 | | |
| |||
0 commit comments