+
{modulesState.map((module) => (
diff --git a/frontend/app/components/Dashboard/Widgets/CardSessionsByList.tsx b/frontend/app/components/Dashboard/Widgets/CardSessionsByList.tsx
index 63f296cb0..262916873 100644
--- a/frontend/app/components/Dashboard/Widgets/CardSessionsByList.tsx
+++ b/frontend/app/components/Dashboard/Widgets/CardSessionsByList.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import {List, Progress, Typography} from "antd";
+import { List, Progress, Typography } from "antd";
import cn from "classnames";
interface Props {
@@ -8,7 +8,7 @@ interface Props {
onClickHandler: (event: any, data: any) => void;
}
-function CardSessionsByList({list, selected, onClickHandler}: Props) {
+function CardSessionsByList({ list, selected, onClickHandler }: Props) {
return (
(
onClickHandler(e, row)}
+ onClick={(e) => onClickHandler(e, row)} // Remove onClick handler to disable click interaction
style={{
borderBottom: '1px dotted rgba(0, 0, 0, 0.05)',
padding: '4px 10px',
lineHeight: '1px'
}}
- className={cn('rounded hover:bg-active-blue cursor-pointer', selected === row.name ? 'bg-active-blue' : '')}
+ className={cn('rounded', selected === row.name ? 'bg-active-blue' : '')} // Remove hover:bg-active-blue and cursor-pointer
>
- {row.name}
+ {row.name}
{row.sessionCount}
diff --git a/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx b/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx
index 442ce6790..77350083e 100644
--- a/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx
+++ b/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx
@@ -74,46 +74,22 @@ function DashboardList({siteId}: { siteId: string }) {
return (
list.length === 0 && !dashboardStore.filter.showMine ? (
}
+ image={}
+
imageStyle={{height: 300}}
description={(
- {dashboardsSearch !== ''
- ?
- No matching results
+
+
+ Create your first dashboard.
- : (
-
-
- Create your first dashboard.
-
- {/*
- A Dashboard is a collection of{' '}
-
- Utilize cards to visualize key user interactions or product
- performance metrics.
-
- }
- className="text-center"
- >
-
cards
- {' '}
- that can be shared across teams.
-
*/}
-
-
-
- Organize your product and technical insights as cards in dashboards to see the bigger picture, take action and improve user experience.
-
-
-
-
-
-
-
- )}
+
+ Organize your product and technical insights as cards in dashboards to see the bigger picture, take action and improve user experience.
+
+
+
+
+
)}
/>
@@ -138,6 +114,7 @@ function DashboardList({siteId}: { siteId: string }) {
})}
/>)
);
+
}
export default connect((state: any) => ({
diff --git a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/CreateCard.tsx b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/CreateCard.tsx
index df4d8a3fb..22ac90d79 100644
--- a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/CreateCard.tsx
+++ b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/CreateCard.tsx
@@ -83,7 +83,7 @@ function CreateCard(props: Props) {
-
+
{metric.name}
@@ -94,7 +94,7 @@ function CreateCard(props: Props) {
-
+
);
}
diff --git a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/ExampleCards.tsx b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/ExampleCards.tsx
index 618a31ab4..58e36baeb 100644
--- a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/ExampleCards.tsx
+++ b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/ExampleCards.tsx
@@ -13,6 +13,7 @@ import ByUrl from "./Examples/SessionsBy/ByUrl";
import {ERRORS, FUNNEL, PERFORMANCE, TABLE, TIMESERIES, USER_PATH, WEB_VITALS} from "App/constants/card";
import {FilterKey} from "Types/filter/filterType";
import {Activity, BarChart, TableCellsMerge, TrendingUp} from "lucide-react";
+import { size } from "@floating-ui/react-dom-interactions";
const TYPE = {
FUNNEL: 'funnel',
@@ -31,7 +32,7 @@ const TYPE = {
export const CARD_CATEGORIES = [
{
- key: 'product-analytics', label: 'Product Analytics', icon: TrendingUp, types: [USER_PATH, ERRORS]
+ key: 'product-analytics', label: 'Product Analytics', icon: TrendingUp, size:32, types: [USER_PATH, ERRORS]
},
{key: 'performance-monitoring', label: 'Performance Monitoring', icon: Activity, types: [TIMESERIES]},
{key: 'web-analytics', label: 'Web Analytics', icon: BarChart, types: [TABLE]},
diff --git a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/Count.tsx b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/Count.tsx
index 1f21a6c9a..044824ab0 100644
--- a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/Count.tsx
+++ b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/Count.tsx
@@ -9,6 +9,7 @@ import {
import React from 'react';
import ExCard from './ExCard';
+import { size } from '@floating-ui/react-dom-interactions';
const TYPES = {
Frustrations: 'frustrations',
@@ -37,6 +38,7 @@ function ExampleCount(props: any) {
{ label: 'Errors', value: '1' },
{ label: 'Users', value: '2' },
]}
+ size='small'
onChange={(v) => setType(v)}
/>
diff --git a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/ExCard.tsx b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/ExCard.tsx
index 92a7db1f4..c36729632 100644
--- a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/ExCard.tsx
+++ b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/ExCard.tsx
@@ -13,10 +13,10 @@ function ExCard({
}) {
return (
);
diff --git a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/SessionsBy/ByUrl.tsx b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/SessionsBy/ByUrl.tsx
index 1b2de44e2..b6d35ef76 100644
--- a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/SessionsBy/ByUrl.tsx
+++ b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/SessionsBy/ByUrl.tsx
@@ -58,6 +58,7 @@ function ByUrl(props: any) {
{ label: 'Page Title', value: '1' },
]}
onChange={(v) => setMode(Number(v))}
+ size='small'
/>