mirror of
https://github.com/davidkaya/aryx.git
synced 2026-07-30 08:28:48 +02:00
Subscribe to auto-update status at the App level and render a compact UpdateBanner in the sidebar footer when an update is available, downloading, or downloaded: - Available/downloading: subtle banner with progress bar, dismissable - Downloaded: prominent 'Restart to update' action with glow effect Clicking the banner opens Settings directly on the Troubleshooting section via a new initialSection prop on SettingsPanel. New files: - src/renderer/components/ui/UpdateBanner.tsx Modified files: - App.tsx: subscribe to onUpdateStatus, wire props - Sidebar.tsx: accept and render UpdateBanner - SettingsPanel.tsx: add initialSection prop + export SettingsSection type - styles.css: add update-banner-enter slide-up animation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
12 lines
549 B
TypeScript
12 lines
549 B
TypeScript
export type { ToggleSwitchProps } from './ToggleSwitch';
|
|
export { ToggleSwitch } from './ToggleSwitch';
|
|
export type { PopoverToggleRowProps } from './PopoverToggleRow';
|
|
export { PopoverToggleRow } from './PopoverToggleRow';
|
|
export { FormField } from './FormField';
|
|
export { TextInput } from './TextInput';
|
|
export { TextareaInput } from './TextareaInput';
|
|
export { SelectInput } from './SelectInput';
|
|
export { InfoCallout } from './InfoCallout';
|
|
export type { UpdateBannerProps } from './UpdateBanner';
|
|
export { UpdateBanner } from './UpdateBanner';
|