From fb9081a083236e4903da6e98873644393c18e1f2 Mon Sep 17 00:00:00 2001 From: Rakesh Date: Thu, 18 Dec 2025 23:53:48 -0800 Subject: [PATCH] Enhance VeltCollaboration and VeltCustomization components - Updated VeltCommentsSidebar to include shadowDom and sortData properties for improved functionality. - Added VeltCommentsSidebarHeaderWf to VeltCustomization for enhanced UI consistency. These changes aim to improve the user experience and layout of the comments dashboard. --- .../components/velt/VeltCollaboration.tsx | 2 +- .../VeltCommentsSidebarHeaderWf.tsx | 22 +++++++++++++++++++ .../ui-customization/VeltCustomization.tsx | 2 ++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltCommentsSidebarHeaderWf.tsx diff --git a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/VeltCollaboration.tsx b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/VeltCollaboration.tsx index 7eeae685..4db7f0c7 100644 --- a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/VeltCollaboration.tsx +++ b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/VeltCollaboration.tsx @@ -33,7 +33,7 @@ export function VeltCollaboration() { dialogOnHover={false} groupMatchedComments={true} /> - + diff --git a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltCommentsSidebarHeaderWf.tsx b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltCommentsSidebarHeaderWf.tsx new file mode 100644 index 00000000..c3c13f36 --- /dev/null +++ b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltCommentsSidebarHeaderWf.tsx @@ -0,0 +1,22 @@ +"use client"; +import { VeltCommentsSidebarWireframe } from '@veltdev/react'; + +const VeltCommentsSidebarHeaderWf = () => { + return ( + +
+
+ + +
+
+ + +
+
+
+ ); +}; + +export default VeltCommentsSidebarHeaderWf; + diff --git a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltCustomization.tsx b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltCustomization.tsx index 02b4b30c..0f01c3b1 100644 --- a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltCustomization.tsx +++ b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltCustomization.tsx @@ -2,6 +2,7 @@ import { VeltWireframe } from '@veltdev/react'; import VeltCommentBubbleWf from "./VeltCommentBubbleWf"; import VeltCommentToolWf from "./VeltCommentToolWf"; +import VeltCommentsSidebarHeaderWf from "./VeltCommentsSidebarHeaderWf"; import VeltNotificationsToolWf from "./VeltNotificationsToolWf"; import VeltSidebarButtonWf from "./VeltSidebarButtonWf"; import "./styles.css"; @@ -14,6 +15,7 @@ export function VeltCustomization() { + ); } \ No newline at end of file