Commit 7b77dfd
committed
refactor(agent): register the rtk gauge in the typed analytics event map
Every analytics event in the app pairs its ANALYTICS_EVENTS constant
with a *Properties interface and an EventPropertyMap entry (that map
backs the renderer's typed track helper, and main-process events like
CLOUD_STREAM_DISCONNECTED register too). RTK savings gauge was the one
event missing both — add RtkSavingsGaugeProperties, the map entry, and
a satisfies check at the reporter's call site so the emitted bag cannot
drift from the declared shape.
Generated-By: PostHog Code
Task-Id: b86391cc-4634-4a2b-ae34-fe1f9c0626a01 parent e6bd533 commit 7b77dfd
2 files changed
Lines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
80 | | - | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
278 | 293 | | |
279 | 294 | | |
280 | 295 | | |
| |||
1136 | 1151 | | |
1137 | 1152 | | |
1138 | 1153 | | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
| 1154 | + | |
1142 | 1155 | | |
1143 | 1156 | | |
1144 | 1157 | | |
| |||
1292 | 1305 | | |
1293 | 1306 | | |
1294 | 1307 | | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
1295 | 1311 | | |
1296 | 1312 | | |
1297 | 1313 | | |
| |||
0 commit comments