feat(ui): improve startup warnings UX with dismissal and show-count limits (#19584)

This commit is contained in:
Spencer
2026-02-20 13:22:45 -05:00
committed by GitHub
parent d24f10b087
commit fe428936d5
12 changed files with 503 additions and 109 deletions

View File

@@ -5,10 +5,11 @@
*/
import { createContext, useContext } from 'react';
import type { StartupWarning } from '@google/gemini-cli-core';
export interface AppState {
version: string;
startupWarnings: string[];
startupWarnings: StartupWarning[];
}
export const AppContext = createContext<AppState | null>(null);