open in View, not Edit

Opening a section is nearly always to LOOK at something — to check what a change did, or to see where
the site stands before deciding anything. Editing is the deliberate act, so it is the one that should
cost a click. Defaulting the other way puts a wall of controls in front of the thing they act on.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-31 02:30:06 +01:00
co-authored by Claude Opus 5
parent 143b34d2d2
commit 3669d2a405
+8 -1
View File
@@ -64,7 +64,14 @@ const ViewModeContext = createContext<ViewModeValue>({
});
export const ViewModeProvider = ({ children }: { children: ReactNode }) => {
const [mode, setMode] = useState<Mode>('edit');
/*
View, not Edit.
Opening a section is nearly always to LOOK at something — to check what a change did, or to see the
state of the site before deciding anything. Editing is the deliberate act, so it is the one that
takes a click. Defaulting the other way puts a wall of controls in front of the thing they act on.
*/
const [mode, setMode] = useState<Mode>('view');
const [device, setDevice] = useState<DeviceName>('desktop');
const [previewable, setPreviewable] = useState(false);