Skip to content
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

Merged
merged 6 commits into from
Dec 5, 2024
Merged

[front] - chore: upgrade sparkle #9150

merged 6 commits into from
Dec 5, 2024

Conversation

JulesBelveze
Copy link
Contributor

Description

This PR aims at bumping the sparkle version used in front to use those modifications: #9133

References:

Risk

Low

Deploy Plan

Deploy front

…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
@JulesBelveze JulesBelveze requested a review from overmode December 5, 2024 14:56
Copy link
Contributor

@overmode overmode left a 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>
Copy link
Contributor

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)

Copy link
Contributor Author

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
@JulesBelveze JulesBelveze merged commit 3792ccb into main Dec 5, 2024
3 checks passed
@JulesBelveze JulesBelveze deleted the front/buttons-upgrade branch December 5, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants