feat(alpr): render camera markers on Navara

Separate native scene ownership from shared ALPR source and selection state,
and add bounded Navara sprites with the existing direction/card overlay.
Preserve marker artwork, picking, floor retries and source attribution.

Fix lost post-render wakeups and redundant mobile rail mutations, and keep
HUD typewriter dimensions stable so static views settle without extra frames.
Add parser-fed dev/preview and legacy evidence, including retained failures.
Common W2 terrain and combined performance gates remain open.
This commit is contained in:
German Khokhlov committed 2026-10-28 21:06:08 +04:00
1 parent 9d587c1d37
commit 46b3aceafc
23 files changed
+2081 -181

No files matched your search

+6 -2
View File
@@ -50,8 +50,12 @@ export function layoutLeftPanelRail({
// The existing narrow-screen composition has its own full-width stack.
// Keep this desktop lane engine from fighting those dedicated rules.
if (windowRef.matchMedia('(max-width: 720px)').matches) {
stack.classList.remove('layout-focus');
stack.classList.remove('layout-tail');
if (stack.classList.contains('layout-focus')) {
stack.classList.remove('layout-focus');
}
if (stack.classList.contains('layout-tail')) {
stack.classList.remove('layout-tail');
}
stack.style.removeProperty('--left-stack-safe-top');
stack.style.removeProperty('--left-stack-safe-bottom');
stack.style.removeProperty('--left-stack-centered-height');
+16
View File
@@ -197,6 +197,22 @@ test('missing rails are inert without browser globals', () => {
layoutRightPanelRail({});
});
test('repeated mobile layout does not rewrite absent left rail classes', () => {
const f = fixture('left', { mobile: true });
f.stack.classList.add('layout-focus', 'layout-tail');
f.run();
assert.equal(f.stack.classList.contains('layout-focus'), false);
assert.equal(f.stack.classList.contains('layout-tail'), false);
let removals = 0;
const remove = f.stack.classList.remove;
f.stack.classList.remove = (...names) => {
removals += 1;
remove(...names);
};
f.run();
assert.equal(removals, 0, 'no redundant class mutation can retrigger layout');
});
test('left layout records collapsed heights and aligns the right rail without changing disclosure', () => {
const f = fixture('left');
f.run();
+2 -1
View File
@@ -232,6 +232,7 @@
.hud-summary-wrap {
margin-top: 6px;
width: 420px;
max-width: 420px;
}
@@ -243,7 +244,7 @@
.hud-summary {
margin-top: 2px;
min-height: 16px;
min-height: max(16px, 1lh);
font-size: 11px;
letter-spacing: 1.2px;
opacity: 0.88;