ui: LOCAL SYSTEM tab shows only the explorable worlds list (v0.2.1)
CI / build + unit + e2e (pull_request) Successful in 3m48s
CI / build + unit + e2e (pull_request) Successful in 3m48s
This commit is contained in:
@@ -70,26 +70,7 @@ const worldMapEdges: NodeGraphEdge[] = [
|
||||
{ from: 'mire', to: 'cinder' },
|
||||
]
|
||||
|
||||
// LOCAL SYSTEM — the current system (regenerated per save after each jump, later).
|
||||
const localSystemNodes: NodeGraphNode[] = [
|
||||
{ id: 'star', label: 'Kepler-442', x: 50, y: 50, status: 'ACTIVE', sublabel: 'G2 STAR' },
|
||||
{ id: 'aurelle', label: 'Aurelle', x: 18, y: 30, status: 'ACTIVE', sublabel: 'TERRESTRIAL' },
|
||||
{ id: 'brimstone', label: 'Brimstone', x: 76, y: 24, status: 'NEUTRAL', sublabel: 'GAS GIANT' },
|
||||
{ id: 'ashfall', label: 'Ashfall', x: 90, y: 52, status: 'WARNING', sublabel: 'MOON' },
|
||||
{ id: 'cinderrock', label: 'Cinderrock', x: 74, y: 80, status: 'NEUTRAL', sublabel: 'ROCKY' },
|
||||
{ id: 'driftband', label: 'Driftband', x: 30, y: 78, status: 'WARNING', sublabel: 'ASTEROID RING' },
|
||||
{ id: 'palemoon', label: 'Palemoon', x: 8, y: 54, status: 'NEUTRAL', sublabel: 'MOON' },
|
||||
]
|
||||
|
||||
const localSystemEdges: NodeGraphEdge[] = [
|
||||
{ from: 'star', to: 'aurelle' },
|
||||
{ from: 'star', to: 'brimstone' },
|
||||
{ from: 'brimstone', to: 'ashfall', label: 'MOON' },
|
||||
{ from: 'star', to: 'cinderrock' },
|
||||
{ from: 'star', to: 'driftband' },
|
||||
{ from: 'aurelle', to: 'palemoon', label: 'MOON' },
|
||||
]
|
||||
|
||||
// LOCAL SYSTEM — explorable worlds of the current system (regenerated per save after each jump, later).
|
||||
const explorablePlanets = [
|
||||
{ name: 'AURELLE', type: 'TERRESTRIAL // OCEAN CONTINENTS', state: 'UNEXPLORED' as const },
|
||||
{ name: 'BRIMSTONE', type: 'GAS GIANT // CLOUD DECKS', state: 'SCANNED' as const },
|
||||
@@ -388,17 +369,7 @@ export function MissionControl() {
|
||||
|
||||
{/* LOCAL SYSTEM TAB */}
|
||||
<TabsContent value="local-system" style={{ margin: 0, padding: '1rem' }}>
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: '0.75rem' }}>
|
||||
<NodeGraph
|
||||
nodes={localSystemNodes}
|
||||
edges={localSystemEdges}
|
||||
variant="ACTIVE"
|
||||
title="KEPLER DRIFT // LOCAL SYSTEM (PLACEHOLDER)"
|
||||
height={280}
|
||||
style={{ width: '100%' }}
|
||||
/>
|
||||
|
||||
<div
|
||||
<div
|
||||
style={{
|
||||
border: '1px solid var(--border)',
|
||||
background: 'var(--surface)',
|
||||
@@ -469,7 +440,6 @@ export function MissionControl() {
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</TabsContent>
|
||||
|
||||
{/* CREW TAB */}
|
||||
|
||||
Reference in New Issue
Block a user