Comprehensive UX polish: fix 19 friction points across all pages
CI / build-and-push (push) Successful in 33s
CI / build-and-push (push) Successful in 33s
Addresses broken interactions (notification bell, browser dialogs), missing feedback states (disabled buttons, pricing changes, paused indicator), unclear affordances (research queue, model tuning, funding requirements), and navigation gaps (hash routing, keyboard shortcuts, clickable dashboard cards, sidebar grouping, tutorial hints). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -45,6 +45,7 @@ interface Actions {
|
||||
setActivePage: (page: ActivePage) => void;
|
||||
addNotification: (n: Omit<GameNotification, 'id' | 'read'>) => void;
|
||||
dismissNotification: (id: string) => void;
|
||||
markAllNotificationsRead: () => void;
|
||||
startNewGame: (companyName: string) => void;
|
||||
setGameSpeed: (speed: GameSpeed) => void;
|
||||
togglePause: () => void;
|
||||
@@ -118,6 +119,10 @@ export const useGameStore = create<Store>()(
|
||||
),
|
||||
})),
|
||||
|
||||
markAllNotificationsRead: () => set((s) => ({
|
||||
notifications: s.notifications.map(n => ({ ...n, read: true })),
|
||||
})),
|
||||
|
||||
startNewGame: (companyName) => set({
|
||||
...initialGameState,
|
||||
meta: {
|
||||
|
||||
Reference in New Issue
Block a user