Repository navigation
feat(dify-ui): add Alert - #45266
Merged
Merged
feat(dify-ui): add Alert#45266
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #45266 +/- ##
=======================================
Coverage 89.85% 89.85%
=======================================
Files 6251 6252 +1
Lines 398214 398226 +12
Branches 80249 80250 +1
=======================================
+ Hits 357831 357844 +13
+ Misses 34072 34071 -1
Partials 6311 6311
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
lyzno1
force-pushed
the
yyh/snp-1035-dify-ui-alert
branch
5 times, most recently
from
November 1, 2026 15:50
a69eed7 to
e3cce28
Compare
lyzno1
force-pushed
the
yyh/snp-1035-dify-ui-alert
branch
from
November 1, 2026 16:00
e3cce28 to
99f6316
Compare
lyzno1
marked this pull request as ready for review
November 2, 2026 01:57
hyoban
approved these changes
Nov 2, 2026
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@langgenius/dify-ui/alert:Alert,AlertTitle,AlertDescription,AlertActions,AlertClose, following the Dify Design Kit Alert (in-page Toast Small surface)type(info / success / warning / error) sets the icon, halo, and default role (alertfor errors,statusotherwise); the icon cannot be replacedAlertActionsbelow the text;AlertCloseis a stateless close button on the right that requires a translated nameshadcn/no-restylecontract: callers may only place and sizeAlert; the parts keep their own typography, spacing and positionFixes SNP-1035