From 2c0ab063cb76737ae8078d8f7eb488cb80faec24 Mon Sep 17 00:00:00 2001
From: eduramme
Date: Wed, 24 Dec 2025 08:45:54 -0300
Subject: [PATCH 01/10] fix: remove div as child of table error
---
.../shared/components/design-system/table/Table.tsx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/apps/dashboard/shared/components/design-system/table/Table.tsx b/apps/dashboard/shared/components/design-system/table/Table.tsx
index a7ca5821d..a61f06b6a 100644
--- a/apps/dashboard/shared/components/design-system/table/Table.tsx
+++ b/apps/dashboard/shared/components/design-system/table/Table.tsx
@@ -313,7 +313,12 @@ export const Table = ({
);
})}
-
+ {/* Sentinel for infinite scrolling */}
+
+ |
+
+ |
+
{isLoadingMore && (
From 9f6c95c64343c14b26d16f7f8ccdb14876e4b980 Mon Sep 17 00:00:00 2001
From: eduramme
Date: Wed, 24 Dec 2025 09:03:56 -0300
Subject: [PATCH 02/10] fix: show background errors
---
apps/dashboard/shared/components/icons/CompoundIcon.tsx | 9 ++++++---
apps/dashboard/shared/components/icons/GitcoinIcon.tsx | 9 ++++++---
apps/dashboard/shared/components/icons/ScrollIcon.tsx | 9 ++++++---
3 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/apps/dashboard/shared/components/icons/CompoundIcon.tsx b/apps/dashboard/shared/components/icons/CompoundIcon.tsx
index 775428b09..d4ec06a3b 100644
--- a/apps/dashboard/shared/components/icons/CompoundIcon.tsx
+++ b/apps/dashboard/shared/components/icons/CompoundIcon.tsx
@@ -1,6 +1,9 @@
-import { SVGProps } from "react";
+import { DaoIconProps } from "@/shared/components/icons/types";
-export const CompoundIcon = (props: SVGProps) => {
+export const CompoundIcon = ({
+ showBackground = true,
+ ...props
+}: DaoIconProps) => {
return (
// TODO: Compound
);
};
diff --git a/apps/dashboard/features/dao-overview/components/ProgressBar.tsx b/apps/dashboard/features/dao-overview/components/ProgressBar.tsx
index 843328690..228cc59b9 100644
--- a/apps/dashboard/features/dao-overview/components/ProgressBar.tsx
+++ b/apps/dashboard/features/dao-overview/components/ProgressBar.tsx
@@ -68,9 +68,7 @@ export const ProgressBar = ({
From 9c1fdbf9b4a265af219d9dc812e980d440f68a57 Mon Sep 17 00:00:00 2001
From: eduramme
Date: Wed, 24 Dec 2025 09:13:16 -0300
Subject: [PATCH 05/10] fix: requirements text error
---
.../features/resilience-stages/components/StageContent.tsx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/apps/dashboard/features/resilience-stages/components/StageContent.tsx b/apps/dashboard/features/resilience-stages/components/StageContent.tsx
index aab4f2a89..9794d2726 100644
--- a/apps/dashboard/features/resilience-stages/components/StageContent.tsx
+++ b/apps/dashboard/features/resilience-stages/components/StageContent.tsx
@@ -76,10 +76,8 @@ export const StageContent = ({
))}
{type === "requirements" ? (
-
-
- {requirementText}
-
+
+ {requirementText}
) : (
issues?.map((issue, index) => (
From 21ccab2e53d93640704b34d1b9a890dc4f47b1e0 Mon Sep 17 00:00:00 2001
From: eduramme
Date: Wed, 24 Dec 2025 09:24:02 -0300
Subject: [PATCH 06/10] fix: button child of button error
---
.../shared/components/buttons/CopyAndPasteButton.tsx | 2 +-
.../shared/components/design-system/tooltips/Tooltip.tsx | 9 ++++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/apps/dashboard/shared/components/buttons/CopyAndPasteButton.tsx b/apps/dashboard/shared/components/buttons/CopyAndPasteButton.tsx
index 82e7c8193..9a3f6eb24 100644
--- a/apps/dashboard/shared/components/buttons/CopyAndPasteButton.tsx
+++ b/apps/dashboard/shared/components/buttons/CopyAndPasteButton.tsx
@@ -46,7 +46,7 @@ export const CopyAndPasteButton = ({
: "Copy to clipboard";
return (
-
+
(false);
const { isMobile } = useScreenSize();
@@ -42,7 +44,12 @@ export function Tooltip({
onOpenChange={handleOpenChange}
disableHoverableContent
>
-
+
{children}
From a4d8a254b49ad08228e1e887291edaa03e869eb3 Mon Sep 17 00:00:00 2001
From: eduramme
Date: Thu, 25 Dec 2025 15:50:19 -0300
Subject: [PATCH 07/10] fix: csv hydration error
---
.../shared/components/design-system/table/Table.tsx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/apps/dashboard/shared/components/design-system/table/Table.tsx b/apps/dashboard/shared/components/design-system/table/Table.tsx
index a61f06b6a..784b1527b 100644
--- a/apps/dashboard/shared/components/design-system/table/Table.tsx
+++ b/apps/dashboard/shared/components/design-system/table/Table.tsx
@@ -102,10 +102,15 @@ export const Table = ({
const [sorting, setSorting] = useState([]);
const [columnFilters, setColumnFilters] = useState([]);
const [expanded, setExpanded] = useState({});
+ const [isMounted, setIsMounted] = useState(false);
const wrapperRef = useRef(null);
const sentinelRef = useRef(null);
+ useEffect(() => {
+ setIsMounted(true);
+ }, []);
+
useEffect(() => {
if (!onLoadMore || !hasMore) return;
@@ -353,7 +358,7 @@ export const Table = ({
)}
- {withDownloadCSV && data.length > 0 && (
+ {withDownloadCSV && data.length > 0 && isMounted && (
[DOWNLOAD AS{" "}
Date: Thu, 25 Dec 2025 16:03:36 -0300
Subject: [PATCH 08/10] fix: panel table icon type
---
apps/dashboard/shared/dao-config/types.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/apps/dashboard/shared/dao-config/types.ts b/apps/dashboard/shared/dao-config/types.ts
index 23bb0fd5a..a713ccda4 100644
--- a/apps/dashboard/shared/dao-config/types.ts
+++ b/apps/dashboard/shared/dao-config/types.ts
@@ -1,4 +1,4 @@
-import { ReactNode } from "react";
+import { ReactNode, SVGProps } from "react";
import { Address, Chain } from "viem";
import { DaoIdEnum } from "@/shared/types/daos";
import { MetricTypesEnum } from "@/shared/types/enums/metric-type";
@@ -60,7 +60,7 @@ interface BaseInfo {
}
export interface ChainWithIcon extends Chain {
- icon: (props: DaoIconProps) => ReactNode;
+ icon: (props: SVGProps) => ReactNode;
blockTime: number;
}
From 5f20851d3e7f4572ac309bfff4d2152ef4e56898 Mon Sep 17 00:00:00 2001
From: eduramme
Date: Thu, 25 Dec 2025 16:07:21 -0300
Subject: [PATCH 09/10] fix: icon type on scroll icon
---
apps/dashboard/shared/components/icons/types.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/dashboard/shared/components/icons/types.ts b/apps/dashboard/shared/components/icons/types.ts
index 12f1239be..2136960f5 100644
--- a/apps/dashboard/shared/components/icons/types.ts
+++ b/apps/dashboard/shared/components/icons/types.ts
@@ -10,5 +10,5 @@ export interface DaoAvatarIconProps extends ComponentProps<"svg"> {
export type AvatarIconProps = Omit;
export interface DaoIconProps extends ComponentProps<"svg"> {
- showBackground: boolean;
+ showBackground?: boolean;
}
From 5352f3767a8cdf0eeb961aab089e05dd2f07c301 Mon Sep 17 00:00:00 2001
From: eduramme
Date: Mon, 5 Jan 2026 11:26:34 -0300
Subject: [PATCH 10/10] feat: add colsPan to sentinelRef to avoid bugs
---
apps/dashboard/shared/components/design-system/table/Table.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/dashboard/shared/components/design-system/table/Table.tsx b/apps/dashboard/shared/components/design-system/table/Table.tsx
index 09d597385..f5d34a9f7 100644
--- a/apps/dashboard/shared/components/design-system/table/Table.tsx
+++ b/apps/dashboard/shared/components/design-system/table/Table.tsx
@@ -354,7 +354,7 @@ export const Table = ({
{/* Sentinel for infinite scrolling */}
- |
+ |
|