From 62a50b0592276ff5fe1269b89aaf433f038620ea Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Tue, 18 Mar 2025 15:49:50 -0600 Subject: [PATCH] update request headers --- .../features/buttons/CollectionsButton.tsx | 9 ++- .../features/buttons/ShareButton.tsx | 4 +- .../ui/grid/BusterResizeableGrid.stories.tsx | 58 +++++++++++++++++++ .../ui/grid/BusterResizeableGrid.tsx | 2 - .../DashboardContainerHeaderButtons.tsx | 8 ++- .../DashboardThreeDotMenu.tsx | 6 +- web/src/middleware.ts | 1 - web/src/middleware/cspPolicyMiddleware.ts | 14 ++++- .../middleware/publicPageMiddleware.test.ts | 31 ++++++++++ 9 files changed, 118 insertions(+), 15 deletions(-) create mode 100644 web/src/middleware/publicPageMiddleware.test.ts diff --git a/web/src/components/features/buttons/CollectionsButton.tsx b/web/src/components/features/buttons/CollectionsButton.tsx index a1983f7bc..e72561e43 100644 --- a/web/src/components/features/buttons/CollectionsButton.tsx +++ b/web/src/components/features/buttons/CollectionsButton.tsx @@ -1,14 +1,17 @@ import React from 'react'; import { ASSET_ICONS } from '../config/assetIcons'; import { Button } from '@/components/ui/buttons'; +import { AppTooltip } from '@/components/ui/tooltip'; export const CollectionButton: React.FC<{ buttonType?: 'ghost' | 'default'; useText?: boolean; }> = ({ buttonType = 'default', useText = false }) => { return ( - + + + ); }; diff --git a/web/src/components/features/buttons/ShareButton.tsx b/web/src/components/features/buttons/ShareButton.tsx index 2b068444f..b1164f297 100644 --- a/web/src/components/features/buttons/ShareButton.tsx +++ b/web/src/components/features/buttons/ShareButton.tsx @@ -1,9 +1,9 @@ import { Button } from '@/components/ui/buttons'; -import { ShareRight3 } from '@/components/ui/icons'; +import { ShareRight, ShareRight3 } from '@/components/ui/icons'; import React from 'react'; export const ShareButton = React.memo(() => { - return