mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 09:12:18 +00:00
Merge origin/main into german/navara
Main's work since the last merge runs on the globe contract where this branch draws through it: - Satellites take main's classes, sensors, ground-track bearings and world time through contract points and rings; launches take the world timeline. The satellite's cockpit subject dims, copies positions and refocuses through the contract. - Flights, military and vessels keep main's photos, retry cool-downs, world-clock motion and the ship bridge. Trail seeding in the shared aircraft tracking reads each layer's clock. - Traffic's flow lines and single build draw as ground sets; transit keeps dated credits and the new cities; CCTV opens the nearest camera, and the Quebec overlay projects and tests the horizon through the contract. Bikeshare's manager cleanup moved into its current lifecycle. - Draw keeps main's mark actions across engine switches. - The world clock in src/time is plain numbers again: Julian dates come from src/geo, the frame loop is injected, and the binding to Cesium's viewer clock lives in src/globe/cesium/worldTime.js. Navara's sky and sun follow the world time; live feeds keep the real time. - The cockpit's orbital view, with its sensor zoom, ground focus and satellite switching, stays Cesium-only for now: Navara hides its entry. Its Cesium calls live in src/globe/cesium/orbital.js. The ship bridge's finest-detail waterline sampling is Cesium-only too; Navara samples loaded geometry and detailed terrain. Both are in KNOWN-ISSUES. - Main's tests that built a Cesium scene by hand run on the fake engine. - The boundary manifest is regenerated, the coupling baseline records the orbital and bridge code, and the main-chunk baseline is raised to the merged size: main itself grew its main chunk by 93,959 bytes (gzip -9) since the previous merge base.
This commit is contained in:
commit
2a761aa5eb
452 files changed
+73437
-1752
No files matched your search
@@ -476,3 +476,28 @@ test('resuming navigation restores an entry visited before the manager watched',
|
||||
assert.equal(navigated[0].lat, 48.8584);
|
||||
manager.destroy();
|
||||
});
|
||||
|
||||
test('a link made away from live carries its world time to the page that opens it', (t) => {
|
||||
installTab(t, SHARE_A);
|
||||
const worldTime = Date.UTC(2026, 9, 30, 6, 15, 42);
|
||||
const sharer = new ShareLinkManager(fakeViewer(), {
|
||||
worldClock: { isLive: () => false, now: () => worldTime + 400 },
|
||||
});
|
||||
const link = sharer.buildLink({ nowMs: Date.UTC(2026, 10, 1) });
|
||||
sharer.destroy();
|
||||
const code = new URL(link).pathname.split('/').at(-1);
|
||||
const opener = new ShareLinkManager(fakeViewer(), { initialShareCode: code });
|
||||
assert.equal(opener.parseInitialHash().worldTime, worldTime);
|
||||
opener.destroy();
|
||||
|
||||
const live = new ShareLinkManager(fakeViewer(), {
|
||||
worldClock: { isLive: () => true, now: () => worldTime },
|
||||
});
|
||||
const liveCode = new URL(live.buildLink()).pathname.split('/').at(-1);
|
||||
live.destroy();
|
||||
const liveOpener = new ShareLinkManager(fakeViewer(), {
|
||||
initialShareCode: liveCode,
|
||||
});
|
||||
assert.equal(liveOpener.parseInitialHash().worldTime, null);
|
||||
liveOpener.destroy();
|
||||
});
|
||||
Reference in new issue
Block a user