Skip to content

Commit

Permalink
[front] - fix: Tree action button variant (#8235)
Browse files Browse the repository at this point in the history
* [front] - fix: change button variant style from ghost to outline

 - Updated IconButton variant property from 'ghost' to 'outline' for consistency across components
 - Applied changes in `ContentNodeTree.tsx`, `AssistantActionsSection.tsx`, and `DataSourceSelectionSection.tsx` files

* [front] - feature: update @dust-tt/sparkle to version 0.2.278

 - Ensures integration with the latest @dust-tt/sparkle features and fixes
 - Improves dependency management with an updated package-lock.json file

---------

Co-authored-by: Jules <[email protected]>
  • Loading branch information
JulesBelveze and Jules authored Oct 25, 2024
1 parent aefd7c3 commit d5000e9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion front/components/ContentNodeTree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function ContentNodeTreeChildren({
n.sourceUrl ? "" : "pointer-events-none opacity-0"
)}
disabled={!n.sourceUrl}
variant="ghost"
variant="outline"
/>
{onDocumentViewClick && (
<IconButton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ function DataSourceViewSelectedNodes({
node.dustDocumentId ? "" : "pointer-events-none opacity-0"
)}
disabled={!node.dustDocumentId}
variant="ghost"
variant="outline"
/>
</div>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function DataSourceSelectionSection({
: "pointer-events-none opacity-0"
)}
disabled={!node.sourceUrl}
variant="ghost"
variant="outline"
/>
<IconButton
size="xs"
Expand Down
8 changes: 4 additions & 4 deletions front/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"@auth0/nextjs-auth0": "^3.5.0",
"@dust-tt/client": "file:../sdks/js",
"@dust-tt/sparkle": "^0.2.277",
"@dust-tt/sparkle": "^0.2.278",
"@dust-tt/types": "file:../types",
"@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.11",
Expand Down

0 comments on commit d5000e9

Please sign in to comment.