mirror of
https://github.com/langgenius/dify.git
synced 2026-03-15 03:47:10 +08:00
Replace the single `disabled` prop with a pure `deriveTriggerStatus` function that maps to distinct states (empty, active, credits-exhausted, api-key-unavailable, incompatible), each with its own badge text and tooltip. Unify non-workflow and workflow modes into a single split layout, migrate icons to CSS icons, and add per-status i18n tooltip keys.