Refine issue chat activity and message chrome

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta 2026-04-06 11:00:12 -05:00
parent 3fea60c04c
commit f593e116c1
7 changed files with 446 additions and 167 deletions

View file

@ -20,6 +20,7 @@ export function OutputFeedbackButtons({
termsUrl = null,
onVote,
rightSlot,
inline = false,
}: {
activeVote?: FeedbackVoteValue | null;
disabled?: boolean;
@ -27,6 +28,7 @@ export function OutputFeedbackButtons({
termsUrl?: string | null;
onVote: (vote: FeedbackVoteValue, options?: { allowSharing?: boolean; reason?: string }) => Promise<void>;
rightSlot?: React.ReactNode;
inline?: boolean;
}) {
const [pendingVote, setPendingVote] = useState<{
vote: FeedbackVoteValue;
@ -109,7 +111,10 @@ export function OutputFeedbackButtons({
return (
<>
<div className="mt-3 flex items-center gap-2 border-t border-border/60 pt-3">
<div className={cn(
"flex items-center gap-2",
inline ? "justify-end" : "mt-3 border-t border-border/60 pt-3",
)}>
<Button
type="button"
size="sm"