-
Notifications
You must be signed in to change notification settings - Fork 2
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
refactor: ♻️ add substance-combobox.tsx #469
base: trunk
Are you sure you want to change the base?
Conversation
🚅 Deployed to the neuronek-pr-469 environment in neuronek
|
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.
❌ Changes requested. Reviewed everything up to 160b913 in 43 seconds
More details
- Looked at
476
lines of code in7
files - Skipped
1
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_5xvPxTXOurDWBGLY
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
⌛ 5 days left in your free trial, upgrade for $20/seat/month or contact us.
const [open, setOpen] = useState(false); | ||
const [value, setValue] = useState(""); | ||
|
||
const frameworks = [ |
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.
The SubstanceCombobox
component is hardcoded with framework data, which seems incorrect for a component intended to select substances. Consider fetching and using actual substance data here.
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.
❌ Changes requested. Incremental review on bb97776 in 55 seconds
More details
- Looked at
289
lines of code in4
files - Skipped
1
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_7HDq6F8HBFe33e2B
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
⌛ 5 days left in your free trial, upgrade for $20/seat/month or contact us.
return ( | ||
<Combobox | ||
mode='single' //single or multiple | ||
options={[]} |
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.
The options
prop is passed an empty array, which means no options will be displayed in the Combobox
. You should pass the frameworks
array to the options
prop to display the intended options.
options={[]} | |
options={frameworks} |
Okay... I kinda must spend a lot more time on this, or find another approach for ingestion page. |
8f71d72
to
5444560
Compare
Summary:
Introduced new components (
SubstanceCombobox
,Combobox
,ScrollArea
), updated dependencies, and ensured integration and code quality.Key points:
SubstanceCombobox
for framework selectionCombobox
component supporting single and multiple selections@radix-ui/react-dialog
,@radix-ui/react-popover
,cmdk
ScrollArea
component for scrollable areasSubstanceCombobox
intoCreateIngestionPage
Generated with ❤️ by ellipsis.dev