Skip to content

Commit 640ef4d

Browse files
yomybabyclaude
andauthored
feat(FR-2392): add multi-step async notification system (#6234)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 59a58fe commit 640ef4d

26 files changed

Lines changed: 1863 additions & 0 deletions

react/src/components/BAIMultiStepNotificationItem.tsx

Lines changed: 431 additions & 0 deletions
Large diffs are not rendered by default.

react/src/components/WEBUINotificationDrawer.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import { useWebUINavigate } from '../hooks';
66
import { useBAINotificationState } from '../hooks/useBAINotification';
77
import BAIGeneralNotificationItem from './BAIGeneralNotificationItem';
8+
import BAIMultiStepNotificationItem from './BAIMultiStepNotificationItem';
89
import BAINodeNotificationItem from './BAINodeNotificationItem';
910
import { MoreOutlined } from '@ant-design/icons';
1011
import {
@@ -137,6 +138,13 @@ const WEBUINotificationDrawer: React.FC<Props> = ({ ...drawerProps }) => {
137138
nodeFrgmt={item.node || null}
138139
showDate
139140
/>
141+
) : item.multiStep ? (
142+
<BAIMultiStepNotificationItem
143+
notification={item}
144+
onRetry={item.onRetry ?? undefined}
145+
onCancel={item.onCancel ?? undefined}
146+
showDate
147+
/>
140148
) : (
141149
<BAIGeneralNotificationItem
142150
notification={item}

0 commit comments

Comments
 (0)