You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Split Toast Storybook examples into independently inspectable scenarios #44509
packages/dify-ui/src/toast/index.stories.tsx exposes only DocsPattern. Its six panels share a module-level manager, so tones and behavior examples cannot be selected independently in the sidebar. Its sole interaction test exercises long-content wrapping.
The description also says the shared viewport matches Base UI's documentation, although the upstream Promise, Undo, Deduplicated, and Varying Heights demos each own their provider.
Proposed change
Split the existing examples into four tone stories and focused stacking, varying-height, action, promise-result, deduplication, update, and long-content stories. Give each mounted example its own manager, deterministic interactions, and isolated Docs previews. Keep the existing Toast public API and Base UI behavior ownership.
Align the Web renderer's name with Toaster by renaming AppToastHost to AppToaster and updating its imports without a compatibility alias.
Activity