diff --git a/src/ui/PlayPanel.tsx b/src/ui/PlayPanel.tsx
index a151c12..bff01aa 100644
--- a/src/ui/PlayPanel.tsx
+++ b/src/ui/PlayPanel.tsx
@@ -5,6 +5,7 @@ import { EventLog } from './EventLog';
import { ResourceBar } from './ResourceBar';
export function PlayPanel() {
+ const showEventLog = useGameStore((s) => s.prefs.showEventLog);
const columns = useGameStore((s) => s.actionColumns).filter(
(col) => col.groups.length > 0 && col.groups.some((g) => g.actions.length > 0),
);
@@ -55,9 +56,11 @@ export function PlayPanel() {
) : null}
-
-
-
+ {showEventLog && (
+
+
+
+ )}
);
}
diff --git a/src/ui/RightRail.tsx b/src/ui/RightRail.tsx
index 453fc04..30da995 100644
--- a/src/ui/RightRail.tsx
+++ b/src/ui/RightRail.tsx
@@ -1,18 +1,47 @@
+import { useState } from 'react';
+import { useGameStore } from '../state/store';
import { EventLog } from './EventLog';
import { ResourceBar } from './ResourceBar';
export function RightRail() {
+ const showEventLog = useGameStore((s) => s.prefs.showEventLog);
+ const [logOpen, setLogOpen] = useState(true);
+
return (
+ {/* Resources */}
Resources
-
-
+
+ {/* Inventory placeholder */}
+
+
+ Inventory
+
+
Items coming soon.
+
+ {/* Event log — gated by pref, collapsible via local state */}
+ {showEventLog && (
+
+
+ {logOpen && }
+
+ )}
);
}
diff --git a/src/ui/SettingsPanel.tsx b/src/ui/SettingsPanel.tsx
index 6080a1e..b23a942 100644
--- a/src/ui/SettingsPanel.tsx
+++ b/src/ui/SettingsPanel.tsx
@@ -80,6 +80,23 @@ export function SettingsPanel() {
})}
+ {/* Show event log */}
+
+
+
);