Commit 6acdeab
feat(snapshots): Move ui_mode into sidecar tags block
Relocate the uiMode → light/dark mapping from the top-level
metadata field `color_mode` into the `tags` map, keyed as
`ui_mode`. This aligns the field with the other appearance
inputs (locale, device, font_scale, etc.) and matches the
ingestion schema's expectation that preview configuration
travels as tags rather than first-class metadata.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e81b819 commit 6acdeab
2 files changed
Lines changed: 7 additions & 8 deletions
File tree
- plugin-build/src
- main/kotlin/io/sentry/android/gradle/snapshot
- test/kotlin/io/sentry/android/gradle/snapshot
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
373 | 377 | | |
374 | 378 | | |
375 | 379 | | |
| |||
382 | 386 | | |
383 | 387 | | |
384 | 388 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | 389 | | |
391 | 390 | | |
392 | 391 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
| 182 | + | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
0 commit comments