mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 06:58:05 +08:00
Extract credential switching logic from dropdown-content into a dedicated useActivateCredential hook with optimistic updates and proper data flow separation. Credential items now stay visible in the popover after clicking (no auto-close), show cursor-pointer, and disable during activation. Migrate credential-item from legacy Tooltip and remixicon imports to base-ui Tooltip and CSS icon classes, pruning stale ESLint suppressions.