Repository navigation
Commit b15d610
refactor(dashboard): remove vestigial themeId from DashboardPropertiesUpdate
themeId in DashboardPropertiesUpdate was unused by its consumer
(handleOnPropertiesChange) since the full theme object is now passed
instead. The save flow already derives theme_id from
dashboardInfo.theme.id (Redux state). Added happy-path test verifying
full theme object with json_data flows through PropertiesModal.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent d0b35ff commit b15d610
3 files changed
Lines changed: 40 additions & 4 deletions
File tree
- superset-frontend/src/dashboard/components
- Header
- PropertiesModal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| 160 | + | |
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| |||
417 | 419 | | |
418 | 420 | | |
419 | 421 | | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
420 | 458 | | |
421 | 459 | | |
422 | 460 | | |
| |||
444 | 482 | | |
445 | 483 | | |
446 | 484 | | |
447 | | - | |
448 | | - | |
| 485 | + | |
| 486 | + | |
449 | 487 | | |
450 | 488 | | |
451 | 489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | 389 | | |
391 | 390 | | |
392 | 391 | | |
| |||
0 commit comments