-
Notifications
You must be signed in to change notification settings - Fork 117
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
[front] - chore: upgrade sparkle #9150
Conversation
…ies dependency - Update the @dust-tt/sparkle package to version 0.2.334-rc-1 - Remove the deprecated @tailwindcss/container-queries package following the update [front/components/spaces] - fix: adjust paddingRight in SpaceSideBarMenu - Add a paddingRight of 1 to the div in SpaceSideBarMenu for better spacing in UI elements
…cker component - Hide the default scroll bar in the assistant picker dropdown - Include a custom ScrollBar component for better UI consistency [front] - refactor: update @dust-tt/sparkle package to new release candidate - Bump the version of the @dust-tt/sparkle package to incorporate latest changes and fixes
- Upgrade the @dust-tt/sparkle package from version 0.2.334-rc-2 to version 0.2.336 - Update package-lock.json to reflect the new version's resolved URL and integrity SHA
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.
Looks good to me sir, only a nitpick on the scroll area
@@ -81,7 +82,7 @@ export function AssistantPicker({ | |||
}} | |||
/> | |||
<DropdownMenuSeparator /> | |||
<ScrollArea className="border-1 -mb-1 -mt-1 h-[300px]"> | |||
<ScrollArea className="h-[300px]" hideScrollBar> |
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 fixed height will show a blank space if there are not enough items, this should make it dynamic to content
radix-ui/primitives#2307 (comment)
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.
Sweet thx !
- Changed ScrollArea to a flex column with a maximum height and automatic overflow-y to enhance user experience - ScrollBar is now hidden to provide a cleaner look in the AssistantPicker component
Description
This PR aims at bumping the sparkle version used in front to use those modifications: #9133
References:
Risk
Low
Deploy Plan
Deploy
front