fix(recent-imagery): keep HLS drapes and empty halves steady when a probe gives no answer

- A Worldview 200 without Data-Present no longer takes an HLS day already on
  the map off it: the source reports only the halves that answered, and the
  renderer drapes a PNG on every part not confirmed empty.
- A re-probe keeps the last explicit answer for each half, so a side confirmed
  empty stays undraped when it does not answer again.
- A host change noticed while rendering after a probe sends a full
  notification, so the panel updates the divider.
- Tests: the short-arc refusal asserts the measured box, the widening test
  expects slot B on top on both sides, and the drape-policy cases are one
  table; the widening test moves into rendering.test.mjs.
- Shared box key and Data-Present parsing; transport errors pass through
  unchanged; unreachable guards and repeated comments removed; docs describe
  partial vs. unknown coverage.
This commit is contained in:
German Khokhlov committed 2026-11-20 19:20:49 +04:00
1 parent 8fd0a35f6a
commit 1f64a9ce44
19 files changed
+348 -272

No files matched your search

-7
View File
@@ -529,7 +529,6 @@ export function createRecentImageryPanel({
function exportsView() {
const ab = snapshot.mode === 'ab';
// Worldview Snapshots rejects a crossing BBOX: say so up front.
const crossing = Boolean(
snapshot.box && snapshot.box.west > snapshot.box.east,
);
@@ -781,12 +780,6 @@ export function createRecentImageryPanel({
const candidate = exportTarget(slotId);
if (destroyed || !candidate || !snapshot.box || exporting.has(slotId))
return false;
// Worldview Snapshots rejects a west > east BBOX: say so, request nothing.
if (snapshot.box.west > snapshot.box.east) {
exportError = t('Select one side of the dateline');
preserveScroll(paint);
return false;
}
exporting.add(slotId);
exportError = null;
preserveScroll(paint);