mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
test: register the space-switch witness for the two renderers (#525)
`smoke-select` answered НЕОПРЕДЕЛЁННОСТЬ on this diff: the smoke does not name `_renderDevice` or `_renderOpenings` anywhere — it switches spaces the ordinary way and reads running transitions off the nodes those renderers produced. That is exactly the case `scripts/smoke-links.mjs` exists for, and without the record the next edit to either renderer selects no witness at all. Issue: #525 User-Visible: no
This commit is contained in:
@@ -27,6 +27,15 @@
|
||||
|
||||
/** @type {SmokeLink[]} */
|
||||
export const SMOKE_LINKS = [
|
||||
{
|
||||
symbols: ['_renderDevice', '_renderOpenings'],
|
||||
smokes: ['smoke_space_switch_transitions.mjs'],
|
||||
because: '#525: the smoke never names these renderers — it switches spaces the ordinary way '
|
||||
+ 'and reads running transitions off the nodes they produced. The contract it guards is '
|
||||
+ 'list identity: a keyless list reuses a node by position, and the leaf of the next space '
|
||||
+ 'then animates from the previous door\'s angle. Any edit to either renderer can drop the '
|
||||
+ 'key without a single identifier of the smoke changing',
|
||||
},
|
||||
{
|
||||
symbols: ['LoadedSummaryPanelRuntime', 'SummaryPanelPresentation', 'renderSummaryPanelEditor',
|
||||
'summaryPanelCss', 'summaryPanelEditorCss', 'summaryPanelDialogCss', 'summaryIcon'],
|
||||
|
||||
Reference in New Issue
Block a user