Comprehensive UX audit fixes: navigation, feedback, affordances, and accessibility
CI / build-and-push (push) Successful in 28s
CI / build-and-push (push) Successful in 28s
Address 18 issues across high/medium/low impact tiers identified in a full interface review. Key changes: Models page decomposed into tabs, confirmation dialogs for irreversible actions (deploy/open-source/acquire), chart Y-axes made visible, hash router extended for Market tab persistence, collapsible sidebar, keyboard navigation shortcuts (g+key chords), notification bulk actions, achievement progress bars, and ARIA label improvements. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -88,6 +88,8 @@ interface Actions {
|
||||
setInfraNav: (nav: InfraNav) => void;
|
||||
addNotification: (n: Omit<GameNotification, 'id' | 'read'>) => void;
|
||||
dismissNotification: (id: string) => void;
|
||||
removeNotification: (id: string) => void;
|
||||
clearAllNotifications: () => void;
|
||||
markAllNotificationsRead: () => void;
|
||||
startNewGame: (companyName: string) => void;
|
||||
setGameSpeed: (speed: GameSpeed) => void;
|
||||
@@ -305,6 +307,12 @@ export const useGameStore = create<Store>()(
|
||||
),
|
||||
})),
|
||||
|
||||
removeNotification: (id) => set((s) => ({
|
||||
notifications: s.notifications.filter(n => n.id !== id),
|
||||
})),
|
||||
|
||||
clearAllNotifications: () => set({ notifications: [] }),
|
||||
|
||||
markAllNotificationsRead: () => set((s) => ({
|
||||
notifications: s.notifications.map(n => ({ ...n, read: true })),
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user