-
-
Notifications
You must be signed in to change notification settings - Fork 538
fix: ShadCN/Ariakit AI menu #1688
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
base: feature/ai
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, looks good! some small comments
|
||
assertEmpty(rest); | ||
|
||
return ( | ||
<div className={className} ref={ref}> | ||
{children} | ||
<svg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you copy this from anywhere? in that case always good to leave the source url as a comment
} else if (aiResponseStatus === "error") { | ||
return ( | ||
<div className={"bn-combobox-right-section bn-combobox-error"}> | ||
<span>!</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this ! is selectable, which is a bit weird. Also, maybe there are nicer icons for this?
@@ -3,6 +3,9 @@ export const en = { | |||
ai: { | |||
tooltip: "Generate content", | |||
input_placeholder: "Enter a prompt", | |||
thinking: "Thinking", | |||
editing: "Editing", | |||
error: "An error has occurred", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also remove unused items from the dictionaries? like ai_block
rightSection
prop to inputs