🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
feat(ui): change wording in comments function (#11184)
Jannik Maierhöfer5dd133cf3fb5
diff --git a/web/src/features/comments/CommentDrawerButton.tsx b/web/src/features/comments/CommentDrawerButton.tsxindex dac8362991..db75536b3f 100644--- a/web/src/features/comments/CommentDrawerButton.tsx+++ b/web/src/features/comments/CommentDrawerButton.tsx@@ -153,14 +153,18 @@ export function CommentDrawerButton({<MessageCircleIconclassName={size === "sm" ? "h-3.5 w-3.5" : "h-4 w-4"}/>+ <span>Add comment</span><span className="flex h-3.5 w-fit items-center justify-center rounded-sm bg-primary/50 px-1 text-xs text-primary-foreground shadow-sm">{count > 99 ? "99+" : count}</span></div>) : (- <MessageCircleIcon- className={size === "sm" ? "h-3.5 w-3.5" : "h-4 w-4"}- />+ <div className="flex items-center gap-1">+ <MessageCircleIcon+ className={size === "sm" ? "h-3.5 w-3.5" : "h-4 w-4"}+ />+ <span>Add comment</span>+ </div>)}</Button></DrawerTrigger>diff --git a/web/src/features/comments/CommentList.tsx b/web/src/features/comments/CommentList.tsxindex e74b4217ac..31960cee01 100644--- a/web/src/features/comments/CommentList.tsx+++ b/web/src/features/comments/CommentList.tsx@@ -610,7 +610,7 @@ export function CommentList({<div className="relative ml-2.5 mr-4 mt-2 flex flex-row items-center justify-between text-xs text-muted-foreground"><span className="sr-only">New comment</span><span></span>- <span>Markdown supported</span>+ <span>Markdown and @-mentions support</span></div><div className="relative mb-2 ml-2 mr-3 mt-0.5 min-h-[70px] flex-shrink-0 rounded-lg border border-border/60 pt-1">{/* Visually hidden header for accessibility */}@@ -625,7 +625,7 @@ export function CommentList({<div><FormControl><Textarea- placeholder="Add a comment... (Markdown supported)"+ placeholder="Add a comment..."{...field}ref={(el) => {if (textareaRef.current !== el) {