fix(map): restore subject flight and search inset
This commit is contained in:
@@ -108,11 +108,18 @@ test("facet tree selection focuses the subject without resetting a compatible de
|
||||
|
||||
assert.match(preview, /const \[expandedFacetRows, setExpandedFacetRows\]/);
|
||||
assert.match(preview, /const handleSelectAndFocus = useCallback/);
|
||||
assert.match(preview, /mapRendererRef\.current\?\.focusRuntimeEntity\(entityId\)/);
|
||||
assert.match(preview, /const focusSubject = useCallback/);
|
||||
assert.match(preview, /if \(renderer\.focusRuntimeEntity\(entityId\)\) return true/);
|
||||
assert.match(preview, /mapFactPointCoordinates\(selectable\.find/);
|
||||
assert.match(preview, /renderer\.focusSubjectCoordinates\(fallbackCoordinates\[0\], fallbackCoordinates\[1\]\)/);
|
||||
assert.match(preview, /focusSubject\(entityId\)/);
|
||||
assert.match(preview, /focusSubject\(result\.entityId, result\.coordinates\)/);
|
||||
assert.match(preview, /setSubjectCardTabId\(\(current\) =>/);
|
||||
assert.match(preview, /profile\?\.tabs\.some\(\(tab\) => tab\.id === current\)/);
|
||||
assert.match(preview, /\(profile\?\.defaultTabId \?\? "overview"\)/);
|
||||
assert.match(renderer, /void viewer\.flyTo\(entity, \{/);
|
||||
assert.match(renderer, /const focusSubjectCoordinates = useCallback/);
|
||||
assert.match(renderer, /viewer\.camera\.flyToBoundingSphere\(new BoundingSphere\(target, 1\), \{/);
|
||||
assert.match(renderer, /duration: 0\.45/);
|
||||
assert.match(renderer, /offset: new HeadingPitchRange\(0, -0\.9, 8_000\)/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user