Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Markdown Alert Component Support #1791

Merged
merged 23 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8529c1a
feat: add markdown alert component and translations
hexart Jan 23, 2025
fb8896d
fix: remove some unused commit
hexart Jan 23, 2025
dcc1444
fix: update package.json and pnpm-lock.yaml
hexart Jan 23, 2025
28608b0
Update lock files
hexart Jan 23, 2025
fb64a74
Merge branch 'main' into feature/markdown-alert-new
hexart Jan 23, 2025
7499a4f
feat: make alert type case-insensitive
hexart Jan 23, 2025
c3b39c8
fix: update alert type regex to support hyphenated types
hexart Jan 23, 2025
33c7193
Rename MarkdownAlert component
hexart Jan 23, 2025
08ea143
Update MarkdownAlert import path
hexart Jan 23, 2025
6e07360
Merge branch 'main' into feature/markdown-alert-new
hexart Jan 24, 2025
698136b
fix: update trans files and remove debug code
hexart Jan 24, 2025
145331e
Merge branch 'main' into feature/markdown-alert-new
dokterbob Jan 24, 2025
d15bb88
remove unused packages
hexart Jan 24, 2025
cc40a38
Merge branch 'main' into feature/markdown-alert-new
hexart Jan 24, 2025
e873343
Merge branch 'Chainlit:main' into feature/markdown-alert-new
hexart Jan 26, 2025
0a2554a
Merge branch 'main' into feature/markdown-alert-new
hexart Jan 27, 2025
d72a9d3
Merge branch 'Chainlit:main' into feature/markdown-alert-new
hexart Jan 28, 2025
3500771
Merge branch 'main' into feature/markdown-alert-new
willydouhard Jan 28, 2025
0e3852f
Update pnpm-lock.yaml
hexart Jan 28, 2025
7ca659c
Update pnpm-lock.yaml
hexart Jan 28, 2025
be44ef4
Merge branch 'main' into feature/markdown-alert-new
hexart Jan 28, 2025
04fd289
Merge branch 'main' into feature/markdown-alert-new
hexart Jan 28, 2025
82cb05b
Merge branch 'main' into feature/markdown-alert-new
hexart Jan 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions backend/chainlit/translations/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "সফলভাবে সংরক্ষিত হয়েছে"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "Saved successfully"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/gu.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "સફળતાપૂર્વક સાચવ્યું"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/he-IL.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "נשמר בהצלחה"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "सफलतापूर्वक सहेजा गया"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
19 changes: 18 additions & 1 deletion backend/chainlit/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "保存が完了しました"
}
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/kn.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "ಯಶಸ್ವಿಯಾಗಿ ಉಳಿಸಲಾಗಿದೆ"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/ml.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "വിജയകരമായി സംരക്ഷിച്ചു"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/mr.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "यशस्वीरित्या जतन केले"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
19 changes: 18 additions & 1 deletion backend/chainlit/translations/nl-NL.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "Succesvol opgeslagen"
}
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/ta.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "வெற்றிகரமாக சேமிக்கப்பட்டது"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/te.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "విజయవంతంగా సేవ్ చేయబడింది"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"best-practice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "保存成功"
}
},
"alerts": {
"info": "信息",
"note": "注释",
"tip": "提示",
"important": "重要",
"warning": "警告",
"caution": "注意",
"debug": "调试",
"example": "示例",
"success": "成功",
"help": "帮助",
"idea": "想法",
"pending": "待处理",
"security": "安全",
"beta": "测试",
"best-practice": "最佳实践"
}
}
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"recoil": "^0.7.7",
"rehype-katex": "^7.0.0",
"rehype-raw": "^7.0.0",
"remark-directive": "^3.0.1",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
"sonner": "^1.2.3",
Expand Down
Loading
Loading