diff --git a/changelog.d/1827-three-step-welcome.md b/changelog.d/1827-three-step-welcome.md
new file mode 100644
index 0000000000..0889a08544
--- /dev/null
+++ b/changelog.d/1827-three-step-welcome.md
@@ -0,0 +1,5 @@
+- Replace the first-run launcher with a three-step welcome: an introduction to
+ the modes, where to start (Space Missions, Environmental or Explore
+ manually), then quick tips and links. The Live Contacts starting choice is
+ gone. GEV Stories opens in the app from the last step, and a light tint (no
+ blur) sits over the globe while the card is up (manjunath22466, samehkhamis, #1827).
diff --git a/docs/CURRENT-STATE.md b/docs/CURRENT-STATE.md
index 64207f325a..80187f6d34 100644
--- a/docs/CURRENT-STATE.md
+++ b/docs/CURRENT-STATE.md
@@ -3392,6 +3392,9 @@ state or inert ancestry; ordinary visible enabled controls retain their order.
focus shared by the first-run launcher and Provider Settings. Each caller
activates it while open and deactivates it on dismissal; destruction releases
keyboard ownership without moving focus. Reopening captures the current opener.
+Tab from a control outside the surface moves into it unless the caller passes
+`claimOutsideFocus: false`, as the first-run launcher does; focus on the page
+body still moves in.
The launcher retains its hit-test/exclusive-surface arbitration and dismissal
preferences. Provider Settings retains its existing visibility and save policy.
Initial focus, transitions and DOM content remain with each screen. This
@@ -4106,10 +4109,34 @@ which embeds the MAP_KEY.
points to restrictions, quota, or connectivity. These hints do not expose keys.
> **2026-08-23 — first-run mission launcher** (`src/firstRunExperience.js`,
-> `#first-run-launcher`, styles at the tail of `style.css`). After startup
-> settles, a fresh session gets one card offering **Live Contacts · Space
-> Missions · Environmental · Explore manually**. No layer and no optional API
-> call happens until a tile is clicked. The right-hand DISPLAY rail
+> `#first-run-launcher`, styles in `src/ui/styles/first-run.css`). After startup
+> settles, a fresh session gets three steps: mode introduction, a starting
+> mission, then quick tips and links. God mode is available; Analyst is
+> marked coming soon. **Space Missions · Environmental · Explore
+> manually** are the starting choices, with Explore selected by default; Live
+> Contacts is no longer offered as a starting mission (its Context tab is
+> unchanged). The footer status line stays empty until a mission reports
+> progress or an error; the old voice tip is gone. While the card is up, a
+> click-through backdrop tints the globe behind it (`.first-run-backdrop`, a
+> 28% dark tint with no blur); it never takes input, so the card stays
+> non-modal. The last step links out to the GitHub repository and
+> its author's channels (YouTube, X, Instagram, LinkedIn, bilawal.ai) and
+> halfpixel.ai; each opens in a new tab with `rel="noopener noreferrer"`, and
+> the addresses live in `FIRST_RUN_LINKS` (`src/firstRunCopy.js`). The GEV
+> Stories card's BROWSE STORIES button closes the card (a session dismissal,
+> like Skip) and opens the in-app Stories Explore view, keeping the Stories
+> announcement hidden while Stories loads. Next and Back preserve that selection without starting
+> a mission. Only **Enter God mode** runs it; Back is inert while it is loading.
+> Step changes focus the main action, announce the new heading separately from
+> mission progress, and refresh the scrolling affordance after the transition. Repeated Enter keys,
+> double-clicks and activation during a step transition cannot launch a mission; a quick second
+> click on Next still moves to the next step. Tab cycles inside the card, and moves into it from
+> the page only when focus has nowhere else to be: Tab from the search bar or another control
+> follows the page's order.
+> No layer and no optional API call happens until the final action is clicked.
+> The Stories announcement waits, from startup until onboarding closes, without
+> marking it seen.
+> The right-hand DISPLAY rail
> (`pp-toggles`) now starts **collapsed** on a first run rather than expanded —
> a stored collapse state still wins, as before.
>
@@ -4157,26 +4184,28 @@ which embeds the MAP_KEY.
> `localStorage['gev:first-run-mission:v1'] === 'suppressed'`, written **only**
> by the "Don't show this again" checkbox → the per-session
> `sessionStorage['gev:first-run-mission-session:v1'] === 'dismissed'`, written
-> by **every** close path (mission, Explore, ESC, the footer dismiss button). So
+> by **every** close path (a mission or Explore from ENTER GOD MODE, ESC, the
+> header Skip button, BROWSE STORIES). So
> it returns each fresh browser session until the visitor ticks the box; clearing
> storage un-ticks it, which is accepted. Both stores fail open — an unreadable
> store still shows the launcher rather than silently swallowing first launch.
>
-> **The footer dismiss button is the keyboardless ESC.** Phones and tablets have
-> no ESC key, so the footer hint is a `data-first-run-dismiss` button that calls
+> **The header Skip button is the keyboardless ESC.** Phones and tablets have
+> no ESC key, so the header action is a `data-first-run-dismiss` button that calls
> the same `dismiss()` as ESC. It stays visible at every width (phones used to
-> hide it, leaving a mission as the only way out) and reads DISMISS on a
-> `(hover: none) and (pointer: coarse)` screen, "ESC to dismiss" otherwise. Its
-> 44px touch target is a `::before` outside the layout, so the footer row keeps
+> hide it, leaving a mission as the only way out) and reads SKIP on a
+> `(hover: none) and (pointer: coarse)` screen, "SKIP · ESC" otherwise. Its
+> 44px touch target is a `::before` outside the layout, so the header row keeps
> its one-line height.
>
> **What a mission may persist (do not "simplify" this).** Layer enablement is
> durable in this app (`gev:layer-state:v2`, written by
> `LayerStateCoordinator._commitExplicit` only for origin `user`/`voice`/`tool`).
> A mission enables **its own** layers at `origin: 'user'` — durable, exactly as
-> clicking those rows is, because picking the mission _is_ that choice. The two
-> Context missions also expand the Context panel, as the visible tabs do; the
-> globe missions open no panel. Everything else is off limits: detection
+> clicking those rows is, because picking the mission _is_ that choice. Space
+> Missions switches on its layer, which opens its own Space Missions panel; no
+> mission enters a Context mode or opens the Context panel, and the globe
+> missions open no panel. Everything else is off limits: detection
> mode/density, `gev:detection-allocation:v1`, 3D models, feather, and above all
> `_detectionUserOverridden` — setting that flag means "the operator hand-edited
> detection" and would silently disable the CRT/NVG/FLIR auto-preset contract for
diff --git a/scripts/qa-firstrun-mutations.mjs b/scripts/qa-firstrun-mutations.mjs
index 91e303885a..2c622598fd 100644
--- a/scripts/qa-firstrun-mutations.mjs
+++ b/scripts/qa-firstrun-mutations.mjs
@@ -276,21 +276,21 @@ const MUTATIONS = [
},
{
defect: 'the tile stops promising the fires it actually turns on',
- file: 'html',
+ file: 'module',
from: " 'Live earthquakes and active fires, from USGS and NASA',",
to: " 'Live earthquakes worldwide, straight from USGS',",
},
{
- defect: 'the owner-authored first-run line is quietly rewritten',
+ defect: 'the maintainer-authored first-run line is quietly rewritten',
file: 'html',
from: 'It feels like a forbidden cockpit—then you realize the sources are public and the data is real.',
- to: "It feels like a forbidden cockpit. It isn't — every feed is public, and every contact is live.",
+ to: 'A live 3D globe of public data. Pick a view to begin.',
},
{
defect: 'the ledgered global-chip defect loses its pointer to the real fix',
file: 'module',
- from: ' // means a KEY REQUIRED terminal state in src/loadingFeedback.js, a state',
- to: ' // (note removed)',
+ from: ' // ends KEY REQUIRED (src/loadingFeedback.js), and the quakes half of the',
+ to: ' // ends KEY REQUIRED, and the quakes half of the',
},
{
defect: 'the globe missions never pull the camera out',
@@ -314,7 +314,7 @@ const MUTATIONS = [
defect: 'Explore manually quietly runs a mission instead of nothing',
file: 'module',
from: "if (mission.kind === 'none') return { ok: true, choice };",
- to: "if (mission.kind === 'none') return { ok: true, choice, ran: await setContextMode('contacts') };",
+ to: "if (mission.kind === 'none') return { ok: true, choice, ran: await setLayerEnabled('rocket-launches') };",
},
{
defect: 'an unknown choice is treated as a success',
@@ -348,15 +348,14 @@ const MUTATIONS = [
{
defect: 'a mission persists a 3D-models choice nobody made',
file: 'module',
- from: ' const result = await styleManager.setContextMode(mode);',
- to: ' styleManager._setModels3dEnabled?.(true);\n const result = await styleManager.setContextMode(mode);',
+ from: " setLayerEnabled: (layerId) =>\n dataManager.setEnabled(layerId, true, { origin: 'user' }),",
+ to: " setLayerEnabled: (layerId) => {\n styleManager._setModels3dEnabled?.(true);\n return dataManager.setEnabled(layerId, true, { origin: 'user' });\n },",
},
{
- defect:
- 'the Context panel is left collapsed, hiding the mode that just started',
+ defect: 'a mission writes panel chrome nobody chose',
file: 'module',
- from: " styleManager.setPanelCollapsed?.('global-context-panel', false, {\n explicit: true,\n });",
- to: ' // panel reveal removed',
+ from: ' flyToGlobe: () => styleManager.resetToGlobeView(),',
+ to: " flyToGlobe: () => {\n styleManager.setPanelCollapsed?.('global-context-panel', false, { explicit: true });\n return styleManager.resetToGlobeView();\n },",
},
{
defect:
@@ -371,8 +370,8 @@ const MUTATIONS = [
defect:
'disabling the focused tile drops the keyboard to
mid-flight',
file: 'html',
- from: ':aria-disabled="launcher?.busy ?? undefined" @click="controls?.choose(\'contacts\')"',
- to: ':disabled="launcher?.busy === \'true\'" @click="controls?.choose(\'contacts\')"',
+ from: ':aria-disabled="String(settling || launcher?.busy === \'true\')" @click="onPrimary"',
+ to: ':disabled="launcher?.busy === \'true\'" @click="onPrimary"',
},
{
defect: 'Tab escapes into an app the visitor has not seen yet',
@@ -421,8 +420,8 @@ const MUTATIONS = [
defect:
'the card loses its viewport cap and clips on a short landscape phone',
file: 'css',
- from: ' max-height: calc(100dvh - 1.5rem);',
- to: ' /* cap removed */',
+ from: ' body.mobile-shell #first-run-launcher {\n bottom: 5.8rem;\n max-height: calc(100vh - 6.55rem);\n max-height: calc(100dvh - 6.55rem);\n }',
+ to: ' body.mobile-shell #first-run-launcher {\n bottom: 5.8rem;\n /* cap removed */\n }',
},
{
defect:
@@ -437,7 +436,7 @@ const MUTATIONS = [
// those instead and prove nothing about this feature.
defect: "the launcher's reduced-motion opt-out is dropped",
file: 'css',
- from: ' #first-run-launcher,\n .first-run-choices button,\n .first-run-arrow {\n transition: none;\n }\n /* Scrolling a tile into view must not animate either. */\n .first-run-choices {\n scroll-behavior: auto;\n }',
+ from: ' #first-run-launcher,\n .first-run-backdrop,\n .first-run-back,\n .first-run-missions button,\n .first-run-link-card,\n .first-run-link-button,\n .first-run-enter {\n transition: none;\n }\n /* Scrolling a tile into view must not animate either. */\n .first-run-choices {\n scroll-behavior: auto;\n }',
to: ' .first-run-nothing {\n transition: none;\n }',
},
@@ -445,14 +444,14 @@ const MUTATIONS = [
{
defect: 'a mission tile is dropped from the menu',
file: 'html',
- from: ' page.evaluate(() => {
const gev = window.__godsEyeView || {};
const sm = gev.styleManager;
const dm = gev.dataManager;
- const carto = sm?.viewer?.camera?.positionCartographic;
+ const carto = gev.viewer?.camera?.positionCartographic;
const layers = {};
const counts = {};
const all = dm?.getAll?.() || [];
@@ -170,8 +170,22 @@ async function watchLoadingChip(page) {
const readLoadingChip = (page) => page.evaluate(() => window.__chipSeen || []);
+async function nextStep(page, readySelector) {
+ await page.click('[data-first-run-next]');
+ await page.waitForSelector(readySelector, { visible: true });
+ await page.waitForFunction(() => {
+ const steps = [...document.querySelectorAll('#first-run-launcher .first-run-step')];
+ return steps.length === 1
+ && !/first-run-step-(forward|back)-(enter|leave)-/.test(steps[0].className)
+ && document.querySelector('[data-first-run-primary]')?.getAttribute('aria-disabled') !== 'true';
+ });
+}
+
async function pick(page, choice, { timeout = 40000, settle = [] } = {}) {
- await page.click(`[data-first-run-choice="${choice}"]`);
+ await nextStep(page, '[data-first-run-start]');
+ await page.click(`[data-first-run-start="${choice}"]`);
+ await nextStep(page, '[data-first-run-choice]');
+ await page.click('[data-first-run-choice]');
await page.waitForFunction(
(sel) => !document.querySelector(sel) || !document.querySelector(sel).classList.contains('visible'),
{ timeout },
@@ -190,8 +204,8 @@ async function pick(page, choice, { timeout = 40000, settle = [] } = {}) {
/** Every section the run is expected to reach; the teeth verdict requires all. */
const EXPECTED_SECTIONS = [
'show-policy', 'esc-arbitration',
- 'mission-environmental', 'mission-contacts', 'mission-space', 'mission-explore',
- 'viewports', 'console',
+ 'mission-environmental', 'mission-space', 'mission-explore',
+ 'stories-card', 'viewports', 'console',
];
/*
@@ -482,8 +496,8 @@ async function main() {
record('a fresh session gets the launcher', freshVisible);
if (freshVisible) shots.push(await shoot(page, 'launcher-desktop'));
- const focused = await page.evaluate(() => document.activeElement?.dataset?.firstRunChoice ?? null);
- record('focus lands on the first mission tile', focused === 'contacts', `activeElement=${focused}`);
+ const focused = await page.evaluate(() => document.activeElement?.hasAttribute('data-first-run-next') ?? false);
+ record('focus lands on Next', focused === true, `activeElement=${focused}`);
// The card is a flex column (so its list can scroll on short viewports),
// and an author `display` on this id outranks the UA's `[hidden]` rule.
@@ -500,10 +514,11 @@ async function main() {
record('the hidden attribute still hides the flex card', hiddenHonored === 'none',
`computed display while hidden = ${hiddenHonored}`);
- const tiles = await page.$$eval('[data-first-run-choice]', (nodes) => nodes.map((n) => n.dataset.firstRunChoice));
+ await nextStep(page, '[data-first-run-start]');
+ const tiles = await page.$$eval('[data-first-run-start]', (nodes) => nodes.map((n) => n.dataset.firstRunStart));
record(
- 'four tiles in the owner\'s order',
- JSON.stringify(tiles) === JSON.stringify(['contacts', 'space-missions', 'environmental', 'explore']),
+ 'three tiles in the owner\'s order',
+ JSON.stringify(tiles) === JSON.stringify(['space-missions', 'environmental', 'explore']),
tiles.join(' · '),
);
@@ -558,7 +573,7 @@ async function main() {
// ── Mission outcomes ────────────────────────────────────────────────────
// One section PER MISSION: a throw in one (a tile that never rendered under
- // --teeth, say) must not take the other four down with it, or the teeth
+ // --teeth, say) must not take the other two down with it, or the teeth
// tally reports "reached" for assertions that never ran.
let state;
let before;
@@ -642,22 +657,6 @@ async function main() {
shots.push(await shoot(page, 'mission-environmental'));
});
- await section('mission-contacts', async () => {
- await open(page, { query: "?welcome=1", errorSink: consoleErrors });
- await pick(page, 'contacts');
- state = await appState(page);
- record('LIVE CONTACTS activates the Contacts context mode', state.contextMode === 'flights',
- `contextMode=${state.contextMode}`);
- const panelOpen = await page.evaluate(() => {
- const panel = document.getElementById('global-context-panel');
- return !!panel && !panel.classList.contains('collapsed');
- });
- record('LIVE CONTACTS reveals the Context panel', panelOpen);
- record('LIVE CONTACTS still leaves the detection override untouched',
- state.detectionOverridden === false, `_detectionUserOverridden=${state.detectionOverridden}`);
- shots.push(await shoot(page, 'mission-contacts'));
- });
-
await section('mission-space', async () => {
await open(page, { query: "?welcome=1", errorSink: consoleErrors });
await pick(page, 'space-missions');
@@ -674,25 +673,77 @@ async function main() {
`layerOn=${missions.layerOn} contextMode=${state.contextMode}`);
record('SPACE MISSIONS opens its own panel', missions.panelOpen,
`panelOpen=${missions.panelOpen}`);
+ record('SPACE MISSIONS still leaves the detection override untouched',
+ state.detectionOverridden === false, `_detectionUserOverridden=${state.detectionOverridden}`);
shots.push(await shoot(page, 'mission-space-missions'));
});
await section('mission-explore', async () => {
await open(page, { query: "?welcome=1", errorSink: consoleErrors });
+ // Start below the mission overview so an accidental overview flight is observable.
+ await page.evaluate(() => {
+ const camera = window.__godsEyeView.viewer.camera;
+ camera.cancelFlight();
+ camera.setView({ destination: camera.position.constructor.fromDegrees(-97.7431, 30.2672, 100000) });
+ });
const beforeExplore = await appState(page);
await pick(page, 'explore');
state = await appState(page);
record('EXPLORE MANUALLY enables no layer and no context mode',
Object.values(state.layers).every((on) => !on) && state.contextMode === null,
Object.entries(state.layers).filter(([, on]) => on).map(([id]) => id).join(', ') || 'nothing enabled');
- // The real claim is that Explore issues no camera command of its own: the
- // arrival fly-in owns the camera and must still be heading down, not out.
record('EXPLORE MANUALLY never commandeers the camera',
- (state.heightKm ?? 0) < 12000 && (state.heightKm ?? 1e9) <= (beforeExplore.heightKm ?? 1e9),
- `${beforeExplore.heightKm} → ${state.heightKm} km (globe would be 18000)`);
+ beforeExplore.heightKm === 100 && state.heightKm === beforeExplore.heightKm,
+ `${beforeExplore.heightKm} → ${state.heightKm} km (expected 100 → 100 km)`);
shots.push(await shoot(page, 'mission-explore'));
});
+ await section('stories-card', async () => {
+ await open(page, { query: "?welcome=1", errorSink: consoleErrors });
+ const backdrop = await page.evaluate(() => {
+ const el = document.querySelector('.first-run-backdrop');
+ if (!el) return null;
+ const style = getComputedStyle(el);
+ return {
+ filter: style.backdropFilter || style.webkitBackdropFilter || 'none',
+ background: style.backgroundColor,
+ pointerEvents: style.pointerEvents,
+ };
+ });
+ record('the welcome backdrop tints the globe without blurring it',
+ !!backdrop && backdrop.filter === 'none' && backdrop.background !== 'rgba(0, 0, 0, 0)'
+ && backdrop.pointerEvents === 'none',
+ JSON.stringify(backdrop));
+ await nextStep(page, '[data-first-run-start]');
+ await nextStep(page, '[data-first-run-choice]');
+ const button = await page.evaluate(() => {
+ const el = document.querySelector('#first-run-launcher [data-first-run-stories]');
+ return el ? { tag: el.tagName, href: el.getAttribute('href'), target: el.getAttribute('target') } : null;
+ });
+ record('the GEV Stories card offers an in-app BROWSE STORIES button',
+ button?.tag === 'BUTTON' && button.href === null && button.target === null,
+ JSON.stringify(button));
+ const pagesBefore = (await browser.pages()).length;
+ await page.click('#first-run-launcher [data-first-run-stories]');
+ const opened = await page.waitForFunction(
+ () => document.body.classList.contains('stories-mode')
+ && !!document.querySelector('#gev-stories .app'),
+ { timeout: 30000 },
+ ).then(() => true, () => false);
+ const after = await page.evaluate((sel) => ({
+ launcherVisible: !!document.querySelector(sel)?.classList.contains('visible'),
+ session: sessionStorage.getItem('gev:first-run-mission-session:v1'),
+ query: location.search,
+ }), LAUNCHER);
+ record('BROWSE STORIES opens Stories Explore in this tab',
+ opened && (await browser.pages()).length === pagesBefore,
+ `stories-mode=${opened}, query=${after.query}`);
+ record('BROWSE STORIES closes the welcome card for the session',
+ !after.launcherVisible && after.session !== null,
+ `visible=${after.launcherVisible}, session=${after.session}`);
+ shots.push(await shoot(page, 'stories-card-explore'));
+ });
+
// ── Viewports ───────────────────────────────────────────────────────────
await section('viewports', async () => {
// Portrait phone, LANDSCAPE phone (the short viewport that clipped the card
@@ -705,6 +756,8 @@ async function main() {
for (const vp of VIEWPORTS) {
await page.setViewport({ width: vp.width, height: vp.height, deviceScaleFactor: vp.dpr });
await open(page, { query: "?welcome=1", errorSink: consoleErrors });
+ for (let step = 1; step <= 3; step++) {
+ if (step > 1) await nextStep(page, step === 2 ? '[data-first-run-start]' : '[data-first-run-choice]');
const box = await page.evaluate((sel) => {
const node = document.querySelector(sel);
if (!node) return null;
@@ -725,22 +778,23 @@ async function main() {
const fits = !!box && box.top >= 0 && box.bottom <= box.vh
&& box.left >= 0 && box.right <= box.vw;
record(
- `the launcher fits a ${vp.label} with no clipping`,
+ `step ${step} fits a ${vp.label} with no clipping`,
fits,
box ? `${box.left},${box.top} → ${box.right},${box.bottom} in ${box.vw}x${box.vh}${box.listScrolls ? ' (list scrolls)' : ''}` : 'absent',
);
- record(`"Don't show this again" stays on screen at ${vp.width}x${vp.height}`,
+ record(`step ${step} checkbox stays on screen at ${vp.width}x${vp.height}`,
!!box?.checkboxOnScreen);
// Discoverability: if the list scrolls, the LAST tile must still peek
// above the fold. A fold that lands exactly between tiles looks like a
- // complete list of four, and the fifth mission is simply never found.
+ // complete list, and the last mission is simply never found.
+ if (step === 2) {
const peek = await page.evaluate((sel) => {
const node = document.querySelector(sel);
const list = node?.querySelector('.first-run-choices');
if (!list) return null;
list.scrollTop = 0;
- const tiles = [...list.querySelectorAll('[data-first-run-choice]')];
+ const tiles = [...list.querySelectorAll('[data-first-run-start]')];
const last = tiles[tiles.length - 1];
if (!last) return null;
const listBox = list.getBoundingClientRect();
@@ -749,7 +803,7 @@ async function main() {
return {
scrolls: list.scrollHeight > list.clientHeight + 1,
fraction: lastBox.height ? visible / lastBox.height : 0,
- label: last.dataset.firstRunChoice,
+ label: last.dataset.firstRunStart,
};
}, LAUNCHER);
record(
@@ -765,7 +819,7 @@ async function main() {
const reach = await page.evaluate(async (sel) => {
const node = document.querySelector(sel);
if (!node) return null;
- const targets = [...node.querySelectorAll('[data-first-run-choice], [data-first-run-suppress]')];
+ const targets = [...node.querySelectorAll('[data-first-run-start], [data-first-run-suppress]')];
const offscreen = [];
for (const target of targets) {
target.focus();
@@ -774,7 +828,7 @@ async function main() {
const host = node.getBoundingClientRect();
if (document.activeElement !== target
|| rect.bottom <= host.top || rect.top >= host.bottom) {
- offscreen.push(target.dataset.firstRunChoice || 'suppress-checkbox');
+ offscreen.push(target.dataset.firstRunStart || 'suppress-checkbox');
}
}
return { count: targets.length, offscreen };
@@ -783,7 +837,7 @@ async function main() {
// A hardcoded count silently turns into a failure the day the menu
// changes, which is exactly what it did when a tile was removed.
const expectedFocusable = await page.$$eval(
- '[data-first-run-choice]', (nodes) => nodes.length,
+ '[data-first-run-start]', (nodes) => nodes.length,
) + 1;
record(
`every tile and the checkbox are keyboard-reachable at ${vp.width}x${vp.height}`,
@@ -792,6 +846,7 @@ async function main() {
? `${reach.count}/${expectedFocusable} focusable${reach.offscreen.length ? `, unreachable: ${reach.offscreen.join(', ')}` : ''}`
: 'absent',
);
+ }
// The reachability probe above tabs to the last tile and scrolls the list
// with it. Put it back to the top so the taste-pass shot shows what a
// visitor actually opens on.
@@ -801,7 +856,8 @@ async function main() {
document.activeElement?.blur?.();
}, LAUNCHER);
await sleep(250);
- shots.push(await shoot(page, `launcher-${vp.name}`));
+ shots.push(await shoot(page, `launcher-${vp.name}-step-${step}`));
+ }
}
await page.setViewport({ width: 1440, height: 900, deviceScaleFactor: 1 });
});
diff --git a/scripts/qa-floor-hold.mjs b/scripts/qa-floor-hold.mjs
index 0b67b39943..49a9c51a82 100644
--- a/scripts/qa-floor-hold.mjs
+++ b/scripts/qa-floor-hold.mjs
@@ -111,7 +111,7 @@ await page.waitForFunction(() => window.__godsEyeView?.viewer && window.__godsEy
{ timeout: 150000 });
await sleep(12000); // let the boot fly-to settle before pinning
await page.evaluate(() => {
- document.querySelector('#first-run-launcher:not([hidden]) [data-first-run-choice="explore"]')?.click();
+ document.querySelector('#first-run-launcher:not([hidden]) [data-first-run-dismiss]')?.click();
});
await sleep(600); // let the launcher dismissal finish before taking evidence
diff --git a/scripts/qa-street-level.mjs b/scripts/qa-street-level.mjs
index 3dd0a3aa5f..147ce35655 100644
--- a/scripts/qa-street-level.mjs
+++ b/scripts/qa-street-level.mjs
@@ -231,9 +231,6 @@ async function boot(page, url) {
await page.waitForFunction(() => Boolean(window.__godsEyeView?.dataManager), {
timeout: 150_000,
});
- await page.evaluate(() =>
- document.querySelector('.first-run-explore')?.click(),
- );
await page.keyboard.press('Escape');
await page.evaluate(() => {
for (const el of document.querySelectorAll(
diff --git a/src/firstRunCopy.js b/src/firstRunCopy.js
index d594d3d41a..b1daca0736 100644
--- a/src/firstRunCopy.js
+++ b/src/firstRunCopy.js
@@ -26,7 +26,17 @@ export function environmentalLabel(choice = ENVIRONMENTAL_LABEL_CHOICE) {
return { title: t(key) };
}
-/** The status line between missions. */
-export const FIRST_RUN_TIP = msg(
- 'Tip: the GEV MIC button in the dock lets you talk to the map.',
-);
+/**
+ * The outbound links the first-run card offers.
+ * @type {Readonly>}
+ */
+export const FIRST_RUN_LINKS = Object.freeze({
+ /** The open-source repository. */
+ source: 'https://github.com/bilawalsidhu/gods-eye-view',
+ youtube: 'https://www.youtube.com/@bilawalsidhu',
+ x: 'https://x.com/bilawalsidhu',
+ instagram: 'https://www.instagram.com/bilawal.ai',
+ linkedin: 'https://www.linkedin.com/in/bilawalsidhu',
+ website: 'https://bilawal.ai',
+ halfpixel: 'https://halfpixel.ai',
+});
diff --git a/src/firstRunExperience.js b/src/firstRunExperience.js
index 2f9ef9c514..3dbc02a6d0 100644
--- a/src/firstRunExperience.js
+++ b/src/firstRunExperience.js
@@ -23,13 +23,12 @@ import { createSurfaceKeyboard } from './ui/surfaceKeyboard.js';
import { t, msg } from './i18n/index.js';
import { EXCLUSIVE_SURFACE_CLASSES } from './exclusiveSurfaces.js';
-import { FIRST_RUN_TIP, environmentalLabel } from './firstRunCopy.js';
+import { environmentalLabel } from './firstRunCopy.js';
import { useFirstRunStore } from './ui/stores/firstRun.js';
import { applicationPinia } from './ui/vueRuntime.js';
export {
ENVIRONMENTAL_LABEL_CHOICE,
- FIRST_RUN_TIP,
environmentalLabel,
} from './firstRunCopy.js';
@@ -53,12 +52,12 @@ export const FIRST_RUN_SESSION_KEY = 'gev:first-run-mission-session:v1';
* TOUCHED, DURABLE layer enables for the mission's OWN layers, at
* `origin: 'user'` — identical to clicking those rows.
* Choosing ENVIRONMENTAL *is* choosing those layers.
- * TOUCHED, DURABLE the Context panel reveal, but only for the Contacts
- * mission, exactly as the visible Contacts tab does
- * it. Space Missions opens its own panel the way
- * switching its layer on does. The globe missions open
- * no panel at all — nothing there needs explaining,
- * and a panel-collapse write is a pref nobody chose.
+ * TOUCHED, DURABLE the Space Missions panel, which opens as it does when
+ * its layer is switched on from its Data Layers row.
+ * No mission reveals the Context panel, and the globe
+ * missions open no panel at all — nothing there needs
+ * explaining, and a panel-collapse write is a pref
+ * nobody chose.
* TOUCHED, SESSION the camera. Never persisted by anything.
* NOT TOUCHED detection mode + density. The reasonable-defaults
* landing owns the DENSE/75 start, and Contacts owns
@@ -67,8 +66,8 @@ export const FIRST_RUN_SESSION_KEY = 'gev:first-run-mission-session:v1';
* NOT TOUCHED `_detectionUserOverridden`. Setting it would mean "the
* operator hand-edited detection" and would silently
* kill the CRT/NVG/FLIR auto-preset contract for the
- * whole session. Missions run through setContextMode and
- * DataManager.setEnabled, neither of which writes it.
+ * whole session. Missions run through
+ * DataManager.setEnabled, which does not write it.
* NOT TOUCHED detection allocation (`gev:detection-allocation:v1`),
* 3D aircraft models, scope feather. All are defaults or
* separate durable prefs the visitor did not choose here.
@@ -76,19 +75,12 @@ export const FIRST_RUN_SESSION_KEY = 'gev:first-run-mission-session:v1';
* `_setModels3dMode`, which default to origin 'user' and
* would persist a 3D choice nobody made.
*
- * The Contacts mission deliberately reuses `styleManager.setContextMode`, the
- * same facade the visible tab and voice use, so Contacts detection ownership,
- * layer isolation and rollback stay in exactly one place. Space Missions is an
- * ordinary layer, switched on like clicking its row.
+ * Every mission is an ordinary layer choice, switched on like clicking its row,
+ * so no mission enters a Context mode.
*/
/** @type {Readonly>} */
export const FIRST_RUN_MISSIONS = Object.freeze({
- contacts: Object.freeze({
- kind: 'context',
- contextMode: 'contacts',
- busyKey: msg('Starting live contacts…'),
- }),
'space-missions': Object.freeze({
// An ordinary layer with its own panel: no camera flight, and its panel
// opens as it does for a click on its Data Layers row.
@@ -250,22 +242,17 @@ export function rememberFirstRunSessionDismissed(sessionStorageRef) {
*
* @param {string} choice Key of FIRST_RUN_MISSIONS.
* @param {object} deps
- * @param {(mode: string) => Promise} deps.setContextMode
* @param {(layerId: string) => Promise} deps.setLayerEnabled
* @param {() => Promise} deps.flyToGlobe
- * @returns {Promise<{ok: boolean, choice: string, result?: object, failedLayerIds?: string[]}>}
+ * @returns {Promise<{ok: boolean, choice: string, failedLayerIds?: string[]}>}
*/
export async function runFirstRunChoice(
choice,
- { setContextMode, setLayerEnabled, flyToGlobe },
+ { setLayerEnabled, flyToGlobe },
) {
const mission = FIRST_RUN_MISSIONS[choice];
if (!mission) return { ok: false, choice };
if (mission.kind === 'none') return { ok: true, choice };
- if (mission.kind === 'context') {
- const result = await setContextMode(mission.contextMode);
- return { ok: Boolean(result?.ok), choice, result };
- }
// Globe missions: start the pull-out and the layer work together so the
// camera is already moving while the feeds spin up. The flight is framing,
// not the mission — a stalled or superseded flight never fails the tile.
@@ -344,16 +331,14 @@ export function initFirstRunExperience({
closing: false,
state: null,
busy: null,
- status: t(FIRST_RUN_TIP),
+ // Empty until a mission reports progress or an error.
+ status: '',
// The tile name is owner-switchable from one constant, so paint it from
// the module rather than trusting the markup to match.
environmentalTitle: environmentalLabel().title,
environmentalSub: t(
'Live earthquakes and active fires, from USGS and NASA',
),
- description: t(
- 'It feels like a forbidden cockpit—then you realize the sources are public and the data is real.',
- ),
scrollable: null,
};
let signature = '';
@@ -379,7 +364,6 @@ export function initFirstRunExperience({
}
present({});
- const defaultStatus = view.status;
// An error or refused save stays on the status line until the next choice.
let stickyStatus = false;
let busy = false;
@@ -439,10 +423,14 @@ export function initFirstRunExperience({
globalThis.removeEventListener?.('resize', onViewportResize);
surfaceObserver?.disconnect();
const remove = () => {
+ root.removeEventListener('transitionend', onTransitionEnd);
store.connect(null);
present({ removed: true });
};
- root.addEventListener('transitionend', remove, { once: true });
+ const onTransitionEnd = (event) => {
+ if (event.target === root) remove();
+ };
+ root.addEventListener('transitionend', onTransitionEnd);
// `transitionend` never fires under prefers-reduced-motion (no transition),
// so a bounded fallback is what actually removes the node there.
globalThis.setTimeout?.(remove, 400);
@@ -459,7 +447,7 @@ export function initFirstRunExperience({
const patch = { state: next ? 'loading' : 'ready', busy: String(next) };
if (next)
patch.status = t(FIRST_RUN_MISSIONS[choice]?.busyKey || msg('Working…'));
- else if (!stickyStatus) patch.status = defaultStatus;
+ else if (!stickyStatus) patch.status = '';
present(patch);
};
@@ -471,19 +459,6 @@ export function initFirstRunExperience({
let outcome = null;
try {
outcome = await runFirstRunChoice(choice, {
- setContextMode: async (mode) => {
- const result = await styleManager.setContextMode(mode);
- if (result?.ok) {
- // setContextMode is also a voice/internal facade and deliberately
- // does not decide panel chrome. This first-run click is an explicit
- // visual choice, so reveal the result exactly as the visible
- // Contacts tab does.
- styleManager.setPanelCollapsed?.('global-context-panel', false, {
- explicit: true,
- });
- }
- return result;
- },
// `origin: 'user'` on purpose: a mission tile is a real person choosing
// these layers, so it persists exactly as clicking those rows would.
setLayerEnabled: (layerId) =>
@@ -500,9 +475,7 @@ export function initFirstRunExperience({
dismiss();
return;
}
- const failed = outcome?.failedLayerIds?.length
- ? outcome.failedLayerIds
- : outcome?.result?.failedLayerIds;
+ const failed = outcome?.failedLayerIds;
const detail =
Array.isArray(failed) && failed.length ? ` (${failed.join(', ')})` : '';
stickyStatus = true;
@@ -540,6 +513,9 @@ export function initFirstRunExperience({
isActive: () => !closing && isTopmost(),
onEscape: () => dismiss(),
fallbackFocus: () => documentRef.body,
+ // The card sits beside a usable map: Tab from the search bar or any
+ // other control follows the page's order instead of jumping back in.
+ claimOutsideFocus: false,
});
store.connect({
@@ -547,6 +523,7 @@ export function initFirstRunExperience({
// The same dismissal as ESC, for screens without a keyboard.
dismiss: () => dismiss(),
suppress: onSuppressChange,
+ refreshLayout: () => syncScrollAffordance(),
});
// Capture phase: the app binds its own global hotkeys (including bare letters
// that cycle detection and styles), and the launcher owns the keyboard first.
@@ -572,7 +549,7 @@ export function initFirstRunExperience({
present({ visible: true });
syncScrollAffordance();
root
- .querySelector('[data-first-run-choice]')
+ .querySelector('[data-first-run-primary]')
?.focus?.({ preventScroll: true });
});
};
diff --git a/src/firstRunExperience.test.mjs b/src/firstRunExperience.test.mjs
index e86dfc5c90..b6bb8e9c39 100644
--- a/src/firstRunExperience.test.mjs
+++ b/src/firstRunExperience.test.mjs
@@ -537,20 +537,13 @@ test('the launcher yields on engage and waits when a surface is already up', ()
// ── Per-mission behavior ─────────────────────────────────────────────────────
function missionSpy({
- contextOk = true,
layerResult = () => true,
globe = async () => ({ ok: true }),
} = {}) {
- const calls = { contextModes: [], layerIds: [], globeFlights: 0 };
+ const calls = { layerIds: [], globeFlights: 0 };
return {
calls,
deps: {
- setContextMode: async (mode) => {
- calls.contextModes.push(mode);
- return contextOk
- ? { ok: true, mode }
- : { ok: false, failedLayerIds: ['military-awareness'] };
- },
setLayerEnabled: async (layerId) => {
calls.layerIds.push(layerId);
return layerResult(layerId);
@@ -563,14 +556,14 @@ function missionSpy({
};
}
-test('the menu is the four owner-ordered missions', () => {
+test('the menu is the three owner-ordered missions', () => {
// INFRASTRUCTURE was removed after the owner playtested it: enabling all
// three bundled layers at once put ~5,700 entities on a full-earth view and
// tanked the frame rate. The layers stay reachable by hand and by voice; what
// went is the one-click globe-scale dump. Restoring the tile needs the
- // globe-LOD declutter first.
+ // globe-LOD declutter first. Live Contacts was dropped from the product, so
+ // it is not offered as a starting mission either.
assert.deepEqual(Object.keys(FIRST_RUN_MISSIONS), [
- 'contacts',
'space-missions',
'environmental',
'explore',
@@ -580,27 +573,17 @@ test('the menu is the four owner-ordered missions', () => {
undefined,
'the infrastructure mission must be gone, not dormant',
);
-});
-
-test('Live Contacts goes through the one setContextMode facade', async () => {
- const spy = missionSpy();
- const outcome = await runFirstRunChoice('contacts', spy.deps);
- assert.equal(outcome.ok, true);
- assert.deepEqual(spy.calls.contextModes, ['contacts']);
- // A Context mission owns no layers and no camera of its own — the facade does.
- assert.deepEqual(spy.calls.layerIds, []);
- assert.equal(spy.calls.globeFlights, 0);
+ assert.equal(
+ FIRST_RUN_MISSIONS.contacts,
+ undefined,
+ 'the contacts mission must be gone, not dormant',
+ );
});
test('Space Missions switches on its layer like a row click, without a flight', async () => {
const spy = missionSpy();
const outcome = await runFirstRunChoice('space-missions', spy.deps);
assert.equal(outcome.ok, true);
- assert.deepEqual(
- spy.calls.contextModes,
- [],
- 'Space Missions is not a Context mode',
- );
assert.deepEqual(spy.calls.layerIds, ['rocket-launches']);
assert.equal(spy.calls.globeFlights, 0, 'the layer frames the globe itself');
@@ -680,24 +663,9 @@ test('a refused layer fails the mission by name, and a stalled flight never does
test('Explore manually touches nothing at all, and an unknown choice is inert', async () => {
const spy = missionSpy();
assert.equal((await runFirstRunChoice('explore', spy.deps)).ok, true);
- assert.deepEqual(spy.calls, {
- contextModes: [],
- layerIds: [],
- globeFlights: 0,
- });
+ assert.deepEqual(spy.calls, { layerIds: [], globeFlights: 0 });
assert.equal((await runFirstRunChoice('nope', spy.deps)).ok, false);
- assert.deepEqual(spy.calls, {
- contextModes: [],
- layerIds: [],
- globeFlights: 0,
- });
-});
-
-test('a failed Context mission reports the layers the facade named', async () => {
- const spy = missionSpy({ contextOk: false });
- const outcome = await runFirstRunChoice('contacts', spy.deps);
- assert.equal(outcome.ok, false);
- assert.deepEqual(outcome.result.failedLayerIds, ['military-awareness']);
+ assert.deepEqual(spy.calls, { layerIds: [], globeFlights: 0 });
});
test('the fires/quakes tile name is switchable from one constant', () => {
@@ -748,23 +716,10 @@ test('no mission writes a preference the visitor did not choose by picking it',
);
}
- // The only durable panel write is the Context reveal, and only on the Context
- // mission — the globe missions open no panel at all, and Space Missions'
- // panel opens the way its layer row's switch opens it.
- const panelWrites = code.match(/setPanelCollapsed/g) || [];
- assert.equal(
- panelWrites.length,
- 1,
- 'exactly one panel reveal, on the Context path',
- );
- const contextPath = code.slice(
- code.indexOf('setContextMode: async (mode)'),
- code.indexOf('setLayerEnabled:'),
- );
- assert.match(
- contextPath,
- /result\?\.ok[\s\S]*?setPanelCollapsed\?\.\('global-context-panel', false, \{\s*explicit: true,?\s*\}\)/,
- );
+ // No mission writes panel chrome: the globe missions open no panel at all,
+ // and Space Missions' panel opens the way its layer row's switch opens it.
+ assert.doesNotMatch(code, /setPanelCollapsed/);
+ assert.doesNotMatch(code, /setContextMode/);
});
test('the decision table is written down where the next editor will read it', () => {
@@ -801,56 +756,19 @@ test('markup, startup ordering and accessibility remain pinned', async () => {
html,
/id="first-run-launcher" role="dialog"[^>]*aria-labelledby="first-run-title"[^>]*hidden/,
);
- assert.equal((html.match(/data-first-run-choice=/g) || []).length, 4);
+ assert.equal((html.match(/data-first-run-choice=/g) || []).length, 0);
+ assert.match(html, /data-first-run-next/);
+ assert.ok(
+ html.includes(
+ 'It feels like a forbidden cockpit—then you realize the sources are public and the data is real.
',
+ ),
+ 'the maintainer-authored first-run line stays verbatim',
+ );
assert.match(
html,
/data-first-run-status[^>]*role="status"[^>]*aria-live="polite"/,
);
assert.match(html, / /);
- assert.match(html, //);
- // Subcopy must name BOTH feeds the tile turns on — a tile that promised only
- // half of what it does is the defect this replaced. Only the VISIBLE
- // text counts; the comment beside it naturally says the words too.
- const envTile = html.slice(
- html.indexOf('data-first-run-choice="environmental"'),
- );
- const visible = envTile.slice(
- envTile.indexOf(''),
- envTile.indexOf(' '),
- );
- assert.match(visible, /earthquakes/i);
- assert.match(
- visible,
- /fires?/i,
- 'the tile must promise the fires it enables',
- );
-
- // The card's one persuasive line is OWNER-AUTHORED and pinned verbatim,
- // unspaced em dash included. This is copy, not prose to be improved in a
- // passing edit — changing it needs the owner, not a nicer-sounding rewrite.
- assert.ok(
- html.includes(
- ' It feels like a forbidden cockpit' +
- '—then you realize the sources are public and the data is real.
',
- ),
- 'the owner-authored first-run line must ship exactly as written',
- );
-
- // Menu order is the owner's, read straight off the markup.
- const order = [...html.matchAll(/data-first-run-choice="([a-z-]+)"/g)].map(
- (match) => match[1],
- );
- assert.deepEqual(order, [
- 'contacts',
- 'space-missions',
- 'environmental',
- 'explore',
- ]);
- assert.doesNotMatch(
- html,
- /data-first-run-choice="infrastructure"/,
- 'the removed tile must leave no markup behind',
- );
assert.match(startup, /styleManager\.initialRestorePromise/);
assert.ok(
@@ -905,40 +823,156 @@ test('markup, startup ordering and accessibility remain pinned', async () => {
assert.match(choicesBlock, /overflow-y: auto;/);
});
+test('the header text keeps clear of the centred step dots', () => {
+ const css = fs.readFileSync(
+ new URL('./ui/styles/first-run.css', import.meta.url),
+ 'utf8',
+ );
+ // Above 620px the dots are absolutely centred over the header row, so the
+ // kicker and Skip must stop short of them; long locales then wrap.
+ assert.match(css, /\.first-run-dots \{\s*position: absolute;\s*left: 50%;/);
+ assert.match(
+ css,
+ /@media \(min-width: 621px\) \{\s*\.first-run-kicker,\s*\.first-run-dismiss \{\s*max-width: calc\(50% - 2\.4rem\);\s*\}\s*\}/,
+ );
+ assert.match(
+ css,
+ /@media \(max-width: 620px\) \{\s*\.first-run-dots \{\s*position: static;/,
+ );
+});
+
+test('reduced motion stops every first-run animation, however specific', () => {
+ const css = fs.readFileSync(
+ new URL('./ui/styles/first-run.css', import.meta.url),
+ 'utf8',
+ );
+ // Every rule that starts an infinite animation must be matched by a
+ // reduced-motion rule at least as specific, or the animation keeps running.
+ const reduced = [
+ ...css.matchAll(
+ /@media \(prefers-reduced-motion: reduce\) \{([\s\S]*?)\n\}/g,
+ ),
+ ]
+ .map((m) => m[1])
+ .join('\n');
+ const squash = (selector) => selector.replace(/\s+/g, ' ').trim();
+ const reducedSelectors = new Set(
+ [...reduced.matchAll(/([^{}]+)\{[^}]*animation: none/g)].flatMap((m) =>
+ m[1].split(/,(?![^(]*\))/).map(squash),
+ ),
+ );
+ const animated = [
+ ...css.matchAll(/([^{}@]+)\{[^}]*animation: [^;]*infinite/g),
+ ]
+ .flatMap((m) => m[1].split(/,(?![^(]*\))/).map(squash))
+ .filter((selector) => !selector.startsWith('/*'));
+ assert.ok(animated.length > 5, 'found the animated rules');
+ const covered = (selector) => {
+ if (reducedSelectors.has(selector)) return true;
+ // An :is() group in the reduced block covers each of its members.
+ return [...reducedSelectors].some((reducedSelector) => {
+ const group = reducedSelector.match(/^(.*) :is\(([^)]*)\)$/);
+ return (
+ group &&
+ group[2]
+ .split(',')
+ .map((part) => `${group[1]} ${part.trim()}`)
+ .includes(selector)
+ );
+ });
+ };
+ const missing = animated.filter((selector) => !covered(selector));
+ assert.deepEqual(missing, [], 'animations reduced motion leaves running');
+});
+
+test('the welcome backdrop tints the globe without blurring it', () => {
+ const css = fs.readFileSync(
+ new URL('./ui/styles/first-run.css', import.meta.url),
+ 'utf8',
+ );
+ const backdrop = css.match(/\.first-run-backdrop \{([^}]*)\}/)?.[1] || '';
+ assert.match(backdrop, /background: rgba\(3, 8, 14, 0\.28\);/);
+ assert.match(backdrop, /pointer-events: none;/, 'click-through');
+ assert.doesNotMatch(backdrop, /backdrop-filter/);
+});
+
+test('every outbound first-run link opens without opener or referrer', () => {
+ const view = fs.readFileSync(
+ new URL('./ui/views/WelcomeView.vue', import.meta.url),
+ 'utf8',
+ );
+ const links = view.match(/]*target="_blank"[^>]*>/g) || [];
+ assert.ok(links.length >= 7, 'the source and Halfpixel chips are outbound');
+ for (const link of links) {
+ assert.match(link, /rel="noopener noreferrer"/, link);
+ }
+});
+
+test('the Stories announcement waits behind the welcome card', () => {
+ const css = fs.readFileSync(
+ new URL('./ui/styles/first-run.css', import.meta.url),
+ 'utf8',
+ );
+ // Hidden, not consumed: the popup keeps its unseen state and appears once
+ // the card is dismissed.
+ assert.match(
+ css,
+ /body:has\(#first-run-launcher\) #gev-stories #hPop,\s*body\.first-run-opening-stories #gev-stories #hPop \{\s*visibility: hidden;\s*pointer-events: none;\s*\}/,
+ );
+ // The selector only works while Stories still renders the popup as #hPop
+ // inside #gev-stories.
+ const stories = fs.readFileSync(
+ new URL('./ui/views/StoriesView.vue', import.meta.url),
+ 'utf8',
+ );
+ const root = stories.indexOf('= 0, 'StoriesView renders #gev-stories');
+ assert.ok(popup > root, 'StoriesView renders #hPop inside #gev-stories');
+});
+
test('the card closes without a keyboard: the ESC hint is a button, kept on phones', async () => {
const html = await renderApplicationHtml(
fs.readFileSync(new URL('../index.html', import.meta.url), 'utf8'),
);
// The whole stylesheet, so a hide rule added in any other file is caught too.
const css = readStylesheet(new URL('../style.css', import.meta.url));
- const footer = html.slice(
- html.indexOf('class="first-run-footer"'),
- html.indexOf('data-first-run-status'),
+ const header = html.slice(
+ html.indexOf('class="first-run-header"'),
+ html.indexOf('id="first-run-title"'),
);
assert.match(
- footer,
+ header,
/
/,
);
- assert.match(footer, />ESC to dismiss);
- assert.match(footer, />DISMISS);
+ assert.match(header, />SKIP · ESC);
+ assert.match(header, />SKIP);
// It closes the way ESC does, through the one dismiss path, so the session
// flag and focus handling are the same: firstRunLauncherView.test.mjs.
// Phones used to hide the hint, leaving no way out but picking a mission.
- assert.doesNotMatch(css, /first-run-footer > span:last-child/);
assert.doesNotMatch(css, /\.first-run-dismiss\s*\{[^}]*display:\s*none/);
- // A 44px touch target that does not add to the footer row's height.
+ // A 44px touch target that does not add to the header row's height.
assert.match(
css,
/\.first-run-dismiss::before \{[^}]*position: absolute;[^}]*height: 44px;/,
);
assert.doesNotMatch(css, /\.first-run-dismiss \{[^}]*min-height/);
- // Touch screens read DISMISS rather than a key they do not have.
+ // Touch screens read SKIP rather than a key they do not have.
assert.match(
css,
/@media \(hover: none\) and \(pointer: coarse\) \{\s*\.first-run-dismiss-key \{\s*display: none;/,
);
});
+test('a short landscape phone keeps the card inside the viewport', () => {
+ const css = readStylesheet(new URL('../style.css', import.meta.url));
+ // Above the tab bar, never taller than the space left between it and the top.
+ assert.match(
+ css,
+ /body\.mobile-shell #first-run-launcher \{[^}]*bottom: 5\.8rem;[^}]*max-height: calc\(100dvh - 6\.55rem\);/,
+ );
+});
+
test('the launcher keeps focus, restores it, and never disables the focused button', () => {
const module = fs.readFileSync(
new URL('./firstRunExperience.js', import.meta.url),
@@ -948,7 +982,8 @@ test('the launcher keeps focus, restores it, and never disables the focused butt
// drops the keyboard to and strands the visitor outside the launcher
// (firstRunLauncherView.test.mjs renders it).
assert.doesNotMatch(module, /\.disabled = /);
- // Tab is confined to the launcher, and ESC always releases it.
+ // Tab cycles inside the launcher once focus is in it, and ESC always
+ // releases it.
const keyboard = fs.readFileSync(
new URL('./ui/surfaceKeyboard.js', import.meta.url),
'utf8',
diff --git a/src/firstRunLauncherView.test.mjs b/src/firstRunLauncherView.test.mjs
index 16c76e1d95..204584a577 100644
--- a/src/firstRunLauncherView.test.mjs
+++ b/src/firstRunLauncherView.test.mjs
@@ -12,6 +12,7 @@ import {
initFirstRunExperience,
} from './firstRunExperience.js';
import { useFirstRunStore } from './ui/stores/firstRun.js';
+import { useStoriesStore } from './ui/stores/stories.js';
import WelcomeView from './ui/views/WelcomeView.vue';
function memoryStorage(key, { refuse = false } = {}) {
@@ -31,7 +32,14 @@ function memoryStorage(key, { refuse = false } = {}) {
}
/** The welcome view and an initialized launcher, revealed and painted. */
-async function launch(t, { styleManager = {}, refuse = false } = {}) {
+async function launch(
+ t,
+ {
+ styleManager = {},
+ dataManager = { setEnabled: async () => true },
+ refuse = false,
+ } = {},
+) {
document.body.replaceChildren();
// Where focus was before the launcher opened.
const opener = document.body.appendChild(document.createElement('button'));
@@ -47,7 +55,7 @@ async function launch(t, { styleManager = {}, refuse = false } = {}) {
const sessionStorageRef = memoryStorage(FIRST_RUN_SESSION_KEY);
const launcher = initFirstRunExperience({
styleManager,
- dataManager: { setEnabled: async () => true },
+ dataManager,
documentRef: document,
storage,
sessionStorageRef,
@@ -68,7 +76,31 @@ async function launch(t, { styleManager = {}, refuse = false } = {}) {
Object.defineProperty(list, 'clientHeight', { get: () => box.clientHeight });
for (const frame of frames.splice(0)) frame();
await nextTick();
- return { launcher, root, list, box, opener, storage, sessionStorageRef };
+ return {
+ launcher,
+ pinia,
+ root,
+ list,
+ box,
+ opener,
+ storage,
+ sessionStorageRef,
+ frames,
+ };
+}
+
+async function move(root, frames, selector = '[data-first-run-next]') {
+ root.querySelector(selector).click();
+ await settle(frames);
+}
+
+async function settle(frames) {
+ for (let i = 0; i < 4; i++) {
+ await nextTick();
+ for (const frame of frames.splice(0)) frame();
+ await new Promise((resolve) => setTimeout(resolve));
+ }
+ await nextTick();
}
test('the card is hidden until initialized, then revealed with its copy', async (t) => {
@@ -81,57 +113,185 @@ test('the card is hidden until initialized, then revealed with its copy', async
assert.equal(hidden.className, '');
app.unmount();
- const { root, list } = await launch(t);
+ const { root, list, frames } = await launch(t);
assert.equal(root.hidden, false);
assert.equal(root.classList.contains('visible'), true);
assert.equal(root.hasAttribute('aria-hidden'), false);
assert.equal(list.dataset.scrollable, 'true');
- assert.equal(
- root.querySelector('[data-first-run-status]').textContent,
- 'Tip: the GEV MIC button in the dock lets you talk to the map.',
+ assert.equal(root.querySelector('[data-first-run-status]').textContent, '');
+ assert.equal(root.querySelector('[data-first-run-choice]'), null);
+ assert.ok(
+ document.activeElement === root.querySelector('[data-first-run-primary]'),
+ );
+ await move(root, frames);
+ assert.deepEqual(
+ [...root.querySelectorAll('[data-first-run-start]')].map(
+ (node) => node.dataset.firstRunStart,
+ ),
+ ['space-missions', 'environmental', 'explore'],
+ );
+ const environmental = root.querySelector(
+ '[data-first-run-start="environmental"]',
);
assert.equal(
- root.querySelector('[data-first-run-environmental-title]').textContent,
+ environmental.querySelector('strong').textContent,
'ENVIRONMENTAL',
);
- assert.ok(
- document.activeElement === root.querySelector('[data-first-run-choice]'),
- 'the first mission has focus',
+ assert.match(
+ environmental.querySelector('small').textContent,
+ /earthquakes.*fires/i,
);
+ assert.equal(
+ root
+ .querySelector('[data-first-run-start="explore"]')
+ .getAttribute('aria-pressed'),
+ 'true',
+ );
+ assert.ok(
+ document.activeElement === root.querySelector('[data-first-run-primary]'),
+ );
+});
+
+test('a quick second click on NEXT moves on, and never launches', async (t) => {
+ let calls = 0;
+ const { root, frames } = await launch(t, {
+ dataManager: {
+ setEnabled: async () => {
+ calls++;
+ return true;
+ },
+ },
+ });
+ const primary = root.querySelector('[data-first-run-primary]');
+ const press = (detail) => {
+ primary.dispatchEvent(new PointerEvent('pointerdown', { bubbles: true }));
+ primary.dispatchEvent(new MouseEvent('click', { bubbles: true, detail }));
+ };
+ press(1);
+ await settle(frames);
+ assert.ok(root.querySelector('[data-first-run-start]'), 'on the second step');
+ // The second click of a double click, after the step settled, moves on.
+ press(2);
+ await settle(frames);
+ assert.equal(primary.dataset.firstRunChoice, 'explore', 'on the last step');
+ press(2);
+ await settle(frames);
+ assert.equal(calls, 0);
+ assert.equal(root.dataset.state ?? null, null, 'a double click never starts');
+ press(1);
+ await settle(frames);
+ assert.ok(root.dataset.state, 'a single click starts');
});
test('a busy mission marks the choices aria-disabled, never disabled', async (t) => {
let finish;
- const { root } = await launch(t, {
- styleManager: {
- setContextMode: () => new Promise((resolve) => (finish = resolve)),
+ let calls = 0;
+ const { root, frames } = await launch(t, {
+ dataManager: {
+ setEnabled: () => {
+ calls++;
+ return new Promise((resolve) => (finish = resolve));
+ },
},
});
- const contacts = root.querySelector('[data-first-run-choice="contacts"]');
- contacts.focus();
- contacts.click();
+ await move(root, frames);
+ root.querySelector('[data-first-run-start="space-missions"]').click();
+ await nextTick();
+ const primary = root.querySelector('[data-first-run-next]');
+ primary.click();
+ await nextTick();
+ const enter = root.querySelector('[data-first-run-primary]');
+ assert.equal(
+ enter,
+ primary,
+ 'one persistent button keeps native click counting and focus',
+ );
+ assert.equal(enter.dataset.firstRunChoice, 'space-missions');
+ enter.click();
+ assert.equal(
+ calls,
+ 0,
+ 'the new action cannot launch during the step transition',
+ );
+ // A press begun during the transition and released after it runs nothing.
+ enter.dispatchEvent(new PointerEvent('pointerdown', { bubbles: true }));
+ await settle(frames);
+ enter.dispatchEvent(new MouseEvent('click', { bubbles: true, detail: 1 }));
+ assert.equal(calls, 0, 'a press held through the step change never launches');
+ assert.ok(
+ document.activeElement === enter,
+ 'the primary action retains focus',
+ );
+ assert.deepEqual(enter.getAttribute('aria-describedby').split(' '), [
+ 'first-run-title',
+ 'first-run-description',
+ ]);
+ const announcement = root.querySelector('.first-run-step-announcement');
+ assert.equal(announcement.getAttribute('aria-live'), 'polite');
+ assert.equal(announcement.getAttribute('aria-atomic'), 'true');
+ assert.equal(
+ announcement.textContent,
+ root.querySelector('#first-run-title').textContent,
+ );
+ for (const id of enter.getAttribute('aria-describedby').split(' ')) {
+ assert.ok(root.querySelector(`#${id}`).textContent.trim());
+ }
+ enter.dispatchEvent(new MouseEvent('click', { bubbles: true, detail: 2 }));
+ assert.equal(calls, 0, 'a second click from Next never confirms a mission');
+ const repeated = new KeyboardEvent('keydown', {
+ key: 'Enter',
+ repeat: true,
+ bubbles: true,
+ cancelable: true,
+ });
+ enter.dispatchEvent(repeated);
+ assert.equal(repeated.defaultPrevented, true);
+ // A fresh keyboard/assistive click has detail 0 and remains supported.
+ enter.click();
+ assert.equal(calls, 1);
await nextTick();
assert.equal(root.dataset.state, 'loading');
assert.equal(root.getAttribute('aria-busy'), 'true');
- for (const button of root.querySelectorAll('[data-first-run-choice]')) {
- assert.equal(button.getAttribute('aria-disabled'), 'true');
- assert.equal(button.disabled, false);
- }
- assert.ok(document.activeElement === contacts, 'focus stays on the choice');
+ assert.equal(enter.getAttribute('aria-disabled'), 'true');
+ assert.equal(enter.disabled, false);
+ assert.ok(document.activeElement === enter, 'focus stays on the action');
assert.equal(
root.querySelector('[data-first-run-status]').textContent,
- 'Starting live contacts…',
+ 'Opening space missions…',
);
+ root.querySelector('.first-run-back').click();
+ await nextTick();
+ assert.equal(
+ root.querySelector('[data-first-run-next]'),
+ null,
+ 'Back is inert while busy',
+ );
+ enter.click();
+ assert.equal(calls, 1, 'a busy action cannot start a second request');
// A failed mission says so and stays on the card.
- finish({ ok: false });
+ finish(false);
await new Promise((resolve) => setTimeout(resolve));
await nextTick();
assert.equal(root.dataset.state, 'ready');
- assert.equal(contacts.getAttribute('aria-disabled'), 'false');
+ assert.equal(enter.getAttribute('aria-disabled'), 'false');
assert.match(
root.querySelector('[data-first-run-status]').textContent,
/^Could not open that mission/,
);
+ await move(root, frames, '.first-run-back');
+ assert.equal(
+ root
+ .querySelector('[data-first-run-start="space-missions"]')
+ .getAttribute('aria-pressed'),
+ 'true',
+ );
+ root.querySelector('.first-run-back').focus();
+ await move(root, frames, '.first-run-back');
+ assert.equal(root.querySelector('.first-run-back'), null);
+ assert.ok(
+ document.activeElement === root.querySelector('[data-first-run-primary]'),
+ 'focus moves when Back is removed',
+ );
});
test('a refused write takes the tick back and says why', async (t) => {
@@ -156,25 +316,106 @@ test('a saved tick stays ticked', async (t) => {
assert.equal(storage.read(), 'suppressed');
});
-test('the DISMISS button closes the card the way ESC does', async (t) => {
+test('the SKIP button closes the card the way ESC does', async (t) => {
const { root, sessionStorageRef } = await launch(t);
root.querySelector('[data-first-run-dismiss]').click();
await nextTick();
assert.equal(root.classList.contains('visible'), false);
assert.equal(root.getAttribute('aria-hidden'), 'true');
assert.notEqual(sessionStorageRef.read(), null, 'dismissed for the session');
+ root
+ .querySelector('.first-run-step')
+ .dispatchEvent(new Event('transitionend', { bubbles: true }));
+ await nextTick();
+ assert.equal(
+ document.getElementById('first-run-launcher'),
+ root,
+ 'child transitions do not finish dismissal',
+ );
root.dispatchEvent(new Event('transitionend'));
await nextTick();
assert.equal(document.getElementById('first-run-launcher') === null, true);
});
+test('BROWSE STORIES closes the card and opens Stories in place', async (t) => {
+ const { root, pinia, frames, sessionStorageRef } = await launch(t);
+ const stories = useStoriesStore(pinia);
+ let opened = 0;
+ let finishLoading;
+ stories.connect({
+ open: () => {
+ opened++;
+ return new Promise((resolve) => (finishLoading = resolve));
+ },
+ });
+ await move(root, frames);
+ await move(root, frames);
+ const button = root.querySelector('[data-first-run-stories]');
+ assert.ok(button, 'the Stories card offers its button on the last step');
+ assert.equal(button.tagName, 'BUTTON', 'opens in the app, not a new tab');
+ assert.equal(button.hasAttribute('href'), false);
+ button.click();
+ await nextTick();
+ assert.equal(opened, 1, 'Stories opened once');
+ assert.equal(root.classList.contains('visible'), false, 'the card closed');
+ assert.notEqual(sessionStorageRef.read(), null, 'dismissed for the session');
+ assert.equal(
+ document.body.classList.contains('first-run-opening-stories'),
+ true,
+ 'the Stories announcement stays hidden while Stories loads',
+ );
+ finishLoading();
+ await new Promise((resolve) => setTimeout(resolve));
+ assert.equal(
+ document.body.classList.contains('first-run-opening-stories'),
+ false,
+ 'and may show again once Stories has opened (or failed to)',
+ );
+ button.dispatchEvent(new MouseEvent('click', { detail: 1 }));
+ await nextTick();
+ assert.equal(opened, 1, 'a closing card cannot open Stories again');
+});
+
+test('BROWSE STORIES keeps the welcome up when Stories refuses to open', async (t) => {
+ const { root, pinia, frames, sessionStorageRef } = await launch(t);
+ const stories = useStoriesStore(pinia);
+ stories.connect({ open: () => false });
+ await move(root, frames);
+ await move(root, frames);
+ root.querySelector('[data-first-run-stories]').click();
+ await nextTick();
+ assert.equal(root.classList.contains('visible'), true, 'the card stays');
+ assert.equal(sessionStorageRef.read(), null, 'not dismissed');
+ assert.equal(
+ document.body.classList.contains('first-run-opening-stories'),
+ false,
+ );
+});
+
+test('the Stories card is left out where Stories is not offered', async (t) => {
+ const { root, pinia, frames } = await launch(t);
+ const stories = useStoriesStore(pinia);
+ stories.available = false;
+ await move(root, frames);
+ await move(root, frames);
+ assert.equal(root.querySelector('.first-run-stories'), null);
+ assert.equal(root.querySelector('[data-first-run-stories]'), null);
+});
+
test('the scroll fade clears when the tiles fit after a resize', async (t) => {
- const { list, box } = await launch(t);
+ const { root, list, box, frames } = await launch(t);
assert.equal(list.dataset.scrollable, 'true');
box.scrollHeight = 200;
window.dispatchEvent(new Event('resize'));
await nextTick();
assert.equal(list.dataset.scrollable, 'false');
+ box.scrollHeight = 400;
+ await move(root, frames);
+ assert.equal(
+ list.dataset.scrollable,
+ 'true',
+ 'new step refreshes overflow without a resize',
+ );
});
test('ESC closes the card, returns focus, and removes it without a transition', async (t) => {
diff --git a/src/i18n/locales/ar.json b/src/i18n/locales/ar.json
index 66e47080a5..93ddf5bcd8 100644
--- a/src/i18n/locales/ar.json
+++ b/src/i18n/locales/ar.json
@@ -159,8 +159,6 @@
"REFRESHING LIVE DATA": "جارٍ تحديث البيانات المباشرة",
"Close data attribution": "إغلاق إسناد البيانات",
"MISSION CONTROL · FIRST LAUNCH": "مركز التحكم · أول تشغيل",
- "Choose your first view": "اختر عرضك الأول",
- "LIVE CONTACTS": "تتبّع الأهداف المباشر",
"Don't show this again": "لا تعرض هذا مرة أخرى",
"POWER UP": "تشغيل",
"GROUND STATION · PROVIDER SETTINGS": "المحطة الأرضية · إعدادات المزوّدين",
@@ -168,13 +166,10 @@
"SAVE KEYS": "حفظ المفاتيح",
"Saving…": "جارٍ الحفظ…",
"It feels like a forbidden cockpit—then you realize the sources are public and the data is real.": "يبدو الأمر كقمرة قيادة محظورة — ثم تدرك أن المصادر عامة والبيانات حقيقية.",
- "Aircraft, vessels and nearby intelligence": "طائرات وسفن ومعلومات استخباراتية قريبة",
"SPACE MISSIONS": "المهام الفضائية",
"Launches, spacecraft and orbital context": "عمليات إطلاق ومركبات فضائية وسياق مداري",
"EXPLORE MANUALLY": "استكشاف يدوي",
"Begin with a clean globe": "ابدأ بكرة أرضية نظيفة",
- "ESC to dismiss": "اضغط ESC للإغلاق",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "نصيحة: يتيح لك زر GEV MIC في الشريط السفلي التحدث إلى الخريطة.",
"Close key setup": "إغلاق إعداد المفاتيح",
"The globe already flies keyless. Every key below switches on another real feed — paste one and it's saved into this app's local configuration, then the server restarts itself. Server-side keys stay on this machine; Google Maps and Cesium ion run in the browser and must be provider-restricted. Keys you configured elsewhere are shown but never touched.": "تعمل الكرة الأرضية بلا مفاتيح أصلًا. كل مفتاح أدناه يفعّل مصدرًا حقيقيًا إضافيًا: الصق مفتاحًا فيُحفظ في إعدادات هذا التطبيق المحلية، ثم يعيد الخادم تشغيل نفسه. تبقى مفاتيح الخادم على هذا الجهاز، أما Google Maps وCesium ion فتعملان في المتصفح ويجب تقييدهما بحسب المزوّد. المفاتيح التي أعددتها في مكان آخر تظهر دون أن تُمَسّ.",
"ESC to close": "اضغط ESC للإغلاق",
@@ -186,7 +181,6 @@
"IMPORT": "استيراد",
"RUN LOG": "سجل التشغيل",
"Ready": "جاهز",
- "Starting live contacts…": "جارٍ بدء تتبّع الأهداف المباشر…",
"Opening space missions…": "جارٍ فتح المهام الفضائية…",
"Scanning active events…": "جارٍ مسح الأحداث النشطة…",
"Working…": "جارٍ العمل…",
@@ -4698,5 +4692,38 @@
"Search places, layers and things on the map, or ask GEV": "ابحث عن أماكن وطبقات وعناصر على الخريطة، أو اسأل GEV",
"Search places, layers, flights… or ask GEV · > for commands": "ابحث عن أماكن وطبقات ورحلات جوية… أو اسأل GEV · > للأوامر",
"No matching command": "لا يوجد أمر مطابق",
- "Looks private, so nothing is searched or sent": "يبدو خاصًا، لذا لا يُبحث عنه ولا يُرسل"
+ "Looks private, so nothing is searched or sent": "يبدو خاصًا، لذا لا يُبحث عنه ولا يُرسل",
+ "Bilawal on YouTube": "بلاول على YouTube",
+ "BROWSE STORIES": "تصفح القصص",
+ "ENTER GOD MODE": "ادخل وضع الإله",
+ "Go deeper": "تعمّق أكثر",
+ "The studio behind GEV": "الاستوديو الذي يقف خلف GEV",
+ "Visual presets": "الأنماط البصرية",
+ "Open source. Self-host, fork, add a layer.": "مفتوح المصدر. استضفه بنفسك، أنشئ نسخة، أضف طبقة.",
+ "Choose your mode": "اختر الوضع",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "منظار القمر الصناعي التجسسي: عرض دائري، واجهة تكتيكية، كاميرا سينمائية. للاستكشاف.",
+ "Welcome to God's Eye View": "مرحبًا بك في God's Eye View",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "عرض أنظف وأسهل قراءة يُظهر فيه كل رقم مصدره. للبحث وإعداد التقارير.",
+ "Keyhole HUD": "واجهة المنظار",
+ "Analyst": "المحلل",
+ "God": "الإله",
+ "COMING SOON": "قريبًا",
+ "More from Halfpixel": "المزيد من Halfpixel",
+ "Start with": "ابدأ بـ",
+ "FUN": "ممتع",
+ "Where do you want to start?": "من أين تريد أن تبدأ؟",
+ "Three things to know": "ثلاثة أمور يجب معرفتها",
+ "Pick one to begin with. You can change everything later.": "اختر واحدة لتبدأ بها. يمكنك تغيير كل شيء لاحقًا.",
+ "That is all you need to get going.": "هذا كل ما تحتاج إليه للبدء.",
+ "SKIP · ESC": "تخطّي · ESC",
+ "SKIP": "تخطّي",
+ "Search places": "البحث عن أماكن",
+ "Type a place into the search bar.": "اكتب اسم مكان في شريط البحث.",
+ "Turn on layers": "تشغيل الطبقات",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "شغّل الطبقات لرؤية الرحلات الجوية والسفن والكاميرات والطقس والمزيد.",
+ "Click anything": "انقر على أي عنصر",
+ "Select a map item to see its details.": "اختر عنصرًا على الخريطة لرؤية تفاصيله.",
+ "Bilawal on {site}": "بلال على {site}",
+ "Bilawal's website": "موقع بلال الإلكتروني",
+ "BACK": "رجوع"
}
diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json
index cfec5e6e84..cf77319c2c 100644
--- a/src/i18n/locales/de.json
+++ b/src/i18n/locales/de.json
@@ -155,7 +155,6 @@
"ENVIRONMENTAL": "UMWELT",
"EARTH WATCH": "ERDBEOBACHTUNG",
"ACTIVE EVENTS": "AKTIVE EREIGNISSE",
- "Starting live contacts…": "Live-Kontakte werden gestartet…",
"Opening space missions…": "Raummissionen werden geöffnet…",
"Scanning active events…": "Aktive Ereignisse werden gescannt…",
"Live earthquakes and active fires, from USGS and NASA": "Live-Erdbeben und aktive Brände, von USGS und NASA",
@@ -1037,15 +1036,10 @@
"Copy share link": "Link zum Teilen kopieren",
"Reset camera and return to full globe view": "Kamera zurücksetzen und zur Vollglobus-Ansicht zurückkehren",
"MISSION CONTROL · FIRST LAUNCH": "MISSION CONTROL · ERSTER START",
- "Choose your first view": "Erste Ansicht wählen",
- "LIVE CONTACTS": "LIVE-KONTAKTE",
- "Aircraft, vessels and nearby intelligence": "Flugzeuge, Schiffe und Lagebild der Umgebung",
"Launches, spacecraft and orbital context": "Starts, Raumfahrzeuge und Orbit-Kontext",
"EXPLORE MANUALLY": "MANUELL ERKUNDEN",
"Begin with a clean globe": "Mit einem leeren Globus beginnen",
"Don't show this again": "Nicht mehr anzeigen",
- "ESC to dismiss": "ESC zum Schließen",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "Tipp: Mit der Mikrofontaste im Dock lässt sich die Karte per Sprache steuern.",
"Pick a shape, then click the map.": "Form wählen, dann auf die Karte klicken.",
"Enter to place the pin, Esc to cancel.": "Enter setzt den Pin, Esc bricht ab.",
"Click where the pin goes.": "Auf die Stelle für den Pin klicken.",
@@ -4274,5 +4268,38 @@
"Search places, layers and things on the map, or ask GEV": "Suche Orte, Ebenen und Kartenelemente oder frage GEV",
"Search places, layers, flights… or ask GEV · > for commands": "Orte, Ebenen, Flüge suchen… oder GEV fragen · > für Befehle",
"No matching command": "Kein passender Befehl",
- "Looks private, so nothing is searched or sent": "Sieht privat aus, daher wird nichts gesucht oder gesendet"
+ "Looks private, so nothing is searched or sent": "Sieht privat aus, daher wird nichts gesucht oder gesendet",
+ "Bilawal on YouTube": "Bilawal auf YouTube",
+ "BROWSE STORIES": "STORIES ANSEHEN",
+ "ENTER GOD MODE": "GOTT-MODUS STARTEN",
+ "Go deeper": "Mehr entdecken",
+ "The studio behind GEV": "Das Studio hinter GEV",
+ "Visual presets": "Visuelle Presets",
+ "Open source. Self-host, fork, add a layer.": "Open Source. Selbst hosten, forken, eine Ebene hinzufügen.",
+ "Choose your mode": "Modus wählen",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "Das Spionagesatelliten-Schlüsselloch: runder Bildausschnitt, taktisches HUD, filmische Kamera. Zum Erkunden.",
+ "Welcome to God's Eye View": "Willkommen bei God's Eye View",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "Eine klarere, gut lesbare Ansicht, in der jeder Wert seine Quelle zeigt. Für Recherche und Berichte.",
+ "Keyhole HUD": "Schlüsselloch-HUD",
+ "Analyst": "Analyse",
+ "God": "Gott",
+ "COMING SOON": "DEMNÄCHST",
+ "More from Halfpixel": "Mehr von Halfpixel",
+ "Start with": "Starten mit",
+ "FUN": "SPASS",
+ "Where do you want to start?": "Wo möchtest du anfangen?",
+ "Three things to know": "Drei Dinge, die du wissen solltest",
+ "Pick one to begin with. You can change everything later.": "Wähle zum Einstieg eine Option. Du kannst später alles ändern.",
+ "That is all you need to get going.": "Das ist alles, was du für den Einstieg brauchst.",
+ "SKIP · ESC": "ÜBERSPRINGEN · ESC",
+ "SKIP": "ÜBERSPRINGEN",
+ "Search places": "Orte suchen",
+ "Type a place into the search bar.": "Gib einen Ort in die Suchleiste ein.",
+ "Turn on layers": "Ebenen einschalten",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "Schalte Ebenen ein, um Flüge, Schiffe, Kameras, Wetter und mehr zu sehen.",
+ "Click anything": "Klicke auf ein Element",
+ "Select a map item to see its details.": "Wähle ein Kartenelement aus, um seine Details zu sehen.",
+ "Bilawal on {site}": "Bilawal auf {site}",
+ "Bilawal's website": "Bilawals Website",
+ "BACK": "ZURÜCK"
}
diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json
index 37e4a2dc4e..36cea4e467 100644
--- a/src/i18n/locales/es.json
+++ b/src/i18n/locales/es.json
@@ -926,8 +926,6 @@
"sightings filter|CONFIRMED": "CONFIRMADOS",
"PAD / RTLS": "PLATAFORMA / RTLS",
"MISSION CONTROL · FIRST LAUNCH": "CENTRO DE MANDO · PRIMER INICIO",
- "Choose your first view": "Elige tu primera vista",
- "LIVE CONTACTS": "CONTACTOS EN VIVO",
"Don't show this again": "No volver a mostrar",
"POWER UP": "ENCENDER",
"GROUND STATION · PROVIDER SETTINGS": "ESTACIÓN TERRENA · AJUSTES DE PROVEEDORES",
@@ -935,12 +933,9 @@
"SAVE KEYS": "GUARDAR CLAVES",
"Saving…": "Guardando…",
"It feels like a forbidden cockpit—then you realize the sources are public and the data is real.": "Parece una cabina prohibida—hasta que descubres que las fuentes son públicas y los datos son reales.",
- "Aircraft, vessels and nearby intelligence": "Aeronaves, buques e inteligencia cercana",
"Launches, spacecraft and orbital context": "Lanzamientos, naves y contexto orbital",
"EXPLORE MANUALLY": "EXPLORAR MANUALMENTE",
"Begin with a clean globe": "Empieza con un globo limpio",
- "ESC to dismiss": "ESC para cerrar",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "Consejo: el botón GEV MIC del dock te permite hablar con el mapa.",
"Close key setup": "Cerrar la configuración de claves",
"The globe already flies keyless. Every key below switches on another real feed — paste one and it's saved into this app's local configuration, then the server restarts itself. Server-side keys stay on this machine; Google Maps and Cesium ion run in the browser and must be provider-restricted. Keys you configured elsewhere are shown but never touched.": "El globo ya funciona sin claves. Cada clave de abajo activa otra fuente real — pega una y queda guardada en la configuración local de esta app, y luego el servidor se reinicia solo. Las claves del servidor se quedan en esta máquina; Google Maps y Cesium ion funcionan en el navegador y sus claves deben restringirse en la consola del proveedor. Las claves que configuraste en otro lugar se muestran, pero nunca se modifican.",
"ESC to close": "ESC para cerrar",
@@ -949,7 +944,6 @@
"UPDATE SHOT": "ACTUALIZAR PLANO",
"IMPORT": "IMPORTAR",
"RUN LOG": "REGISTRO DE EJECUCIÓN",
- "Starting live contacts…": "Iniciando contactos en vivo…",
"Opening space missions…": "Abriendo misiones espaciales…",
"Scanning active events…": "Escaneando eventos activos…",
"Working…": "Trabajando…",
@@ -4380,5 +4374,38 @@
"Search places, layers and things on the map, or ask GEV": "Busca lugares, capas y elementos del mapa, o pregunta a GEV",
"Search places, layers, flights… or ask GEV · > for commands": "Busca lugares, capas, vuelos… o pregunta a GEV · > para comandos",
"No matching command": "Ningún comando coincide",
- "Looks private, so nothing is searched or sent": "Parece privado, así que no se busca ni se envía nada"
+ "Looks private, so nothing is searched or sent": "Parece privado, así que no se busca ni se envía nada",
+ "Bilawal on YouTube": "Bilawal en YouTube",
+ "BROWSE STORIES": "VER STORIES",
+ "ENTER GOD MODE": "ENTRAR EN MODO DIOS",
+ "Go deeper": "Ir más allá",
+ "The studio behind GEV": "El estudio detrás de GEV",
+ "Visual presets": "Preajustes visuales",
+ "Open source. Self-host, fork, add a layer.": "Código abierto. Alójalo tú mismo, haz un fork, añade una capa.",
+ "Choose your mode": "Elige tu modo",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "La mirilla del satélite espía: visor circular, HUD táctico, cámara cinematográfica. Para explorar.",
+ "Welcome to God's Eye View": "Bienvenido a God's Eye View",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "Una vista más limpia y legible en la que cada valor muestra su fuente. Para investigar e informar.",
+ "Keyhole HUD": "HUD de mirilla",
+ "Analyst": "Analista",
+ "God": "Dios",
+ "COMING SOON": "PRÓXIMAMENTE",
+ "More from Halfpixel": "Más de Halfpixel",
+ "Start with": "Empezar con",
+ "FUN": "DIVERSIÓN",
+ "Where do you want to start?": "¿Por dónde quieres empezar?",
+ "Three things to know": "Tres cosas que debes saber",
+ "Pick one to begin with. You can change everything later.": "Elige una opción para empezar. Puedes cambiarlo todo después.",
+ "That is all you need to get going.": "Eso es todo lo que necesitas para empezar.",
+ "SKIP · ESC": "OMITIR · ESC",
+ "SKIP": "OMITIR",
+ "Search places": "Buscar lugares",
+ "Type a place into the search bar.": "Escribe un lugar en la barra de búsqueda.",
+ "Turn on layers": "Activar capas",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "Activa capas para ver vuelos, barcos, cámaras, tiempo y más.",
+ "Click anything": "Haz clic en cualquier elemento",
+ "Select a map item to see its details.": "Selecciona un elemento del mapa para ver sus detalles.",
+ "Bilawal on {site}": "Bilawal en {site}",
+ "Bilawal's website": "Sitio web de Bilawal",
+ "BACK": "ATRÁS"
}
diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json
index 0f6c0ae519..d474930a5e 100644
--- a/src/i18n/locales/fr.json
+++ b/src/i18n/locales/fr.json
@@ -406,7 +406,6 @@
"ENVIRONMENTAL": "ENVIRONNEMENT",
"EARTH WATCH": "VEILLE TERRE",
"ACTIVE EVENTS": "ÉVÉNEMENTS ACTIFS",
- "Starting live contacts…": "Démarrage des contacts en direct…",
"Opening space missions…": "Ouverture des missions spatiales…",
"Scanning active events…": "Analyse des événements actifs…",
"Live earthquakes and active fires, from USGS and NASA": "Séismes et feux actifs en direct, via USGS et NASA",
@@ -3170,15 +3169,10 @@
"Reset map bearing to north": "Réinitialiser l'orientation de la carte vers le nord",
"Reset camera and return to full globe view": "Réinitialiser la caméra et revenir à la vue du globe entier",
"MISSION CONTROL · FIRST LAUNCH": "CENTRE DE CONTRÔLE · PREMIER LANCEMENT",
- "Choose your first view": "Choisissez votre première vue",
- "LIVE CONTACTS": "CONTACTS EN DIRECT",
- "Aircraft, vessels and nearby intelligence": "Avions, navires et renseignements à proximité",
"Launches, spacecraft and orbital context": "Lancements, vaisseaux et contexte orbital",
"EXPLORE MANUALLY": "EXPLORER MANUELLEMENT",
"Begin with a clean globe": "Commencer avec un globe vierge",
"Don't show this again": "Ne plus afficher",
- "ESC to dismiss": "ESC pour fermer",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "Astuce : le bouton GEV MIC du dock permet de parler à la carte.",
"Malformed cyclone snapshot": "Instantané cyclonique mal formé",
"Cyclone request timed out": "Délai dépassé pour la requête cyclonique",
"{lower} to {upper}": "De {lower} à {upper}",
@@ -4380,5 +4374,38 @@
"Search places, layers and things on the map, or ask GEV": "Recherchez des lieux, des couches et des éléments sur la carte, ou interrogez GEV",
"Search places, layers, flights… or ask GEV · > for commands": "Recherchez des lieux, des couches, des vols… ou interrogez GEV · > pour les commandes",
"No matching command": "Aucune commande correspondante",
- "Looks private, so nothing is searched or sent": "Semble privé, donc rien n’est recherché ni envoyé"
+ "Looks private, so nothing is searched or sent": "Semble privé, donc rien n’est recherché ni envoyé",
+ "Bilawal on YouTube": "Bilawal sur YouTube",
+ "BROWSE STORIES": "PARCOURIR LES STORIES",
+ "ENTER GOD MODE": "ENTRER EN MODE DIEU",
+ "Go deeper": "Aller plus loin",
+ "The studio behind GEV": "Le studio derrière GEV",
+ "Visual presets": "Préréglages visuels",
+ "Open source. Self-host, fork, add a layer.": "Open source. Hébergez-le, forkez-le, ajoutez une couche.",
+ "Choose your mode": "Choisissez votre mode",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "Le viseur du satellite espion : vue circulaire, HUD tactique, caméra cinématographique. Pour explorer.",
+ "Welcome to God's Eye View": "Bienvenue dans God's Eye View",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "Une vue plus épurée et lisible où chaque valeur indique sa source. Pour la recherche et le reportage.",
+ "Keyhole HUD": "HUD viseur",
+ "Analyst": "Analyste",
+ "God": "Dieu",
+ "COMING SOON": "BIENTÔT",
+ "More from Halfpixel": "Plus de Halfpixel",
+ "Start with": "Commencer par",
+ "FUN": "LOISIR",
+ "Where do you want to start?": "Par où voulez-vous commencer ?",
+ "Three things to know": "Trois choses à savoir",
+ "Pick one to begin with. You can change everything later.": "Choisissez une option pour commencer. Vous pourrez tout modifier ensuite.",
+ "That is all you need to get going.": "C’est tout ce qu’il vous faut pour commencer.",
+ "SKIP · ESC": "PASSER · ESC",
+ "SKIP": "PASSER",
+ "Search places": "Rechercher des lieux",
+ "Type a place into the search bar.": "Saisissez un lieu dans la barre de recherche.",
+ "Turn on layers": "Activer des couches",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "Activez des couches pour voir les vols, les navires, les caméras, la météo et plus encore.",
+ "Click anything": "Cliquez sur un élément",
+ "Select a map item to see its details.": "Sélectionnez un élément de la carte pour voir ses détails.",
+ "Bilawal on {site}": "Bilawal sur {site}",
+ "Bilawal's website": "Site web de Bilawal",
+ "BACK": "RETOUR"
}
diff --git a/src/i18n/locales/he.json b/src/i18n/locales/he.json
index 5332a9a18f..916288500d 100644
--- a/src/i18n/locales/he.json
+++ b/src/i18n/locales/he.json
@@ -299,8 +299,6 @@
"ENVIRONMENTAL": "סביבתי",
"EARTH WATCH": "EARTH WATCH",
"ACTIVE EVENTS": "אירועים פעילים",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "טיפ: לחצן ה-MIC של GEV בעגינה מאפשר לדבר עם המפה.",
- "Starting live contacts…": "מתחיל מגעים חיים…",
"Opening space missions…": "פותח משימות חלל…",
"Scanning active events…": "סורק אירועים פעילים…",
"Live earthquakes and active fires, from USGS and NASA": "רעידות אדמה חיות ושריפות פעילות, מ-USGS ו-NASA",
@@ -2397,14 +2395,10 @@
"Shot name": "שם השוט",
"DEL": "מחיקה",
"MISSION CONTROL · FIRST LAUNCH": "חדר בקרה · שיגור ראשון",
- "Choose your first view": "בחירת התצוגה הראשונה",
- "LIVE CONTACTS": "מגעים חיים",
- "Aircraft, vessels and nearby intelligence": "מטוסים, אוניות ומודיעין סמוך",
"Launches, spacecraft and orbital context": "שיגורים, חלליות והקשר המסלולי",
"EXPLORE MANUALLY": "חקירה ידנית",
"Begin with a clean globe": "התחלה מגלובוס נקי",
"Don't show this again": "אל תציג זאת שוב",
- "ESC to dismiss": "Esc להסתרה",
"DISMISS": "הסתרה",
"CONTACTS CONTEXT OFF": "הקשר המגעים כבוי",
"SELECT CONTACTS TO LOAD OBSERVED / MAPPED PROXIMITY": "בחר מגעים לטעינת קרבה נצפית / ממופה",
@@ -4380,5 +4374,38 @@
"Search places, layers and things on the map, or ask GEV": "חפשו מקומות, שכבות ופריטים במפה, או שאלו את GEV",
"Search places, layers, flights… or ask GEV · > for commands": "חיפוש מקומות, שכבות וטיסות… או שאלה ל‑GEV · > לפקודות",
"No matching command": "אין פקודה תואמת",
- "Looks private, so nothing is searched or sent": "נראה פרטי, ולכן שום דבר לא מחופש או נשלח"
+ "Looks private, so nothing is searched or sent": "נראה פרטי, ולכן שום דבר לא מחופש או נשלח",
+ "Where do you want to start?": "מאיפה תרצו להתחיל?",
+ "Three things to know": "שלושה דברים שכדאי לדעת",
+ "Pick one to begin with. You can change everything later.": "בחרו אפשרות אחת להתחלה. אפשר לשנות הכול בהמשך.",
+ "That is all you need to get going.": "זה כל מה שצריך כדי להתחיל.",
+ "SKIP · ESC": "דילוג · ESC",
+ "SKIP": "דילוג",
+ "Search places": "חיפוש מקומות",
+ "Type a place into the search bar.": "הקלידו מקום בשורת החיפוש.",
+ "Turn on layers": "הפעלת שכבות",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "הפעילו שכבות כדי לראות טיסות, ספינות, מצלמות, מזג אוויר ועוד.",
+ "Click anything": "לחצו על פריט כלשהו",
+ "Select a map item to see its details.": "בחרו פריט במפה כדי לראות את פרטיו.",
+ "Bilawal on {site}": "בילוואל ב־{site}",
+ "Bilawal's website": "האתר של בילוואל",
+ "BACK": "חזרה",
+ "Welcome to God's Eye View": "ברוכים הבאים ל־God's Eye View",
+ "Choose your mode": "בחרו מצב",
+ "God": "אלוהים",
+ "FUN": "בשביל הכיף",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "מבט דרך לוויין ריגול: תצוגה עגולה, תצוגה עילית טקטית ומצלמה קולנועית. לחקירה וגילוי.",
+ "Keyhole HUD": "תצוגה עילית עגולה",
+ "Visual presets": "הגדרות תצוגה מוכנות",
+ "Analyst": "אנליסט",
+ "COMING SOON": "בקרוב",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "תצוגה נקייה וקריאה יותר, שבה כל ערך מציג את מקורו. למחקר ולדיווח.",
+ "Start with": "התחילו עם",
+ "Go deeper": "להעמיק",
+ "BROWSE STORIES": "עיון בסיפורים",
+ "More from Halfpixel": "עוד מ־Halfpixel",
+ "Bilawal on YouTube": "בילוואל ב־YouTube",
+ "The studio behind GEV": "הסטודיו שמאחורי GEV",
+ "Open source. Self-host, fork, add a layer.": "קוד פתוח. אירוח עצמאי, יצירת עותק והוספת שכבה.",
+ "ENTER GOD MODE": "כניסה למצב אלוהים"
}
diff --git a/src/i18n/locales/it.json b/src/i18n/locales/it.json
index dd71b4270b..018c66d6f4 100644
--- a/src/i18n/locales/it.json
+++ b/src/i18n/locales/it.json
@@ -406,7 +406,6 @@
"ENVIRONMENTAL": "AMBIENTE",
"EARTH WATCH": "OSSERVATORIO TERRA",
"ACTIVE EVENTS": "EVENTI ATTIVI",
- "Starting live contacts…": "Avvio dei contatti live…",
"Opening space missions…": "Apertura delle missioni spaziali…",
"Scanning active events…": "Scansione degli eventi attivi…",
"Live earthquakes and active fires, from USGS and NASA": "Terremoti e incendi attivi in tempo reale, da USGS e NASA",
@@ -3170,15 +3169,10 @@
"Reset map bearing to north": "Riporta l'orientamento della mappa a nord",
"Reset camera and return to full globe view": "Ripristina la camera e torna alla vista del globo intero",
"MISSION CONTROL · FIRST LAUNCH": "CONTROLLO MISSIONE · PRIMO AVVIO",
- "Choose your first view": "Scegli la tua prima vista",
- "LIVE CONTACTS": "CONTATTI LIVE",
- "Aircraft, vessels and nearby intelligence": "Aerei, navi e intelligence nelle vicinanze",
"Launches, spacecraft and orbital context": "Lanci, veicoli spaziali e contesto orbitale",
"EXPLORE MANUALLY": "ESPLORA MANUALMENTE",
"Begin with a clean globe": "Inizia con un globo pulito",
"Don't show this again": "Non mostrare più",
- "ESC to dismiss": "ESC per chiudere",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "Suggerimento: il pulsante GEV MIC nel dock ti permette di parlare con la mappa.",
"Malformed cyclone snapshot": "Snapshot dei cicloni non valido",
"Cyclone request timed out": "La richiesta dei cicloni è andata in timeout",
"{lower} to {upper}": "Da {lower} a {upper}",
@@ -4380,5 +4374,38 @@
"Search places, layers and things on the map, or ask GEV": "Cerca luoghi, livelli ed elementi sulla mappa oppure chiedi a GEV",
"Search places, layers, flights… or ask GEV · > for commands": "Cerca luoghi, livelli, voli… oppure chiedi a GEV · > per i comandi",
"No matching command": "Nessun comando corrispondente",
- "Looks private, so nothing is searched or sent": "Sembra privato, quindi non viene cercato né inviato nulla"
+ "Looks private, so nothing is searched or sent": "Sembra privato, quindi non viene cercato né inviato nulla",
+ "Bilawal on YouTube": "Bilawal su YouTube",
+ "BROWSE STORIES": "SFOGLIA LE STORIES",
+ "ENTER GOD MODE": "ENTRA IN MODALITÀ DIO",
+ "Go deeper": "Approfondisci",
+ "The studio behind GEV": "Lo studio dietro GEV",
+ "Visual presets": "Preset visivi",
+ "Open source. Self-host, fork, add a layer.": "Open source. Ospitalo tu, fai un fork, aggiungi un livello.",
+ "Choose your mode": "Scegli la modalità",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "Il mirino del satellite spia: vista circolare, HUD tattico, camera cinematografica. Per esplorare.",
+ "Welcome to God's Eye View": "Benvenuto in God's Eye View",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "Una vista più pulita e leggibile in cui ogni valore mostra la sua fonte. Per ricerca e reportage.",
+ "Keyhole HUD": "HUD a mirino",
+ "Analyst": "Analista",
+ "God": "Dio",
+ "COMING SOON": "IN ARRIVO",
+ "More from Halfpixel": "Altro da Halfpixel",
+ "Start with": "Inizia con",
+ "FUN": "SVAGO",
+ "Where do you want to start?": "Da dove vuoi iniziare?",
+ "Three things to know": "Tre cose da sapere",
+ "Pick one to begin with. You can change everything later.": "Scegli un’opzione per iniziare. Potrai cambiare tutto in seguito.",
+ "That is all you need to get going.": "È tutto ciò che serve per iniziare.",
+ "SKIP · ESC": "SALTA · ESC",
+ "SKIP": "SALTA",
+ "Search places": "Cerca luoghi",
+ "Type a place into the search bar.": "Digita un luogo nella barra di ricerca.",
+ "Turn on layers": "Attiva i livelli",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "Attiva i livelli per vedere voli, navi, telecamere, meteo e altro.",
+ "Click anything": "Fai clic su un elemento",
+ "Select a map item to see its details.": "Seleziona un elemento della mappa per vederne i dettagli.",
+ "Bilawal on {site}": "Bilawal su {site}",
+ "Bilawal's website": "Sito web di Bilawal",
+ "BACK": "INDIETRO"
}
diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json
index 6146800f19..23e6cb5106 100644
--- a/src/i18n/locales/ja.json
+++ b/src/i18n/locales/ja.json
@@ -386,7 +386,6 @@
"ENVIRONMENTAL": "環境",
"EARTH WATCH": "地球監視",
"ACTIVE EVENTS": "発生中のイベント",
- "Starting live contacts…": "ライブコンタクトを開始中…",
"Opening space missions…": "宇宙ミッションを開いています…",
"Scanning active events…": "発生中のイベントをスキャン中…",
"Live earthquakes and active fires, from USGS and NASA": "USGSとNASAによる地震と火災のライブ情報",
@@ -3006,15 +3005,10 @@
"Reset map bearing to north": "地図の方位を北にリセット",
"Reset camera and return to full globe view": "カメラをリセットして地球全体ビューに戻す",
"MISSION CONTROL · FIRST LAUNCH": "ミッションコントロール · 初回起動",
- "Choose your first view": "最初のビューを選択",
- "LIVE CONTACTS": "ライブコンタクト",
- "Aircraft, vessels and nearby intelligence": "航空機、船舶、周辺のインテリジェンス",
"Launches, spacecraft and orbital context": "打ち上げ、宇宙機、軌道の状況",
"EXPLORE MANUALLY": "手動で探索",
"Begin with a clean globe": "まっさらな地球儀から始める",
"Don't show this again": "今後表示しない",
- "ESC to dismiss": "Escで閉じる",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "ヒント:ドックの[マイク]ボタンで地図に話しかけられます。",
"routing busy — too many routes at once": "ルート検索サービスが混雑しています。同時に要求されたルートが多すぎます",
"route proxy error": "ルート検索プロキシでエラーが発生しました",
"Malformed cyclone snapshot": "サイクロンのスナップショットの形式が不正です",
@@ -4168,5 +4162,38 @@
"Search places, layers and things on the map, or ask GEV": "場所、レイヤー、マップ上の対象を検索するか、GEVに質問",
"Search places, layers, flights… or ask GEV · > for commands": "場所、レイヤー、航空便を検索… またはGEVに質問 · > でコマンド",
"No matching command": "一致するコマンドがありません",
- "Looks private, so nothing is searched or sent": "個人情報の可能性があるため、検索も送信もしません"
+ "Looks private, so nothing is searched or sent": "個人情報の可能性があるため、検索も送信もしません",
+ "Bilawal on YouTube": "YouTube の Bilawal",
+ "BROWSE STORIES": "STORIES を見る",
+ "ENTER GOD MODE": "ゴッドモードで開始",
+ "Go deeper": "さらに詳しく",
+ "The studio behind GEV": "GEV を手がけるスタジオ",
+ "Visual presets": "ビジュアルプリセット",
+ "Open source. Self-host, fork, add a layer.": "オープンソース。セルフホスト、フォーク、レイヤーの追加が可能。",
+ "Choose your mode": "モードを選択",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "偵察衛星の鍵穴ビュー:円形の視野、タクティカル HUD、映画のようなカメラ。探索向け。",
+ "Welcome to God's Eye View": "God's Eye View へようこそ",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "すべての値に出典が表示される、すっきり読みやすいビュー。調査やレポート向け。",
+ "Keyhole HUD": "鍵穴 HUD",
+ "Analyst": "アナリスト",
+ "God": "ゴッド",
+ "COMING SOON": "近日公開",
+ "More from Halfpixel": "Halfpixel のその他のコンテンツ",
+ "Start with": "ここから始める",
+ "FUN": "エンタメ",
+ "Where do you want to start?": "どこから始めますか?",
+ "Three things to know": "知っておきたい3つのこと",
+ "Pick one to begin with. You can change everything later.": "まずは1つ選んでください。後からすべて変更できます。",
+ "That is all you need to get going.": "これで始める準備は完了です。",
+ "SKIP · ESC": "スキップ · ESC",
+ "SKIP": "スキップ",
+ "Search places": "場所を検索",
+ "Type a place into the search bar.": "検索バーに場所を入力して探せます。",
+ "Turn on layers": "レイヤーを有効にする",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "レイヤーを有効にすると、航空機、船舶、カメラ、天気などを表示できます。",
+ "Click anything": "項目をクリック",
+ "Select a map item to see its details.": "地図上の項目を選択すると詳細が表示されます。",
+ "Bilawal on {site}": "{site}のBilawal",
+ "Bilawal's website": "Bilawalのウェブサイト",
+ "BACK": "戻る"
}
diff --git a/src/i18n/locales/pt.json b/src/i18n/locales/pt.json
index 7511af4391..c6f7d7c55f 100644
--- a/src/i18n/locales/pt.json
+++ b/src/i18n/locales/pt.json
@@ -406,7 +406,6 @@
"ENVIRONMENTAL": "AMBIENTAL",
"EARTH WATCH": "VIGILÂNCIA DA TERRA",
"ACTIVE EVENTS": "EVENTOS ATIVOS",
- "Starting live contacts…": "Iniciando contatos ao vivo…",
"Opening space missions…": "Abrindo missões espaciais…",
"Scanning active events…": "Varrendo eventos ativos…",
"Live earthquakes and active fires, from USGS and NASA": "Terremotos e incêndios ativos ao vivo, do USGS e da NASA",
@@ -3172,15 +3171,10 @@
"Reset map bearing to north": "Redefinir a orientação do mapa para o norte",
"Reset camera and return to full globe view": "Redefinir a câmera e voltar à vista do globo completo",
"MISSION CONTROL · FIRST LAUNCH": "CENTRO DE CONTROLE · PRIMEIRO ACESSO",
- "Choose your first view": "Escolha sua primeira vista",
- "LIVE CONTACTS": "CONTATOS AO VIVO",
- "Aircraft, vessels and nearby intelligence": "Aeronaves, embarcações e informações da região",
"Launches, spacecraft and orbital context": "Lançamentos, espaçonaves e contexto orbital",
"EXPLORE MANUALLY": "EXPLORAR MANUALMENTE",
"Begin with a clean globe": "Comece com um globo limpo",
"Don't show this again": "Não mostrar novamente",
- "ESC to dismiss": "ESC para fechar",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "Dica: o botão GEV MIC no dock permite falar com o mapa.",
"{lower} to {upper}": "{lower} a {upper}",
"Up to {upper}": "Até {upper}",
"From {lower}": "A partir de {lower}",
@@ -4380,5 +4374,38 @@
"Search places, layers and things on the map, or ask GEV": "Busque lugares, camadas e elementos no mapa ou pergunte ao GEV",
"Search places, layers, flights… or ask GEV · > for commands": "Busque lugares, camadas, voos… ou pergunte ao GEV · > para comandos",
"No matching command": "Nenhum comando correspondente",
- "Looks private, so nothing is searched or sent": "Parece privado, por isso nada é pesquisado nem enviado"
+ "Looks private, so nothing is searched or sent": "Parece privado, por isso nada é pesquisado nem enviado",
+ "Bilawal on YouTube": "Bilawal no YouTube",
+ "BROWSE STORIES": "VER STORIES",
+ "ENTER GOD MODE": "ENTRAR NO MODO DEUS",
+ "Go deeper": "Ir além",
+ "The studio behind GEV": "O estúdio por trás do GEV",
+ "Visual presets": "Predefinições visuais",
+ "Open source. Self-host, fork, add a layer.": "Código aberto. Hospede você mesmo, faça um fork, adicione uma camada.",
+ "Choose your mode": "Escolha seu modo",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "A mira do satélite espião: visão circular, HUD tático, câmera cinematográfica. Para explorar.",
+ "Welcome to God's Eye View": "Bem-vindo ao God's Eye View",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "Uma visão mais limpa e legível em que cada valor mostra sua fonte. Para pesquisa e reportagem.",
+ "Keyhole HUD": "HUD de mira",
+ "Analyst": "Analista",
+ "God": "Deus",
+ "COMING SOON": "EM BREVE",
+ "More from Halfpixel": "Mais da Halfpixel",
+ "Start with": "Começar com",
+ "FUN": "DIVERSÃO",
+ "Where do you want to start?": "Por onde você quer começar?",
+ "Three things to know": "Três coisas a saber",
+ "Pick one to begin with. You can change everything later.": "Escolha uma opção para começar. Você pode mudar tudo depois.",
+ "That is all you need to get going.": "Isso é tudo que você precisa para começar.",
+ "SKIP · ESC": "PULAR · ESC",
+ "SKIP": "PULAR",
+ "Search places": "Pesquisar lugares",
+ "Type a place into the search bar.": "Digite um lugar na barra de busca.",
+ "Turn on layers": "Ativar camadas",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "Ative camadas para ver voos, navios, câmeras, clima e muito mais.",
+ "Click anything": "Clique em qualquer elemento",
+ "Select a map item to see its details.": "Selecione um item do mapa para ver seus detalhes.",
+ "Bilawal on {site}": "Bilawal no {site}",
+ "Bilawal's website": "Site de Bilawal",
+ "BACK": "VOLTAR"
}
diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json
index 4c65538e23..0581f0672a 100644
--- a/src/i18n/locales/ru.json
+++ b/src/i18n/locales/ru.json
@@ -152,7 +152,6 @@
"CARGO": "ГРУЗОВОЕ",
"TANKER": "ТАНКЕР",
"OTHER": "ДРУГОЕ",
- "Starting live contacts…": "Запуск контактов в реальном времени…",
"Opening space missions…": "Открытие космических миссий…",
"Scanning active events…": "Сканирование активных событий…",
"Live earthquakes and active fires, from USGS and NASA": "Землетрясения и активные пожары в реальном времени от USGS и NASA",
@@ -1021,15 +1020,10 @@
"Globe actions": "Действия с глобусом",
"NO PLACE LEFT BEHIND": "НИ ОДНА ТОЧКА НЕ ОСТАНЕТСЯ ПОЗАДИ",
"ACTIVE STYLE": "АКТИВНЫЙ СТИЛЬ",
- "Choose your first view": "Выберите первый вид",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "Совет: кнопка «МИК» в доке позволяет говорить с картой.",
- "Aircraft, vessels and nearby intelligence": "Самолёты, суда и разведданные поблизости",
"Launches, spacecraft and orbital context": "Пуски, космические аппараты и орбитальный контекст",
"Begin with a clean globe": "Начните с чистого глобуса",
"MISSION CONTROL · FIRST LAUNCH": "ЦЕНТР УПРАВЛЕНИЯ · ПЕРВЫЙ ЗАПУСК",
"Don't show this again": "Больше не показывать",
- "ESC to dismiss": "ESC — скрыть",
- "LIVE CONTACTS": "КОНТАКТЫ ОНЛАЙН",
"EXPLORE MANUALLY": "ИЗУЧИТЬ ВРУЧНУЮ",
"Celestial ring — reveal the full globe": "Небесное кольцо — показать весь глобус",
"Celestial ring — available in Normal style": "Небесное кольцо — доступно в стиле «Обычный»",
@@ -4486,5 +4480,38 @@
"Search places, layers and things on the map, or ask GEV": "Ищите места, слои и объекты на карте или спросите GEV",
"Search places, layers, flights… or ask GEV · > for commands": "Ищите места, слои, рейсы… или спросите GEV · > для команд",
"No matching command": "Подходящая команда не найдена",
- "Looks private, so nothing is searched or sent": "Похоже на личные данные, поэтому ничего не ищется и не отправляется"
+ "Looks private, so nothing is searched or sent": "Похоже на личные данные, поэтому ничего не ищется и не отправляется",
+ "Bilawal on YouTube": "Билавал на YouTube",
+ "BROWSE STORIES": "СМОТРЕТЬ STORIES",
+ "ENTER GOD MODE": "ВОЙТИ В РЕЖИМ БОГА",
+ "Go deeper": "Глубже",
+ "The studio behind GEV": "Студия, создавшая GEV",
+ "Visual presets": "Визуальные пресеты",
+ "Open source. Self-host, fork, add a layer.": "Открытый код. Разверните у себя, сделайте форк, добавьте слой.",
+ "Choose your mode": "Выберите режим",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "Замочная скважина спутника-шпиона: круглый обзор, тактический HUD, кинематографичная камера. Для исследования.",
+ "Welcome to God's Eye View": "Добро пожаловать в God's Eye View",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "Более чистый и читаемый вид, где у каждого значения указан источник. Для исследований и отчётов.",
+ "Keyhole HUD": "HUD-скважина",
+ "Analyst": "Аналитик",
+ "God": "Бог",
+ "COMING SOON": "СКОРО",
+ "More from Halfpixel": "Ещё от Halfpixel",
+ "Start with": "Начать с",
+ "FUN": "ИГРА",
+ "Where do you want to start?": "С чего хотите начать?",
+ "Three things to know": "Три вещи, которые стоит знать",
+ "Pick one to begin with. You can change everything later.": "Выберите один вариант для начала. Позже всё можно изменить.",
+ "That is all you need to get going.": "Это всё, что нужно для начала.",
+ "SKIP · ESC": "ПРОПУСТИТЬ · ESC",
+ "SKIP": "ПРОПУСТИТЬ",
+ "Search places": "Поиск мест",
+ "Type a place into the search bar.": "Введите место в строке поиска.",
+ "Turn on layers": "Включайте слои",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "Включайте слои, чтобы видеть самолёты, суда, камеры, погоду и многое другое.",
+ "Click anything": "Нажмите на объект",
+ "Select a map item to see its details.": "Выберите объект на карте, чтобы увидеть подробности.",
+ "Bilawal on {site}": "Билал на {site}",
+ "Bilawal's website": "Сайт Билала",
+ "BACK": "НАЗАД"
}
diff --git a/src/i18n/locales/sv.json b/src/i18n/locales/sv.json
index ea3c8b277b..d619752e12 100644
--- a/src/i18n/locales/sv.json
+++ b/src/i18n/locales/sv.json
@@ -155,7 +155,6 @@
"ENVIRONMENTAL": "MILJÖ",
"EARTH WATCH": "JORDBEVAKNING",
"ACTIVE EVENTS": "AKTIVA HÄNDELSER",
- "Starting live contacts…": "Startar livekontakter …",
"Opening space missions…": "Öppnar rymduppdrag …",
"Scanning active events…": "Söker efter aktiva händelser …",
"Live earthquakes and active fires, from USGS and NASA": "Jordbävningar och aktiva bränder i realtid, från USGS och NASA",
@@ -953,15 +952,10 @@
"Copy share link": "Kopiera delningslänk",
"Reset camera and return to full globe view": "Återställ kameran och återgå till vy över hela globen",
"MISSION CONTROL · FIRST LAUNCH": "UPPDRAGSLEDNING · FÖRSTA START",
- "Choose your first view": "Välj första vy",
- "LIVE CONTACTS": "LIVEKONTAKTER",
- "Aircraft, vessels and nearby intelligence": "Flygplan, fartyg och lägesbild i närheten",
"Launches, spacecraft and orbital context": "Uppskjutningar, rymdfarkoster och omloppsbanor",
"EXPLORE MANUALLY": "UTFORSKA MANUELLT",
"Begin with a clean globe": "Börja med en tom glob",
"Don't show this again": "Visa inte igen",
- "ESC to dismiss": "ESC för att stänga",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "Tips: med knappen MIK i dockan går det att prata med kartan.",
"Pick a shape, then click the map.": "Välj en form och klicka sedan på kartan.",
"Enter to place the pin, Esc to cancel.": "Enter placerar nålen, Esc avbryter.",
"Click where the pin goes.": "Klicka där nålen ska sitta.",
@@ -4274,5 +4268,38 @@
"Search places, layers and things on the map, or ask GEV": "Sök efter platser, lager och objekt på kartan eller fråga GEV",
"Search places, layers, flights… or ask GEV · > for commands": "Sök efter platser, lager, flyg… eller fråga GEV · > för kommandon",
"No matching command": "Inget matchande kommando",
- "Looks private, so nothing is searched or sent": "Ser privat ut, så inget söks eller skickas"
+ "Looks private, so nothing is searched or sent": "Ser privat ut, så inget söks eller skickas",
+ "Where do you want to start?": "Var vill du börja?",
+ "Three things to know": "Tre saker att känna till",
+ "Pick one to begin with. You can change everything later.": "Välj ett alternativ att börja med. Du kan ändra allt senare.",
+ "That is all you need to get going.": "Det är allt du behöver för att komma igång.",
+ "SKIP · ESC": "HOPPA ÖVER · ESC",
+ "SKIP": "HOPPA ÖVER",
+ "Search places": "Sök platser",
+ "Type a place into the search bar.": "Skriv en plats i sökfältet.",
+ "Turn on layers": "Aktivera lager",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "Aktivera lager för att se flyg, fartyg, kameror, väder och mer.",
+ "Click anything": "Klicka på ett objekt",
+ "Select a map item to see its details.": "Välj ett kartobjekt för att se detaljerna.",
+ "Bilawal on {site}": "Bilawal på {site}",
+ "Bilawal's website": "Bilawals webbplats",
+ "BACK": "TILLBAKA",
+ "Welcome to God's Eye View": "Välkommen till God's Eye View",
+ "Choose your mode": "Välj läge",
+ "God": "Gud",
+ "FUN": "NÖJE",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "Spionsatellitens nyckelhål: rund vy, taktisk HUD och filmisk kamera. För utforskning.",
+ "Keyhole HUD": "Nyckelhåls-HUD",
+ "Visual presets": "Visuella förval",
+ "Analyst": "Analytiker",
+ "COMING SOON": "KOMMER SNART",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "En renare, lättläst vy där varje värde visar sin källa. För research och rapportering.",
+ "Start with": "Börja med",
+ "Go deeper": "Gå djupare",
+ "BROWSE STORIES": "BLÄDDRA BLAND BERÄTTELSER",
+ "More from Halfpixel": "Mer från Halfpixel",
+ "Bilawal on YouTube": "Bilawal på YouTube",
+ "The studio behind GEV": "Studion bakom GEV",
+ "Open source. Self-host, fork, add a layer.": "Öppen källkod. Kör själv, skapa en egen variant, lägg till ett lager.",
+ "ENTER GOD MODE": "STARTA GUDLÄGE"
}
diff --git a/src/i18n/locales/uk.json b/src/i18n/locales/uk.json
index caf2a0aa7f..b4de142e0b 100644
--- a/src/i18n/locales/uk.json
+++ b/src/i18n/locales/uk.json
@@ -416,7 +416,6 @@
"ENVIRONMENTAL": "ДОВКІЛЛЯ",
"EARTH WATCH": "СПОСТЕРЕЖЕННЯ ЗА ЗЕМЛЕЮ",
"ACTIVE EVENTS": "АКТИВНІ ПОДІЇ",
- "Starting live contacts…": "Запуск контактів у реальному часі…",
"Opening space missions…": "Відкриття космічних місій…",
"Scanning active events…": "Сканування активних подій…",
"Live earthquakes and active fires, from USGS and NASA": "Землетруси в реальному часі й активні пожежі від USGS та NASA",
@@ -3251,15 +3250,10 @@
"Reset map bearing to north": "Скинути азимут карти на північ",
"Reset camera and return to full globe view": "Скинути камеру та повернутися до вигляду всього глобуса",
"MISSION CONTROL · FIRST LAUNCH": "ЦЕНТР КЕРУВАННЯ · ПЕРШИЙ ЗАПУСК",
- "Choose your first view": "Виберіть, із чого почати",
- "LIVE CONTACTS": "КОНТАКТИ ОНЛАЙН",
- "Aircraft, vessels and nearby intelligence": "Літаки, судна й розвіддані поблизу",
"Launches, spacecraft and orbital context": "Запуски, космічні апарати та орбітальний контекст",
"EXPLORE MANUALLY": "ДОСЛІДИТИ ВРУЧНУ",
"Begin with a clean globe": "Почніть із чистого глобуса",
"Don't show this again": "Більше не показувати",
- "ESC to dismiss": "ESC — приховати",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "Порада: кнопка МІК у доку дає змогу говорити з картою.",
"fire confidence filter|All": "Усі",
"fire confidence filter|Nominal+": "Середня+",
"fire confidence filter|High": "Висока",
@@ -4486,5 +4480,38 @@
"Search places, layers and things on the map, or ask GEV": "Шукайте місця, шари й об’єкти на карті або запитайте GEV",
"Search places, layers, flights… or ask GEV · > for commands": "Шукайте місця, шари, рейси… або запитайте GEV · > для команд",
"No matching command": "Відповідної команди не знайдено",
- "Looks private, so nothing is searched or sent": "Схоже на особисті дані, тому нічого не шукається й не надсилається"
+ "Looks private, so nothing is searched or sent": "Схоже на особисті дані, тому нічого не шукається й не надсилається",
+ "Bilawal on YouTube": "Білавал на YouTube",
+ "BROWSE STORIES": "ПЕРЕГЛЯНУТИ STORIES",
+ "ENTER GOD MODE": "УВІЙТИ В РЕЖИМ БОГА",
+ "Go deeper": "Глибше",
+ "The studio behind GEV": "Студія, що створила GEV",
+ "Visual presets": "Візуальні пресети",
+ "Open source. Self-host, fork, add a layer.": "Відкритий код. Розгорніть у себе, зробіть форк, додайте шар.",
+ "Choose your mode": "Оберіть режим",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "Замкова шпарина супутника-шпигуна: круглий огляд, тактичний HUD, кінематографічна камера. Для дослідження.",
+ "Welcome to God's Eye View": "Ласкаво просимо до God's Eye View",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "Чистіший і зручний для читання вигляд, де кожне значення показує своє джерело. Для досліджень і звітів.",
+ "Keyhole HUD": "HUD-шпарина",
+ "Analyst": "Аналітик",
+ "God": "Бог",
+ "COMING SOON": "НЕЗАБАРОМ",
+ "More from Halfpixel": "Більше від Halfpixel",
+ "Start with": "Почати з",
+ "FUN": "ГРА",
+ "Where do you want to start?": "З чого хочете почати?",
+ "Three things to know": "Три речі, які варто знати",
+ "Pick one to begin with. You can change everything later.": "Виберіть один варіант для початку. Згодом усе можна змінити.",
+ "That is all you need to get going.": "Це все, що потрібно для початку.",
+ "SKIP · ESC": "ПРОПУСТИТИ · ESC",
+ "SKIP": "ПРОПУСТИТИ",
+ "Search places": "Пошук місць",
+ "Type a place into the search bar.": "Введіть місце в рядку пошуку.",
+ "Turn on layers": "Увімкніть шари",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "Увімкніть шари, щоб бачити літаки, судна, камери, погоду та інше.",
+ "Click anything": "Натисніть на об’єкт",
+ "Select a map item to see its details.": "Виберіть об’єкт на карті, щоб побачити подробиці.",
+ "Bilawal on {site}": "Білал на {site}",
+ "Bilawal's website": "Сайт Білала",
+ "BACK": "НАЗАД"
}
diff --git a/src/i18n/locales/zh-CN.json b/src/i18n/locales/zh-CN.json
index 94bcbce7e4..5a48bde940 100644
--- a/src/i18n/locales/zh-CN.json
+++ b/src/i18n/locales/zh-CN.json
@@ -386,7 +386,6 @@
"ENVIRONMENTAL": "环境",
"EARTH WATCH": "地球监测",
"ACTIVE EVENTS": "活跃事件",
- "Starting live contacts…": "正在接入实时目标…",
"Opening space missions…": "正在打开太空任务…",
"Scanning active events…": "正在扫描活跃事件…",
"Live earthquakes and active fires, from USGS and NASA": "来自 USGS 和 NASA 的实时地震与活跃火点",
@@ -2910,15 +2909,10 @@
"Reset map bearing to north": "重置地图方位为正北",
"Reset camera and return to full globe view": "重置相机并返回完整地球视图",
"MISSION CONTROL · FIRST LAUNCH": "任务控制 · 首次启动",
- "Choose your first view": "选择初始视图",
- "LIVE CONTACTS": "实时目标",
- "Aircraft, vessels and nearby intelligence": "飞机、船舶及周边情报",
"Launches, spacecraft and orbital context": "发射、航天器与轨道态势",
"EXPLORE MANUALLY": "手动探索",
"Begin with a clean globe": "从空白地球开始",
"Don't show this again": "不再显示",
- "ESC to dismiss": "按 ESC 关闭",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "提示:可通过停靠栏中的 GEV 麦克风按钮用语音操控地图。",
"hemisphere|N": "N",
"hemisphere|S": "S",
"hemisphere|E": "E",
@@ -4168,5 +4162,38 @@
"Search places, layers and things on the map, or ask GEV": "搜索地点、图层和地图上的对象,或向 GEV 提问",
"Search places, layers, flights… or ask GEV · > for commands": "搜索地点、图层、航班… 或问 GEV · > 输入命令",
"No matching command": "没有匹配的命令",
- "Looks private, so nothing is searched or sent": "疑似隐私信息,因此不会搜索或发送"
+ "Looks private, so nothing is searched or sent": "疑似隐私信息,因此不会搜索或发送",
+ "Bilawal on YouTube": "Bilawal 的 YouTube",
+ "BROWSE STORIES": "浏览 STORIES",
+ "ENTER GOD MODE": "进入上帝模式",
+ "Go deeper": "深入了解",
+ "The studio behind GEV": "GEV 背后的工作室",
+ "Visual presets": "视觉预设",
+ "Open source. Self-host, fork, add a layer.": "开源。可自行托管、派生、添加图层。",
+ "Choose your mode": "选择模式",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "间谍卫星锁孔视图:圆形视野、战术 HUD、电影级镜头。适合探索。",
+ "Welcome to God's Eye View": "欢迎使用 God's Eye View",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "更简洁易读的视图,每个数值都标明来源。适合研究和报道。",
+ "Keyhole HUD": "锁孔 HUD",
+ "Analyst": "分析师",
+ "God": "上帝",
+ "COMING SOON": "即将推出",
+ "More from Halfpixel": "更多来自 Halfpixel",
+ "Start with": "从这里开始",
+ "FUN": "娱乐",
+ "Where do you want to start?": "您想从哪里开始?",
+ "Three things to know": "需要了解的三件事",
+ "Pick one to begin with. You can change everything later.": "先选择一项,之后可以随时更改。",
+ "That is all you need to get going.": "了解这些就可以开始了。",
+ "SKIP · ESC": "跳过 · ESC",
+ "SKIP": "跳过",
+ "Search places": "搜索地点",
+ "Type a place into the search bar.": "在搜索栏中输入地点。",
+ "Turn on layers": "开启图层",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "开启图层以查看航班、船舶、摄像头、天气等。",
+ "Click anything": "点击任意项目",
+ "Select a map item to see its details.": "选择地图上的项目以查看详情。",
+ "Bilawal on {site}": "Bilawal 的 {site} 主页",
+ "Bilawal's website": "Bilawal 的网站",
+ "BACK": "返回"
}
diff --git a/src/i18n/locales/zh-Hant.json b/src/i18n/locales/zh-Hant.json
index e4ae873337..9030f459c2 100644
--- a/src/i18n/locales/zh-Hant.json
+++ b/src/i18n/locales/zh-Hant.json
@@ -386,7 +386,6 @@
"ENVIRONMENTAL": "環境",
"EARTH WATCH": "地球監測",
"ACTIVE EVENTS": "活躍事件",
- "Starting live contacts…": "正在接入實時目標…",
"Opening space missions…": "正在打開太空任務…",
"Scanning active events…": "正在掃描活躍事件…",
"Live earthquakes and active fires, from USGS and NASA": "來自 USGS 和 NASA 的實時地震與活躍火點",
@@ -2910,15 +2909,10 @@
"Reset map bearing to north": "重置地圖方位為正北",
"Reset camera and return to full globe view": "重置相機並返回完整地球視圖",
"MISSION CONTROL · FIRST LAUNCH": "任務控制 · 首次啟動",
- "Choose your first view": "選擇初始視圖",
- "LIVE CONTACTS": "實時目標",
- "Aircraft, vessels and nearby intelligence": "飛機、船舶及周邊情報",
"Launches, spacecraft and orbital context": "發射、航天器與軌道態勢",
"EXPLORE MANUALLY": "手動探索",
"Begin with a clean globe": "從空白地球開始",
"Don't show this again": "不再顯示",
- "ESC to dismiss": "按 ESC 關閉",
- "Tip: the GEV MIC button in the dock lets you talk to the map.": "提示:可通過停靠欄中的 GEV 麥克風按鈕用語音操控地圖。",
"hemisphere|N": "N",
"hemisphere|S": "S",
"hemisphere|E": "E",
@@ -4168,5 +4162,38 @@
"Search places, layers and things on the map, or ask GEV": "搜索地點、圖層和地圖上的對象,或向 GEV 提問",
"Search places, layers, flights… or ask GEV · > for commands": "搜索地點、圖層、航班… 或問 GEV · > 輸入命令",
"No matching command": "沒有匹配的命令",
- "Looks private, so nothing is searched or sent": "疑似隱私信息,因此不會搜索或發送"
+ "Looks private, so nothing is searched or sent": "疑似隱私信息,因此不會搜索或發送",
+ "Bilawal on YouTube": "Bilawal 的 YouTube",
+ "BROWSE STORIES": "瀏覽 STORIES",
+ "ENTER GOD MODE": "進入上帝模式",
+ "Go deeper": "深入瞭解",
+ "The studio behind GEV": "GEV 背後的工作室",
+ "Visual presets": "視覺預設",
+ "Open source. Self-host, fork, add a layer.": "開源。可自行託管、派生、添加圖層。",
+ "Choose your mode": "選擇模式",
+ "The spy-satellite keyhole: circular viewport, tactical HUD, cinematic camera. For exploring.": "間諜衛星鎖孔視圖:圓形視野、戰術 HUD、電影級鏡頭。適合探索。",
+ "Welcome to God's Eye View": "歡迎使用 God's Eye View",
+ "A cleaner, readable view where every value shows its source. For research and reporting.": "更簡潔易讀的視圖,每個數值都標明來源。適合研究和報道。",
+ "Keyhole HUD": "鎖孔 HUD",
+ "Analyst": "分析師",
+ "God": "上帝",
+ "COMING SOON": "即將推出",
+ "More from Halfpixel": "更多來自 Halfpixel",
+ "Start with": "從這裡開始",
+ "FUN": "娛樂",
+ "Where do you want to start?": "您想從哪裡開始?",
+ "Three things to know": "需要了解的三件事",
+ "Pick one to begin with. You can change everything later.": "先選擇一項,之後可以隨時更改。",
+ "That is all you need to get going.": "瞭解這些就可以開始了。",
+ "SKIP · ESC": "跳過 · ESC",
+ "SKIP": "跳過",
+ "Search places": "搜索地點",
+ "Type a place into the search bar.": "在搜索欄中輸入地點。",
+ "Turn on layers": "開啟圖層",
+ "Turn layers on to see flights, ships, cameras, weather and more.": "開啟圖層以查看航班、船舶、攝像頭、天氣等。",
+ "Click anything": "點擊任意項目",
+ "Select a map item to see its details.": "選擇地圖上的項目以查看詳情。",
+ "Bilawal on {site}": "Bilawal 的 {site} 主頁",
+ "Bilawal's website": "Bilawal 的網站",
+ "BACK": "返回"
}
diff --git a/src/ui/panelLayoutController.js b/src/ui/panelLayoutController.js
index bd86d7a4b5..4518fcea50 100644
--- a/src/ui/panelLayoutController.js
+++ b/src/ui/panelLayoutController.js
@@ -67,11 +67,26 @@ const RIGHT_STACK_OBSTACLE_SELECTOR = [
'#gev-voice-control',
'#world-timeline',
].join(', ');
-/** True when a mutation adds or removes the Stories card (`#hPop`). */
-function movesStoriesCard(record) {
+/** The body class the welcome sets while BROWSE STORIES loads. */
+const OPENING_STORIES = 'first-run-opening-stories';
+/**
+ * True when a mutation can show or hide the Stories card (`#hPop`): the card
+ * itself coming or going, or the welcome that hides it (`#first-run-launcher`,
+ * and the body class it sets while BROWSE STORIES loads) ending.
+ */
+export function movesStoriesCard(record) {
+ if (record.type === 'attributes')
+ return (
+ (record.oldValue || '').split(/\s+/).includes(OPENING_STORIES) !==
+ record.target.classList.contains(OPENING_STORIES)
+ );
for (const list of [record.addedNodes, record.removedNodes])
for (const node of list)
- if (node.id === 'hPop' || node.querySelector?.('#hPop')) return true;
+ if (
+ ['hPop', 'first-run-launcher'].includes(node.id) ||
+ node.querySelector?.('#hPop, #first-run-launcher')
+ )
+ return true;
return false;
}
@@ -276,6 +291,18 @@ export class PanelLayoutController {
subtree: true,
childList: true,
});
+ const welcomeHost = document.querySelector('[data-gev-view="welcome"]');
+ if (welcomeHost)
+ this._storiesCardObserver.observe(welcomeHost, {
+ subtree: true,
+ childList: true,
+ });
+ if (document.body)
+ this._storiesCardObserver.observe(document.body, {
+ attributes: true,
+ attributeFilter: ['class'],
+ attributeOldValue: true,
+ });
this._storiesCardShownHandler = (event) => {
if (event.target?.id === 'hPop') this._scheduleRightPanelLayout();
};
diff --git a/src/ui/panelRails.test.mjs b/src/ui/panelRails.test.mjs
index d284548b7c..416079aec7 100644
--- a/src/ui/panelRails.test.mjs
+++ b/src/ui/panelRails.test.mjs
@@ -878,3 +878,42 @@ test('left rail keeps collapsed panels shown beside Cockpit, still one open', ()
assert.equal(f.stack.classList.contains('layout-exclusive'), false);
assert.equal(f.first.getAttribute('aria-hidden'), undefined);
});
+
+test('the right rail is laid out again when the Stories card can appear or go', async () => {
+ const { movesStoriesCard } = await import('./panelLayoutController.js');
+ const node = (id, inner = null) => ({
+ id,
+ querySelector: (selector) =>
+ inner && selector.split(', ').includes(`#${inner}`) ? {} : null,
+ });
+ const childList = (added = [], removed = []) => ({
+ type: 'childList',
+ addedNodes: added,
+ removedNodes: removed,
+ });
+ const bodyClass = (oldValue, now) => ({
+ type: 'attributes',
+ oldValue,
+ target: { classList: { contains: (name) => now.includes(name) } },
+ });
+ // The card itself, or a wrapper holding it, comes or goes.
+ assert.equal(movesStoriesCard(childList([node('hPop')])), true);
+ assert.equal(movesStoriesCard(childList([], [node('', 'hPop')])), true);
+ // The welcome, which hides the card, is removed.
+ assert.equal(
+ movesStoriesCard(childList([], [node('first-run-launcher')])),
+ true,
+ );
+ // Story playback's own changes do not lay the rail out.
+ assert.equal(movesStoriesCard(childList([node('story-frame')])), false);
+ // Only the welcome's loading class coming or going counts.
+ assert.equal(
+ movesStoriesCard(bodyClass('first-run-opening-stories', ['stories-mode'])),
+ true,
+ );
+ assert.equal(
+ movesStoriesCard(bodyClass('', ['first-run-opening-stories'])),
+ true,
+ );
+ assert.equal(movesStoriesCard(bodyClass('a', ['b'])), false);
+});
diff --git a/src/ui/stores/firstRun.js b/src/ui/stores/firstRun.js
index af90ac2bd2..3f2569aa62 100644
--- a/src/ui/stores/firstRun.js
+++ b/src/ui/stores/firstRun.js
@@ -8,7 +8,7 @@ import { markRaw, shallowRef } from 'vue';
*/
export const useFirstRunStore = defineStore('gev-first-run', () => {
/**
- * `{removed, shown, visible, closing, state, busy, status, description,
+ * `{removed, shown, visible, closing, state, busy, status,
* environmentalTitle, environmentalSub, scrollable}`, or null until the
* launcher is initialized (the card stays hidden).
*/
@@ -19,7 +19,7 @@ export const useFirstRunStore = defineStore('gev-first-run', () => {
launcher.value = next && markRaw(next);
}
- /** `{choose(choice), dismiss(), suppress(wanted) → boolean}`, or null. */
+ /** `{choose(choice), dismiss(), suppress(wanted) → boolean, refreshLayout()}`, or null. */
const controls = shallowRef(null);
/** @param {?object} next The launcher's controls, or null to disconnect. */
diff --git a/src/ui/styles/first-run.css b/src/ui/styles/first-run.css
index 3e192c082a..f711fd8b9b 100644
--- a/src/ui/styles/first-run.css
+++ b/src/ui/styles/first-run.css
@@ -2,35 +2,38 @@
Compact and non-modal: it gives a new visitor a meaningful starting
choice without blocking manual map interaction or spending API quota. */
#first-run-launcher {
+ --first-run-step-offset: 1.5rem;
position: fixed;
z-index: 175;
- top: 50%;
+ /* Spans the HUD's deco band: its top meets the HUD's top readouts
+ (`top: max(14vh, 136px)` on the tactical HUD) and its bottom meets the
+ bottom readouts. The sections scroll inside, so the heading, the
+ checkbox, the main action and the status line stay reachable. */
+ top: max(14vh, 136px);
+ bottom: auto;
+ max-height: calc(100vh - 4rem);
+ max-height: calc(100dvh - 4rem);
left: 50%;
- width: min(34rem, calc(100vw - 2rem));
- /* Five tiles do not fit a short landscape phone (667 x 390), where the card
- would otherwise render past BOTH ends of the viewport. Cap it to the
- viewport and let the mission list scroll inside — the heading, the checkbox
- and the status line must stay reachable at every height. */
- max-height: calc(100vh - 1.5rem);
- max-height: calc(100dvh - 1.5rem);
+ width: min(54vw, 52rem);
+ min-width: min(40rem, calc(100vw - 2rem));
display: flex;
flex-direction: column;
- padding: 1.15rem;
+ padding: 1.35rem 1.5rem 1.1rem;
overflow: hidden;
color: var(--text-primary);
- background:
- linear-gradient(145deg, rgba(10, 27, 37, 0.97), rgba(7, 13, 22, 0.95)),
- rgba(7, 17, 25, 0.96);
- border: 1px solid rgba(54, 220, 255, 0.42);
- border-radius: 0.65rem;
+ /* The same frosted glass as the side panels, so the card reads as part of
+ the shell rather than a separate dialog. */
+ background: var(--glass-bg);
+ border: 1px solid var(--glass-border);
+ border-radius: var(--panel-radius);
box-shadow:
- 0 1.4rem 4.5rem rgba(0, 0, 0, 0.72),
- 0 0 2.5rem rgba(0, 212, 255, 0.09),
- inset 0 0 0 1px rgba(255, 255, 255, 0.025);
- backdrop-filter: blur(28px) saturate(1.25);
- -webkit-backdrop-filter: blur(28px) saturate(1.25);
+ 0 8px 32px rgba(0, 0, 0, 0.5),
+ 0 0 0 1px rgba(255, 255, 255, 0.03) inset,
+ 0 1px 0 rgba(255, 255, 255, 0.06) inset;
+ backdrop-filter: blur(24px) saturate(1.4);
+ -webkit-backdrop-filter: blur(24px) saturate(1.4);
opacity: 0;
- transform: translate(-50%, calc(-50% + 0.8rem)) scale(0.985);
+ transform: translate(-50%, 0.8rem) scale(0.985);
transition:
opacity 220ms ease,
transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
@@ -49,10 +52,27 @@
#first-run-launcher.visible {
opacity: 1;
- transform: translate(-50%, -50%) scale(1);
+ transform: translate(-50%, 0) scale(1);
pointer-events: auto;
}
+/* A light tint over the globe behind the card, with no blur, so the globe
+ stays sharp. Decorative and click-through: the card stays non-modal, so
+ the map underneath still works. */
+.first-run-backdrop {
+ position: fixed;
+ z-index: 174;
+ inset: 0;
+ background: rgba(3, 8, 14, 0.28);
+ opacity: 0;
+ transition: opacity 220ms ease;
+ pointer-events: none;
+}
+
+.first-run-backdrop.visible {
+ opacity: 1;
+}
+
.first-run-scanline {
position: absolute;
inset: 0 0 auto;
@@ -60,10 +80,10 @@
background: linear-gradient(
90deg,
transparent,
- rgba(54, 220, 255, 0.8),
+ rgba(48, 194, 224, 0.8),
transparent
);
- box-shadow: 0 0 1rem rgba(54, 220, 255, 0.45);
+ box-shadow: 0 0 1rem rgba(48, 194, 224, 0.45);
pointer-events: none;
}
@@ -81,7 +101,7 @@
}
.first-run-kicker {
- color: rgba(54, 220, 255, 0.86);
+ color: rgba(48, 194, 224, 0.86);
}
#first-run-launcher h2 {
@@ -102,8 +122,9 @@
.first-run-choices {
display: grid;
- gap: 0.42rem;
- margin-top: 1rem;
+ gap: 1rem;
+ margin-top: 1.1rem;
+ padding-inline-end: 0.2rem;
/* The one part of the card allowed to scroll when the viewport is too short.
min-height:0 is what actually lets this flex child shrink below its content. */
min-height: 0;
@@ -115,94 +136,1405 @@
scrollbar-gutter: stable;
}
-.first-run-choices button {
+.first-run-section {
display: grid;
- grid-template-columns: 1.7rem 1fr 1.3rem;
+ gap: 0.5rem;
+}
+
+/* A numbered rule: label, then a hairline to the edge. */
+.first-run-section-title {
+ display: flex;
align-items: center;
- gap: 0.7rem;
- width: 100%;
- min-height: 3.55rem;
- padding: 0.6rem 0.7rem;
+ gap: 0.6rem;
+ margin: 0;
+ color: rgba(171, 210, 220, 0.6);
+ font-family: var(--font-mono);
+ font-size: 0.56rem;
+ font-weight: 500;
+ letter-spacing: 0.14rem;
+ text-transform: uppercase;
+}
+
+.first-run-section-title::after {
+ content: '';
+ flex: 1;
+ height: 1px;
+ background: rgba(100, 200, 220, 0.16);
+}
+
+.first-run-tag {
+ padding: 0.08rem 0.4rem;
+ color: rgba(48, 194, 224, 0.86);
+ font-family: var(--font-mono);
+ font-size: 0.5rem;
+ font-weight: 500;
+ letter-spacing: 0.08rem;
+ text-transform: uppercase;
+ border: 1px solid rgba(48, 194, 224, 0.38);
+ border-radius: 999px;
+ white-space: nowrap;
+}
+
+.first-run-tag--soon {
+ color: rgba(199, 225, 231, 0.55);
+ border-color: rgba(199, 225, 231, 0.22);
+}
+
+/* Shared tile surface: modes, tiers, missions and link cards. */
+.first-run-mode,
+.first-run-missions button,
+.first-run-link-card {
color: rgba(225, 244, 248, 0.92);
- text-align: start;
background: rgba(29, 69, 81, 0.18);
border: 1px solid rgba(100, 200, 220, 0.18);
- border-radius: 0.42rem;
+ border-radius: 0.5rem;
+}
+
+/* ── 1 · Mode ── */
+.first-run-modes {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 0.6rem;
+}
+
+.first-run-mode {
+ position: relative;
+ display: grid;
+ grid-template-columns: 7.5rem 1fr;
+ gap: 0.85rem;
+ padding: 0.7rem 2.2rem 0.7rem 0.7rem;
+}
+
+.first-run-mode[data-first-run-mode='god'] {
+ background: rgba(25, 151, 178, 0.14);
+ border-color: rgba(48, 194, 224, 0.62);
+ box-shadow: 0 0 1.4rem rgba(0, 212, 255, 0.08);
+}
+
+.first-run-mode[data-first-run-mode='analyst'] {
+ opacity: 0.55;
+}
+
+.first-run-radio {
+ position: absolute;
+ top: 0.7rem;
+ right: 0.7rem;
+ width: 0.85rem;
+ height: 0.85rem;
+ border: 1px solid rgba(199, 225, 231, 0.45);
+ border-radius: 50%;
+}
+
+.first-run-mode[data-first-run-mode='god'] .first-run-radio {
+ border-color: #30c2e0;
+ box-shadow: inset 0 0 0 0.2rem rgba(7, 17, 25, 0.96);
+ background: #30c2e0;
+}
+
+.first-run-mode-body,
+.first-run-link-body {
+ display: flex;
+ flex-direction: column;
+ gap: 0.3rem;
+ min-width: 0;
+}
+
+.first-run-mode-title {
+ display: flex;
+ align-items: center;
+ gap: 0.45rem;
+ margin: 0;
+}
+
+.first-run-mode-title strong,
+.first-run-link-body strong,
+.first-run-missions strong {
+ font-family: var(--font-mono);
+ font-size: 0.78rem;
+ font-weight: 600;
+ letter-spacing: 0.04rem;
+}
+
+.first-run-mode-copy {
+ margin: 0;
+ color: rgba(215, 231, 235, 0.66);
+ font-size: 0.68rem;
+ line-height: 1.45;
+}
+
+.first-run-mode-points {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.25rem 0.8rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ color: rgba(199, 225, 231, 0.6);
+ font-size: 0.6rem;
+}
+
+.first-run-mode-points li::before {
+ content: '\2022\00a0';
+ color: rgba(48, 194, 224, 0.7);
+}
+
+/* Drawn previews, so the card needs no image assets. */
+.first-run-preview {
+ position: relative;
+ display: grid;
+ place-items: center;
+ min-height: 5rem;
+ overflow: hidden;
+ border: 1px solid rgba(100, 200, 220, 0.16);
+ border-radius: 0.35rem;
+}
+
+.first-run-preview--god {
+ background:
+ repeating-linear-gradient(
+ 0deg,
+ rgba(48, 194, 224, 0.05) 0 1px,
+ transparent 1px 7px
+ ),
+ #050d14;
+}
+
+.first-run-preview--god i {
+ width: 3.4rem;
+ height: 3.4rem;
+ border: 1px solid rgba(48, 194, 224, 0.75);
+ border-radius: 50%;
+}
+
+.first-run-preview--analyst {
+ background:
+ linear-gradient(rgba(199, 225, 231, 0.08), rgba(199, 225, 231, 0.08)) 0.6rem
+ 0.7rem / 55% 0.3rem no-repeat,
+ linear-gradient(rgba(199, 225, 231, 0.06), rgba(199, 225, 231, 0.06)) 0.6rem
+ 1.3rem / 40% 0.3rem no-repeat,
+ #0b141c;
+}
+
+.first-run-preview--analyst i {
+ position: absolute;
+ inset: auto 0.6rem 0.6rem;
+ height: 1.8rem;
+ background: linear-gradient(
+ 90deg,
+ rgba(199, 225, 231, 0.12) 0 18%,
+ transparent 18% 22%,
+ rgba(199, 225, 231, 0.2) 22% 48%,
+ transparent 48% 52%,
+ rgba(199, 225, 231, 0.1) 52% 100%
+ );
+ border-radius: 0.2rem;
+}
+
+.first-run-preview--stories {
+ width: 4.2rem;
+ min-height: 4.2rem;
+ color: rgba(48, 194, 224, 0.8);
+ background:
+ radial-gradient(
+ circle at 30% 20%,
+ rgba(48, 194, 224, 0.18),
+ transparent 60%
+ ),
+ #071520;
+}
+
+/* ── 2 · Performance (a preview: no setting yet) ── */
+
+.first-run-missions small,
+.first-run-link-body small {
+ color: rgba(198, 220, 226, 0.55);
+ font-size: 0.62rem;
+}
+
+/* ── Start with: where ENTER GOD MODE begins ── */
+.first-run-missions {
+ display: grid;
+ grid-template-columns: repeat(4, minmax(0, 1fr));
+ gap: 0.45rem;
+}
+
+.first-run-missions button {
+ display: grid;
+ grid-template-columns: 1.1rem 1fr;
+ align-items: start;
+ gap: 0.45rem;
+ width: 100%;
+ min-height: 0;
+ padding: 0.45rem 0.55rem;
+ text-align: start;
cursor: pointer;
transition:
background var(--transition-fast),
- border-color var(--transition-fast),
- transform var(--transition-fast);
+ border-color var(--transition-fast);
}
-.first-run-choices button:hover,
-.first-run-choices button:focus-visible {
+.first-run-missions button > span:nth-child(2) {
+ display: flex;
+ flex-direction: column;
+ gap: 0.15rem;
+ min-width: 0;
+}
+
+.first-run-missions strong {
+ font-size: 0.6rem;
+ letter-spacing: 0.07rem;
+}
+
+.first-run-missions small {
+ font-size: 0.56rem;
+ line-height: 1.3;
+}
+
+.first-run-missions button > .material-symbols-outlined:first-child {
+ color: rgba(85, 223, 245, 0.75);
+ font-size: 1rem;
+}
+
+/* The selected start: what ENTER GOD MODE will run. */
+.first-run-missions button[aria-pressed='true'] {
+ background: rgba(25, 151, 178, 0.18);
+ border-color: rgba(48, 194, 224, 0.75);
+ box-shadow: inset 0 0 0 1px rgba(48, 194, 224, 0.35);
+}
+
+.first-run-missions
+ button[aria-pressed='true']
+ > .material-symbols-outlined:first-child {
+ color: #4bc4d8;
+}
+
+.first-run-missions button:hover,
+.first-run-missions button:focus-visible,
+a.first-run-link-card:hover,
+a.first-run-link-card:focus-visible {
background: rgba(25, 151, 178, 0.16);
- border-color: rgba(54, 220, 255, 0.62);
+ border-color: rgba(48, 194, 224, 0.62);
outline: none;
- transform: translateX(2px);
}
/* aria-disabled, not :disabled — the JS keeps the buttons focusable while a
mission runs so the keyboard is never dumped out of the launcher mid-flight. */
-.first-run-choices button[aria-disabled='true'] {
+.first-run-missions button[aria-disabled='true'],
+.first-run-enter[aria-disabled='true'] {
cursor: wait;
opacity: 0.48;
- transform: none;
pointer-events: none;
}
-.first-run-choices button > .material-symbols-outlined:first-child {
+/* ── Link cards: Stories, source, more ── */
+.first-run-link-card {
+ display: flex;
+ align-items: center;
+ gap: 0.75rem;
+ padding: 0.6rem 0.7rem;
+ text-decoration: none;
+}
+
+.first-run-link-body {
+ flex: 1;
+}
+
+.first-run-stories {
+ padding: 0.7rem;
+ background:
+ repeating-linear-gradient(
+ 135deg,
+ rgba(48, 194, 224, 0.035) 0 0.5rem,
+ transparent 0.5rem 1rem
+ ),
+ rgba(29, 69, 81, 0.18);
+ border-color: rgba(48, 194, 224, 0.34);
+}
+
+.first-run-link-row {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 0.6rem;
+}
+
+.first-run-link-card--quiet {
+ border-style: dashed;
+ background: rgba(255, 255, 255, 0.02);
+ transition:
+ background var(--transition-fast),
+ border-color var(--transition-fast);
+}
+
+.first-run-link-badge {
+ display: grid;
+ flex: none;
+ place-items: center;
+ width: 2rem;
+ height: 2rem;
+ color: rgba(48, 194, 224, 0.85);
+ font-family: var(--font-mono);
+ font-size: 0.6rem;
+ border: 1px solid rgba(100, 200, 220, 0.25);
+ border-radius: 0.35rem;
+}
+
+.first-run-link-badge.material-symbols-outlined {
+ font-size: 1.05rem;
+}
+
+.first-run-link-button {
+ flex: none;
+ padding: 0.42rem 0.7rem;
+ color: rgba(225, 244, 248, 0.92);
+ background: transparent;
+ cursor: pointer;
+ font-family: var(--font-mono);
+ font-size: 0.58rem;
+ letter-spacing: 0.1rem;
+ text-decoration: none;
+ white-space: nowrap;
+ border: 1px solid rgba(48, 194, 224, 0.5);
+ border-radius: 0.35rem;
+ transition:
+ background var(--transition-fast),
+ border-color var(--transition-fast);
+}
+
+.first-run-link-button:not([aria-disabled='true']):hover,
+.first-run-link-button:focus-visible {
+ background: rgba(25, 151, 178, 0.2);
+ border-color: #30c2e0;
+ outline: none;
+}
+
+.first-run-link-button[aria-disabled='true'] {
+ color: rgba(199, 225, 231, 0.5);
+ border-color: rgba(199, 225, 231, 0.2);
+ cursor: default;
+}
+
+/* ── The main action ── */
+.first-run-enter {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.5rem;
+ padding: 0.62rem 1rem;
+ color: #031018;
+ font-family: var(--font-mono);
+ font-size: 0.66rem;
+ font-weight: 600;
+ letter-spacing: 0.12rem;
+ text-transform: none;
+ background: #30c2e0;
+ border: 1px solid #30c2e0;
+ border-radius: 0.4rem;
+ box-shadow: 0 0 1.4rem rgba(48, 194, 224, 0.25);
+ cursor: pointer;
+ transition:
+ background var(--transition-fast),
+ box-shadow var(--transition-fast);
+}
+
+.first-run-enter .material-symbols-outlined {
+ font-size: 1rem;
+}
+
+.first-run-enter:hover,
+.first-run-enter:focus-visible {
+ background: #6bcde0;
+ box-shadow: 0 0 1.8rem rgba(48, 194, 224, 0.45);
+ outline: 2px solid rgba(48, 194, 224, 0.5);
+ outline-offset: 2px;
+}
+
+/* ── Compact rows: everything below the mode choice stays short, so the card
+ fits its band without scrolling. ── */
+
+/* Start with: chips. The description stays in the accessible name. */
+.first-run-missions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.4rem;
+}
+
+.first-run-missions button {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.4rem;
+ width: auto;
+ padding: 0.32rem 0.75rem 0.32rem 0.55rem;
+ border-radius: 999px;
+}
+
+.first-run-missions button > span:nth-child(2) {
+ display: inline;
+}
+
+.first-run-missions small {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ clip-path: inset(50%);
+ white-space: nowrap;
+}
+
+.first-run-missions strong {
+ font-size: 0.58rem;
+ white-space: nowrap;
+}
+
+.first-run-missions button > .material-symbols-outlined:first-child {
+ font-size: 0.95rem;
+}
+
+/* Tiers: one line each. */
+
+/* Link cards: one line of copy, smaller badges. */
+.first-run-section {
+ gap: 0.4rem;
+}
+
+.first-run-choices {
+ gap: 0.75rem;
+}
+
+.first-run-link-card,
+.first-run-stories {
+ gap: 0.6rem;
+ padding: 0.42rem 0.6rem;
+}
+
+.first-run-link-body {
+ gap: 0.1rem;
+}
+
+.first-run-link-body strong,
+.first-run-link-body .first-run-mode-title strong {
+ font-size: 0.7rem;
+}
+
+.first-run-link-body .first-run-mode-copy,
+.first-run-link-body small {
+ overflow: hidden;
+ font-size: 0.6rem;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.first-run-link-badge {
+ width: 1.6rem;
+ height: 1.6rem;
+}
+
+.first-run-preview--stories {
+ width: 2.6rem;
+ min-height: 2.6rem;
+}
+
+.first-run-link-button {
+ padding: 0.3rem 0.6rem;
+}
+
+/* More from Halfpixel: one-line link chips. */
+.first-run-link-card--quiet {
+ padding: 0.28rem 0.6rem 0.28rem 0.4rem;
+ border-radius: 999px;
+}
+
+.first-run-link-card--quiet small {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ clip-path: inset(50%);
+ white-space: nowrap;
+}
+
+.first-run-link-card--quiet .first-run-link-badge {
+ width: 1.3rem;
+ height: 1.3rem;
+ font-size: 0.5rem;
+ border-radius: 50%;
+}
+
+.first-run-link-card--quiet .first-run-link-body strong {
+ font-size: 0.64rem;
+}
+
+/* Tighter rhythm between sections and in the heading. */
+.first-run-choices {
+ gap: 0.5rem;
+ margin-top: 0.6rem;
+}
+
+.first-run-section {
+ gap: 0.32rem;
+}
+
+.first-run-preview--stories {
+ width: 2.1rem;
+ min-height: 2.1rem;
+}
+
+.first-run-stories .first-run-preview--stories .material-symbols-outlined {
+ font-size: 1.1rem;
+}
+
+#first-run-launcher h2 {
+ margin-top: 0.35rem;
+ font-size: clamp(1.15rem, 2vw, 1.5rem);
+}
+
+#first-run-description {
+ margin-top: 0.2rem;
+ max-width: 40rem;
+}
+
+/* Final trims so the band fits on a 900px-tall window. */
+.first-run-link-card,
+.first-run-stories {
+ padding-block: 0.32rem;
+}
+
+.first-run-link-badge {
+ width: 1.45rem;
+ height: 1.45rem;
+}
+
+.first-run-preview--stories {
+ width: 1.9rem;
+ min-height: 1.9rem;
+}
+
+/* More from Halfpixel: a wrapping row of link chips. */
+.first-run-link-row--chips {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.4rem;
+}
+
+.first-run-link-row--chips .first-run-link-card {
+ flex: 0 0 auto;
+}
+
+/* The sections take the card's spare height, so the footer sits on its
+ bottom edge. */
+.first-run-choices {
+ flex: 1 1 auto;
+}
+
+/* Start with: taller chips. */
+.first-run-missions button {
+ gap: 0.5rem;
+ padding: 0.55rem 1rem 0.55rem 0.75rem;
+}
+
+.first-run-missions strong {
+ font-size: 0.64rem;
+}
+
+.first-run-missions button > .material-symbols-outlined:first-child {
+ font-size: 1.1rem;
+}
+
+/* A near-square card: as wide as the HUD band is tall, but never so narrow
+ that the start chips wrap. Sections may shrink below their content, so
+ long copy truncates instead of clipping. */
+.first-run-choices,
+.first-run-section {
+ grid-template-columns: minmax(0, 1fr);
+}
+
+#first-run-launcher {
+ width: min(
+ 52rem,
+ calc(100vw - 2rem),
+ max(44rem, calc(100vh - max(14vh, 136px) - max(13.5vh, 7.5rem)))
+ );
+ min-width: 0;
+}
+
+.first-run-preview--god i {
+ display: grid;
+ place-items: center;
+}
+
+.first-run-globe {
+ width: 82%;
+ height: 82%;
+ color: rgba(48, 194, 224, 0.55);
+}
+
+/* The globe's meridians are full circles squeezed sideways; a squeeze that
+ cycles reads as the globe turning. Still until God mode is selected. */
+.first-run-meridians ellipse {
+ transform: scaleX(var(--m));
+ transform-box: fill-box;
+ transform-origin: center;
+ vector-effect: non-scaling-stroke;
+}
+
+.first-run-mode[data-first-run-mode='god'] .first-run-meridians ellipse {
+ animation: first-run-globe-turn 6s linear infinite;
+}
+
+.first-run-mode[data-first-run-mode='god']
+ .first-run-meridians
+ ellipse:nth-child(2) {
+ animation-delay: -1.5s;
+}
+
+.first-run-mode[data-first-run-mode='god']
+ .first-run-meridians
+ ellipse:nth-child(3) {
+ animation-delay: -3s;
+}
+
+.first-run-mode[data-first-run-mode='god']
+ .first-run-meridians
+ ellipse:nth-child(4) {
+ animation-delay: -4.5s;
+}
+
+/* One meridian's width over half a turn: |cos| sampled. */
+@keyframes first-run-globe-turn {
+ 0% {
+ transform: scaleX(1);
+ }
+ 12.5% {
+ transform: scaleX(0.92);
+ }
+ 25% {
+ transform: scaleX(0.71);
+ }
+ 37.5% {
+ transform: scaleX(0.38);
+ }
+ 50% {
+ transform: scaleX(0);
+ }
+ 62.5% {
+ transform: scaleX(0.38);
+ }
+ 75% {
+ transform: scaleX(0.71);
+ }
+ 87.5% {
+ transform: scaleX(0.92);
+ }
+ 100% {
+ transform: scaleX(1);
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .first-run-mode[data-first-run-mode='god'] .first-run-meridians ellipse {
+ animation: none;
+ }
+}
+
+/* HUD callouts over the God preview: brackets, an orbit, and two target
+ blips whose leader lines draw out to a label stub, taking turns. They play
+ only while God mode is selected. */
+.first-run-callouts {
+ position: absolute;
+ inset: 0;
+ width: 100%;
+ height: 100%;
+ color: rgba(48, 194, 224, 0.6);
+ pointer-events: none;
+}
+
+.first-run-brackets {
+ opacity: 0.45;
+}
+
+.first-run-orbit {
+ opacity: 0.35;
+ stroke-dasharray: 2 5;
+ transform-box: fill-box;
+ transform-origin: center;
+}
+
+.first-run-blip {
+ fill: currentColor;
+ stroke: none;
+}
+
+.first-run-ping {
+ opacity: 0;
+ transform-box: fill-box;
+ transform-origin: center;
+}
+
+.first-run-leader {
+ stroke-dasharray: 1;
+ stroke-dashoffset: 1;
+}
+
+.first-run-label {
+ opacity: 0;
+ stroke-width: 1.4;
+}
+
+.first-run-callout {
+ opacity: 0;
+}
+
+.first-run-mode[data-first-run-mode='god'] .first-run-orbit {
+ animation: first-run-orbit-turn 24s linear infinite;
+}
+
+.first-run-mode[data-first-run-mode='god'] .first-run-callout {
+ animation: first-run-callout-show 6s ease-in-out infinite;
+}
+
+.first-run-mode[data-first-run-mode='god']
+ .first-run-callout
+ .first-run-leader {
+ animation: first-run-leader-draw 6s ease-out infinite;
+}
+
+.first-run-mode[data-first-run-mode='god'] .first-run-callout .first-run-label {
+ animation: first-run-label-show 6s ease-out infinite;
+}
+
+.first-run-mode[data-first-run-mode='god'] .first-run-callout .first-run-ping {
+ animation: first-run-ping 6s ease-out infinite;
+}
+
+.first-run-mode[data-first-run-mode='god'] .first-run-callout--b,
+.first-run-mode[data-first-run-mode='god'] .first-run-callout--b * {
+ animation-delay: -3s;
+}
+
+@keyframes first-run-orbit-turn {
+ to {
+ transform: rotate(360deg);
+ }
+}
+
+@keyframes first-run-callout-show {
+ 0%,
+ 45%,
+ 100% {
+ opacity: 0;
+ }
+ 5%,
+ 40% {
+ opacity: 1;
+ }
+}
+
+@keyframes first-run-leader-draw {
+ 0%,
+ 5% {
+ stroke-dashoffset: 1;
+ }
+ 18%,
+ 100% {
+ stroke-dashoffset: 0;
+ }
+}
+
+@keyframes first-run-label-show {
+ 0%,
+ 18% {
+ opacity: 0;
+ }
+ 24%,
+ 100% {
+ opacity: 1;
+ }
+}
+
+@keyframes first-run-ping {
+ 0%,
+ 5% {
+ opacity: 0.9;
+ transform: scale(1);
+ }
+ 25%,
+ 100% {
+ opacity: 0;
+ transform: scale(4);
+ }
+}
+
+/* Reduced motion: the callouts stand still, fully drawn. The parts are
+ named as specifically as their animation rules above, or those would win. */
+@media (prefers-reduced-motion: reduce) {
+ .first-run-mode[data-first-run-mode='god'] .first-run-orbit,
+ .first-run-mode[data-first-run-mode='god'] .first-run-callout,
+ .first-run-mode[data-first-run-mode='god'] .first-run-callout *,
+ .first-run-mode[data-first-run-mode='god']
+ .first-run-callout
+ :is(.first-run-leader, .first-run-label, .first-run-ping) {
+ animation: none;
+ }
+ .first-run-mode[data-first-run-mode='god']
+ .first-run-callout
+ .first-run-ping {
+ opacity: 0;
+ }
+ .first-run-mode[data-first-run-mode='god'] .first-run-callout,
+ .first-run-mode[data-first-run-mode='god'] .first-run-label {
+ opacity: 1;
+ }
+ .first-run-mode[data-first-run-mode='god'] .first-run-leader {
+ stroke-dashoffset: 0;
+ }
+}
+
+/* Callout tooltips: on hover or keyboard focus a leader line grows up from
+ the control, then a HUD label opens out of it. The text describes a chip
+ that shows only its name; it is visual only (see ::after), so the chip's
+ accessible name stays its visible name. */
+#first-run-launcher [data-callout] {
+ position: relative;
+}
+
+#first-run-launcher [data-callout]::before,
+#first-run-launcher [data-callout]::after {
+ position: absolute;
+ z-index: 3;
+ pointer-events: none;
+}
+
+#first-run-launcher [data-callout]::before {
+ content: '';
+ bottom: 100%;
+ inset-inline-start: 1.1rem;
+ width: 1px;
+ height: 0.7rem;
+ background: rgba(48, 194, 224, 0.8);
+ transform: scaleY(0);
+ transform-origin: bottom;
+ transition: transform 140ms ease-out;
+}
+
+#first-run-launcher [data-callout]::after {
+ /* Visual only: the empty alternative keeps the callout out of the link's
+ accessible name. Browsers without alt text for generated content drop the
+ second declaration and fall back to the first. */
+ content: attr(data-callout);
+ content: attr(data-callout) / '';
+ bottom: calc(100% + 0.7rem);
+ inset-inline-start: 0.5rem;
+ padding: 0.28rem 0.5rem;
+ color: rgba(225, 244, 248, 0.95);
+ font-family: var(--font-mono);
+ font-size: 0.56rem;
+ font-weight: 400;
+ letter-spacing: 0.04rem;
+ text-transform: none;
+ /* Long descriptions wrap rather than run past the card on a narrow window. */
+ width: max-content;
+ max-width: min(15rem, var(--first-run-callout-max, 15rem));
+ box-sizing: border-box;
+ white-space: normal;
+ background: rgba(5, 14, 20, 0.94);
+ border: 1px solid rgba(48, 194, 224, 0.5);
+ border-radius: 3px;
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
+ opacity: 0;
+ clip-path: inset(0 100% 0 0);
+ transition:
+ clip-path 200ms 120ms ease-out,
+ opacity 80ms 120ms linear;
+}
+
+#first-run-launcher [data-callout]:hover::before,
+#first-run-launcher [data-callout]:focus-visible::before {
+ transform: scaleY(1);
+}
+
+/* A chip near the far edge opens its callout toward the card instead, so the
+ label is not cut off by the scrolling list (WelcomeView sets the flag). */
+#first-run-launcher [data-callout][data-callout-align='end']::before {
+ inset-inline-start: auto;
+ inset-inline-end: 1.1rem;
+}
+
+#first-run-launcher [data-callout][data-callout-align='end']::after {
+ inset-inline-start: auto;
+ inset-inline-end: 0.5rem;
+}
+
+#first-run-launcher [data-callout]:hover::after,
+#first-run-launcher [data-callout]:focus-visible::after {
+ opacity: 1;
+ clip-path: inset(0);
+}
+
+@media (prefers-reduced-motion: reduce) {
+ #first-run-launcher [data-callout]::before,
+ #first-run-launcher [data-callout]::after {
+ transition: none;
+ }
+}
+
+/* No hover on touch screens: the callouts would only flash on tap. */
+@media (hover: none) {
+ #first-run-launcher [data-callout]::before,
+ #first-run-launcher [data-callout]::after {
+ display: none;
+ }
+}
+
+/* Selection reads in orange: the chosen mode and the chosen start. */
+.first-run-mode[data-first-run-mode='god'],
+.first-run-missions button[aria-pressed='true'] {
+ border-color: rgba(255, 159, 67, 0.85);
+ box-shadow: inset 0 0 0 1px rgba(255, 159, 67, 0.3);
+}
+
+.first-run-mode[data-first-run-mode='god'] .first-run-radio {
+ border-color: #ff9f43;
+ background: #ff9f43;
+}
+
+/* A mini timeline under the globe: the playhead sweeps the track and the
+ played part lights up behind it. Paused partway while not selected. */
+.first-run-time-track,
+.first-run-time-ticks {
+ opacity: 0.35;
+}
+
+.first-run-time-played {
+ stroke-width: 1.4;
+ transform: scaleX(0.4);
+ transform-box: fill-box;
+ transform-origin: left center;
+}
+
+.first-run-time-head {
+ transform: translateX(27.2px);
+}
+
+.first-run-time-head path {
+ fill: currentColor;
+ stroke: none;
+}
+
+.first-run-mode[data-first-run-mode='god'] .first-run-time-played {
+ animation: first-run-time-played 8s linear infinite;
+}
+
+.first-run-mode[data-first-run-mode='god'] .first-run-time-head {
+ animation: first-run-time-head 8s linear infinite;
+}
+
+@keyframes first-run-time-played {
+ from {
+ transform: scaleX(0);
+ }
+ to {
+ transform: scaleX(1);
+ }
+}
+
+@keyframes first-run-time-head {
+ from {
+ transform: translateX(0);
+ }
+ to {
+ transform: translateX(68px);
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .first-run-mode[data-first-run-mode='god'] .first-run-time-played,
+ .first-run-mode[data-first-run-mode='god'] .first-run-time-head {
+ animation: none;
+ }
+}
+
+/* The accent rests dimmed and lights up to full cyan on hover or focus. */
+.first-run-missions button:hover,
+.first-run-missions button:focus-visible,
+a.first-run-link-card:hover,
+a.first-run-link-card:focus-visible {
+ border-color: rgba(54, 220, 255, 0.62);
+}
+
+.first-run-missions button:hover > .material-symbols-outlined:first-child,
+.first-run-missions
+ button:focus-visible
+ > .material-symbols-outlined:first-child,
+a.first-run-link-card:hover .first-run-link-badge,
+a.first-run-link-card:focus-visible .first-run-link-badge {
color: #55dff5;
+}
+
+.first-run-link-button:not([aria-disabled='true']):hover,
+.first-run-link-button:focus-visible {
+ color: #e1f4f8;
+ border-color: #36dcff;
+}
+
+.first-run-enter:hover,
+.first-run-enter:focus-visible {
+ background: #36dcff;
+ border-color: #36dcff;
+ box-shadow: 0 0 1.4rem rgba(54, 220, 255, 0.35);
+ outline-color: rgba(54, 220, 255, 0.5);
+}
+
+#first-run-launcher [data-callout]:hover::before,
+#first-run-launcher [data-callout]:focus-visible::before {
+ background: rgba(54, 220, 255, 0.85);
+}
+
+#first-run-launcher [data-callout]:hover::after,
+#first-run-launcher [data-callout]:focus-visible::after {
+ border-color: rgba(54, 220, 255, 0.55);
+}
+
+/* A selected chip keeps its orange border on hover. */
+.first-run-missions button[aria-pressed='true']:hover,
+.first-run-missions button[aria-pressed='true']:focus-visible {
+ border-color: rgba(255, 159, 67, 0.85);
+}
+
+/* ── Steps ── */
+.first-run-header {
+ position: relative;
+}
+
+.first-run-dots {
+ position: absolute;
+ left: 50%;
+ display: flex;
+ gap: 0.4rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ transform: translateX(-50%);
+}
+
+/* The dots sit centred over the row, outside its flow, so the kicker and
+ Skip each keep to their own half: a long locale wraps instead of running
+ under the dots. (At 620px and below the dots join the flow.) */
+@media (min-width: 621px) {
+ .first-run-kicker,
+ .first-run-dismiss {
+ max-width: calc(50% - 2.4rem);
+ }
+}
+
+.first-run-dots li {
+ width: 0.45rem;
+ height: 0.45rem;
+ background: rgba(199, 225, 231, 0.18);
+ border-radius: 999px;
+ transition:
+ width 220ms ease,
+ background 220ms ease;
+}
+
+.first-run-dots li.done {
+ background: rgba(48, 194, 224, 0.45);
+}
+
+.first-run-dots li.on {
+ width: 1.4rem;
+ background: #30c2e0;
+}
+
+.first-run-step {
+ display: grid;
+ gap: 0.9rem;
+ align-content: start;
+}
+
+/* Steps slide sideways: forward to the left, back to the right. */
+.first-run-step-forward-enter-active,
+.first-run-step-forward-leave-active,
+.first-run-step-back-enter-active,
+.first-run-step-back-leave-active {
+ transition:
+ opacity 180ms ease,
+ transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
+}
+
+.first-run-step-forward-enter-from,
+.first-run-step-back-leave-to {
+ opacity: 0;
+ transform: translateX(var(--first-run-step-offset));
+}
+
+.first-run-step-forward-leave-to,
+.first-run-step-back-enter-from {
+ opacity: 0;
+ transform: translateX(calc(-1 * var(--first-run-step-offset)));
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .first-run-step-forward-enter-from,
+ .first-run-step-forward-leave-to,
+ .first-run-step-back-enter-from,
+ .first-run-step-back-leave-to {
+ transform: none;
+ }
+}
+
+/* Step 1: the mode tiles get the room the other sections used to take. */
+.first-run-step .first-run-modes .first-run-mode {
+ grid-template-columns: 9.5rem 1fr;
+ padding-block: 0.9rem;
+}
+
+.first-run-step .first-run-preview--god,
+.first-run-step .first-run-preview--analyst {
+ min-height: 9rem;
+}
+
+.first-run-step .first-run-mode-copy {
+ font-size: 0.74rem;
+}
+
+/* Step 2: the start options as tiles, descriptions shown. */
+.first-run-missions--tiles {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 0.6rem;
+}
+
+.first-run-missions--tiles button {
+ display: grid;
+ grid-template-columns: 1.6rem 1fr;
+ align-items: start;
+ gap: 0.7rem;
+ padding: 0.9rem 1rem;
+ border-radius: 0.5rem;
+}
+
+.first-run-missions--tiles button:last-child:nth-child(odd) {
+ /* An odd last tile takes the whole row, so three tiles read as a balanced
+ pair plus the default, not as a gap. One column on a phone already. */
+ grid-column: 1 / -1;
+}
+
+.first-run-missions--tiles button > span:nth-child(2) {
+ display: flex;
+ flex-direction: column;
+ gap: 0.3rem;
+}
+
+.first-run-missions--tiles strong {
+ font-size: 0.72rem;
+ white-space: normal;
+ overflow-wrap: anywhere;
+}
+
+.first-run-missions--tiles small {
+ position: static;
+ width: auto;
+ height: auto;
+ overflow: visible;
+ clip-path: none;
+ white-space: normal;
+ font-size: 0.66rem;
+ line-height: 1.4;
+}
+
+.first-run-missions--tiles button > .material-symbols-outlined:first-child {
font-size: 1.35rem;
}
-.first-run-choices button > span:nth-child(2) {
+/* Step 3: three tips, each with a small looping sketch. */
+.first-run-tips {
+ display: grid;
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+ gap: 0.6rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.first-run-tip {
display: flex;
flex-direction: column;
- gap: 0.15rem;
+ gap: 0.35rem;
+ padding: 0.85rem;
+ background: rgba(29, 69, 81, 0.18);
+ border: 1px solid rgba(100, 200, 220, 0.18);
+ border-radius: 0.5rem;
}
-.first-run-choices strong {
+.first-run-tip strong {
font-family: var(--font-mono);
- font-size: 0.72rem;
- font-weight: 600;
- letter-spacing: 0.08rem;
+ font-size: 0.7rem;
+ letter-spacing: 0.05rem;
}
-.first-run-choices small {
- color: rgba(198, 220, 226, 0.55);
- font-size: 0.66rem;
+.first-run-tip small {
+ color: rgba(198, 220, 226, 0.6);
+ font-size: 0.64rem;
+ line-height: 1.4;
}
-.first-run-arrow {
- color: rgba(54, 220, 255, 0.4);
- font-size: 1rem;
- transition:
- transform var(--transition-fast),
- color var(--transition-fast);
+.first-run-tip-art {
+ position: relative;
+ display: grid;
+ place-items: center;
+ height: 3.2rem;
+ margin-bottom: 0.2rem;
+ color: rgba(48, 194, 224, 0.85);
+ background: #050d14;
+ border: 1px solid rgba(100, 200, 220, 0.14);
+ border-radius: 0.35rem;
}
-.first-run-choices button:hover .first-run-arrow,
-.first-run-choices button:focus-visible .first-run-arrow {
- color: rgba(54, 220, 255, 0.9);
- transform: translateX(2px);
+.first-run-tip-art .material-symbols-outlined {
+ font-size: 1.4rem;
}
-/* Ordered after the shared button rule rather than shouting !important at it. */
-.first-run-choices button.first-run-explore {
- background: rgba(255, 255, 255, 0.025);
+/* Search: a caret blinks after the glass. */
+.first-run-tip-caret {
+ position: absolute;
+ left: calc(50% + 1rem);
+ width: 1px;
+ height: 0.9rem;
+ background: currentColor;
+ animation: first-run-caret 1s steps(1) infinite;
+}
+
+/* Layers: a dot switches on and off beside the stack. */
+.first-run-tip-dot {
+ position: absolute;
+ left: calc(50% + 1rem);
+ top: calc(50% - 0.6rem);
+ width: 0.4rem;
+ height: 0.4rem;
+ background: #ff9f43;
+ border-radius: 50%;
+ animation: first-run-dot 2.4s ease-in-out infinite;
+}
+
+/* Click: a ring ripples out from the target. */
+.first-run-tip-ring {
+ position: absolute;
+ width: 1.2rem;
+ height: 1.2rem;
+ border: 1px solid currentColor;
+ border-radius: 50%;
+ animation: first-run-ring 1.8s ease-out infinite;
+}
+
+@keyframes first-run-caret {
+ 50% {
+ opacity: 0;
+ }
+}
+
+@keyframes first-run-dot {
+ 0%,
+ 40% {
+ opacity: 0.15;
+ transform: scale(0.7);
+ }
+ 50%,
+ 90% {
+ opacity: 1;
+ transform: scale(1);
+ }
+}
+
+@keyframes first-run-ring {
+ from {
+ opacity: 0.9;
+ transform: scale(0.6);
+ }
+ to {
+ opacity: 0;
+ transform: scale(2.4);
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .first-run-tip-caret,
+ .first-run-tip-dot,
+ .first-run-tip-ring {
+ animation: none;
+ }
+}
+
+/* Footer: Back sits before the main action. */
+.first-run-back {
+ padding: 0.5rem 0.9rem;
+ color: rgba(199, 225, 231, 0.75);
+ font-family: var(--font-mono);
+ font-size: 0.62rem;
+ letter-spacing: 0.12rem;
+ background: none;
+ border: 1px solid rgba(199, 225, 231, 0.2);
+ border-radius: 0.4rem;
+ cursor: pointer;
+}
+
+.first-run-back:hover,
+.first-run-back:focus-visible {
+ color: #e1f4f8;
+ border-color: rgba(54, 220, 255, 0.6);
+}
+
+/* Each step is short, so the card fits its content: its top stays on the
+ HUD band, and it may grow at most to the band's bottom. */
+#first-run-launcher {
+ bottom: auto;
+ max-height: calc(100vh - max(14vh, 136px) - max(13.5vh, 7.5rem));
+ max-height: calc(100dvh - max(14vh, 136px) - max(13.5vh, 7.5rem));
+}
+
+.first-run-choices {
+ flex: 0 1 auto;
+}
+
+.first-run-step .first-run-modes .first-run-mode {
+ grid-template-columns: 8rem 1fr;
+}
+
+.first-run-mode-title {
+ flex-wrap: wrap;
+ row-gap: 0.25rem;
+}
+
+/* One footer row: checkbox, status line, main action. */
+.first-run-footer .first-run-note {
+ flex: 1;
+ min-width: 0;
+ min-height: 0;
+ margin: 0;
+ display: -webkit-box;
+ overflow: hidden;
+ font-size: 0.56rem;
+ line-height: 1.35;
+ text-align: center;
+ text-transform: none;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
+ line-clamp: 2;
+}
+
+.first-run-footer .first-run-enter {
+ padding: 0.5rem 0.9rem;
}
.first-run-footer {
- margin-top: 0.85rem;
+ margin-top: 0.55rem;
+ padding-top: 0.55rem;
+ border-top: 1px solid rgba(100, 200, 220, 0.14);
font-size: 0.48rem;
letter-spacing: 0.055rem;
}
.first-run-dismiss {
position: relative;
- padding: 0 0 0 0.75rem;
+ padding: 0;
+ padding-inline-start: 0.75rem;
border: 0;
background: none;
color: inherit;
@@ -212,7 +1544,7 @@
cursor: pointer;
}
-/* A 44px touch target drawn outside the layout, so the footer row keeps the
+/* A 44px touch target drawn outside the layout, so the header row keeps the
height of its one line of text; a 44px button box would nearly treble it. */
.first-run-dismiss::before {
content: '';
@@ -226,7 +1558,7 @@
.first-run-dismiss:hover,
.first-run-dismiss:focus-visible {
- color: rgba(54, 220, 255, 0.86);
+ color: rgba(48, 194, 224, 0.86);
}
.first-run-dismiss-touch {
@@ -258,7 +1590,7 @@
width: 0.82rem;
height: 0.82rem;
margin: 0;
- accent-color: #36dcff;
+ accent-color: #30c2e0;
cursor: pointer;
}
@@ -270,7 +1602,7 @@
and reserves its height — otherwise the card resizes as it speaks. */
.first-run-note {
min-height: 1.1rem;
- margin-top: 0.5rem;
+ margin-top: 0.35rem;
color: rgba(199, 225, 231, 0.62);
font-family: var(--font-mono);
font-size: 0.62rem;
@@ -278,7 +1610,7 @@
}
#first-run-launcher[data-state='loading'] .first-run-note {
- color: rgba(54, 220, 255, 0.85);
+ color: rgba(48, 194, 224, 0.85);
}
/* Every surface that claims the screen hides the launcher. This list is the CSS
@@ -293,10 +1625,22 @@ body.scene-playback-mode #first-run-launcher {
display: none;
}
+body.ui-clean-view .first-run-backdrop,
+body.recording-mode .first-run-backdrop,
+body.cockpit-mode .first-run-backdrop,
+body.scene-playback-mode .first-run-backdrop {
+ display: none;
+}
+
@media (max-width: 620px) {
#first-run-launcher {
top: auto;
bottom: 5.8rem;
+ width: calc(100vw - 2rem);
+ min-width: 0;
+ /* Sits above the dock, so it may only use the height above it. */
+ max-height: calc(100vh - 6.55rem);
+ max-height: calc(100dvh - 6.55rem);
padding: 0.9rem;
transform: translate(-50%, 0.8rem) scale(0.985);
}
@@ -304,9 +1648,9 @@ body.scene-playback-mode #first-run-launcher {
#first-run-launcher.visible {
transform: translate(-50%, 0) scale(1);
}
- /* Five tiles have to clear the dock on a 375 x 812 phone, so the rows
- tighten. The dismiss button stays: it is the only way to close the card
- without choosing a mission on a phone, which has no ESC key. */
+ /* The card has to clear the dock on a 375 x 812 phone, so the sections
+ stack into one column and scroll. The dismiss button stays: it is the only
+ way to close the card without choosing on a phone, which has no ESC key. */
#first-run-launcher h2 {
margin-top: 0.45rem;
}
@@ -317,24 +1661,59 @@ body.scene-playback-mode #first-run-launcher {
.first-run-choices {
margin-top: 0.75rem;
}
- .first-run-choices button {
- min-height: 3rem;
- padding: 0.45rem 0.6rem;
+ .first-run-modes,
+ .first-run-link-row {
+ grid-template-columns: minmax(0, 1fr);
}
- .first-run-choices small {
- font-size: 0.62rem;
+ .first-run-missions {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ }
+ /* A phone has no room for drawn previews: the choices that work come
+ first. */
+ .first-run-mode {
+ grid-template-columns: minmax(0, 1fr);
+ }
+ .first-run-preview {
+ display: none;
+ }
+ .first-run-footer {
+ flex-wrap: wrap;
+ }
+ .first-run-enter {
+ flex: 1 0 100%;
+ justify-content: center;
+ white-space: nowrap;
+ }
+ /* A status line (a mission that could not open) takes its own row above
+ the buttons instead of a sliver beside the checkbox and BACK. */
+ .first-run-footer .first-run-note:not(:empty) {
+ flex: 1 0 100%;
+ order: -1;
}
}
/* Short viewports — landscape phones, small laptop windows. The chrome tightens
- so the mission list keeps a usable share of the height. The intro line STAYS:
- it is the only copy that says what this thing is, and with four tiles it
- fits. (It was dropped here while there were five; the tile that went is
- exactly why it can come back.) */
+ so the sections keep a usable share of the height. The intro line STAYS: it
+ is the only copy that says what this thing is. */
@media (max-height: 620px) {
+ /* The height cap and bottom edge come from the shell rules at the end of
+ this file; the tighter padding (and the mobile shell's top) stay here. */
#first-run-launcher {
+ top: 0.75rem;
padding: 0.75rem 0.85rem;
}
+ /* As on a phone: no drawn previews, so the choices that work stay within
+ reach. */
+ .first-run-mode {
+ grid-template-columns: minmax(0, 1fr);
+ padding-block: 0.5rem;
+ }
+ .first-run-mode-points {
+ display: none;
+ }
+ .first-run-preview {
+ display: none;
+ }
#first-run-launcher h2 {
margin-top: 0.3rem;
font-size: 1.1rem;
@@ -346,16 +1725,10 @@ body.scene-playback-mode #first-run-launcher {
}
.first-run-choices {
margin-top: 0.55rem;
+ gap: 0.7rem;
}
- .first-run-choices button {
- min-height: 2.7rem;
- padding: 0.36rem 0.6rem;
- }
- .first-run-choices strong {
- font-size: 0.68rem;
- }
- .first-run-choices small {
- font-size: 0.6rem;
+ .first-run-missions button {
+ padding: 0.36rem 0.5rem;
}
.first-run-footer {
margin-top: 0.5rem;
@@ -404,8 +1777,12 @@ body.scene-playback-mode #first-run-launcher {
@media (prefers-reduced-motion: reduce) {
#first-run-launcher,
- .first-run-choices button,
- .first-run-arrow {
+ .first-run-backdrop,
+ .first-run-back,
+ .first-run-missions button,
+ .first-run-link-card,
+ .first-run-link-button,
+ .first-run-enter {
transition: none;
}
/* Scrolling a tile into view must not animate either. */
@@ -413,3 +1790,90 @@ body.scene-playback-mode #first-run-launcher {
scroll-behavior: auto;
}
}
+
+/* Centred on the screen, top to bottom as well as side to side, at its own
+ height (capped so its sections still scroll on short screens). */
+body:not(.mobile-shell) #first-run-launcher {
+ top: 50%;
+ bottom: auto;
+ max-height: calc(100vh - 4rem);
+ max-height: calc(100dvh - 4rem);
+ transform: translate(-50%, calc(-50% + 0.8rem)) scale(0.985);
+}
+
+body:not(.mobile-shell) #first-run-launcher.visible {
+ transform: translate(-50%, -50%) scale(1);
+}
+
+@media (max-width: 620px) {
+ .first-run-dots {
+ position: static;
+ transform: none;
+ }
+ .first-run-tips,
+ .first-run-missions--tiles {
+ grid-template-columns: minmax(0, 1fr);
+ }
+ .first-run-step .first-run-modes .first-run-mode {
+ grid-template-columns: minmax(0, 1fr);
+ }
+}
+
+@media (max-height: 620px) {
+ .first-run-step .first-run-modes .first-run-mode {
+ grid-template-columns: minmax(0, 1fr);
+ padding-block: 0.5rem;
+ }
+ .first-run-missions--tiles {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ }
+ body.mobile-shell #first-run-launcher {
+ bottom: 5.8rem;
+ max-height: calc(100vh - 6.55rem);
+ max-height: calc(100dvh - 6.55rem);
+ }
+}
+.first-run-back[aria-disabled='true'] {
+ opacity: 0.5;
+ cursor: wait;
+}
+@media (prefers-reduced-motion: reduce) {
+ .first-run-dots li {
+ transition: none;
+ }
+}
+[dir='rtl'] #first-run-launcher {
+ --first-run-step-offset: -1.5rem;
+}
+[dir='rtl'] .first-run-enter .material-symbols-outlined {
+ transform: scaleX(-1);
+}
+[dir='rtl'] #first-run-launcher [data-callout]::after {
+ clip-path: inset(0 0 0 100%);
+}
+
+[dir='rtl'] #first-run-launcher [data-callout]:hover::after,
+[dir='rtl'] #first-run-launcher [data-callout]:focus-visible::after {
+ clip-path: inset(0);
+}
+
+.first-run-step-announcement {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
+ overflow: hidden;
+ clip-path: inset(50%);
+ white-space: nowrap;
+ border: 0;
+}
+/* The Stories announcement waits behind onboarding without consuming its
+ unseen state: from startup while the card is pending, through its reveal,
+ until it is removed (not shown this session, or dismissed). It also stays
+ hidden while BROWSE STORIES is loading Stories. */
+body:has(#first-run-launcher) #gev-stories #hPop,
+body.first-run-opening-stories #gev-stories #hPop {
+ visibility: hidden;
+ pointer-events: none;
+}
diff --git a/src/ui/styles/rtl.css b/src/ui/styles/rtl.css
index 91cf97e950..2d0c20ee3e 100644
--- a/src/ui/styles/rtl.css
+++ b/src/ui/styles/rtl.css
@@ -125,16 +125,10 @@ html[dir='rtl'] #command-dock :is(#location-bar, #control-panel) .dock-pin-btn {
}
/* The right rail sits on the left: its expand/collapse arrows point the
- other way, and the start window's "go" arrows point along the reading
- direction. */
-html[dir='rtl'] #right-context-rail .panel-collapse-btn,
-html[dir='rtl'] .first-run-arrow {
+ other way. (The first-run card flips its own arrow in first-run.css.) */
+html[dir='rtl'] #right-context-rail .panel-collapse-btn {
transform: scaleX(-1);
}
-html[dir='rtl'] .first-run-choices button:hover .first-run-arrow,
-html[dir='rtl'] .first-run-choices button:focus-visible .first-run-arrow {
- transform: translateX(-2px) scaleX(-1);
-}
/* The cockpit is an aircraft panel, not page chrome: its windows keep their
physical sides, so the data-layer stack goes back to the left edge instead
diff --git a/src/ui/surfaceKeyboard.js b/src/ui/surfaceKeyboard.js
index 887ae1eb31..e3b5a2c843 100644
--- a/src/ui/surfaceKeyboard.js
+++ b/src/ui/surfaceKeyboard.js
@@ -9,6 +9,10 @@
* @param {() => boolean} options.isActive Whether this surface may handle input now.
* @param {() => void} options.onEscape Caller-owned dismissal action.
* @param {() => HTMLElement} [options.fallbackFocus] Return target if the opener is gone.
+ * @param {boolean} [options.claimOutsideFocus=true] Tab from a control outside
+ * the surface moves into it. False leaves Tab to the page then, for a
+ * surface that does not hold the keyboard (focus that has nowhere to be,
+ * on the page body, still moves in).
* @returns {{activate: Function, deactivate: Function, destroy: Function}}
*/
export function createSurfaceKeyboard({
@@ -17,6 +21,7 @@ export function createSurfaceKeyboard({
isActive,
onEscape,
fallbackFocus,
+ claimOutsideFocus = true,
}) {
let active = false;
let destroyed = false;
@@ -54,6 +59,11 @@ export function createSurfaceKeyboard({
// Allow native scrolling when cycling to an off-screen control in a short
// surface. Initial focus and return focus use the caller's separate policy.
if (!root.contains(focused)) {
+ const lost =
+ !focused ||
+ focused === documentRef.body ||
+ focused === documentRef.documentElement;
+ if (!claimOutsideFocus && !lost) return;
event.preventDefault();
(event.shiftKey ? last : first).focus();
} else if (event.shiftKey && focused === first) {
diff --git a/src/ui/surfaceKeyboard.test.mjs b/src/ui/surfaceKeyboard.test.mjs
index d9b8388cf1..51a6b8238a 100644
--- a/src/ui/surfaceKeyboard.test.mjs
+++ b/src/ui/surfaceKeyboard.test.mjs
@@ -2,7 +2,7 @@ import test from 'node:test';
import assert from 'node:assert/strict';
import { createSurfaceKeyboard } from './surfaceKeyboard.js';
-function fixture() {
+function fixture({ claimOutsideFocus } = {}) {
const listeners = new Set();
const documentRef = {
activeElement: null,
@@ -54,6 +54,7 @@ function fixture() {
isActive: () => visible,
onEscape: () => onEscape(),
fallbackFocus: () => fallback,
+ claimOutsideFocus,
});
opener.focus();
const event = (key, extra = {}) => ({
@@ -134,6 +135,23 @@ test('Tab enters from outside in either direction and wraps only at an edge', ()
);
});
+test('a surface that does not claim outside focus leaves Tab to the page', () => {
+ const f = fixture({ claimOutsideFocus: false });
+ f.controller.activate();
+ // From a control outside (the search bar), Tab follows the page.
+ f.opener.focus();
+ assert.equal(f.send('Tab').defaultPrevented, false);
+ assert.equal(f.send('Tab', { shiftKey: true }).defaultPrevented, false);
+ assert.equal(f.documentRef.activeElement, f.opener);
+ // Focus with nowhere to be still moves in, and wraps inside as before.
+ f.documentRef.activeElement = null;
+ assert.equal(f.send('Tab').defaultPrevented, true);
+ assert.equal(f.documentRef.activeElement, f.first);
+ f.last.focus();
+ f.send('Tab');
+ assert.equal(f.documentRef.activeElement, f.first);
+});
+
test('Tab uses current controls and skips hidden/disabled nodes without changing native middle movement', () => {
const f = fixture();
f.controller.activate();
diff --git a/src/ui/views/WelcomeView.vue b/src/ui/views/WelcomeView.vue
index c4c52fb1ea..395facfb4e 100644
--- a/src/ui/views/WelcomeView.vue
+++ b/src/ui/views/WelcomeView.vue
@@ -1,22 +1,142 @@
-
+
+
- {{ t('Choose your first view') }}
-
- {{ launcher?.description ?? DESCRIPTION }}
+ {{ t(TITLES[step - 1]) }}
+ {{ t(TITLES[step - 1]) }}
+ {{ t(LEADS[step - 1]) }}
-
- {{ launcher?.status ?? FIRST_RUN_TIP }}
+