From 1041b64d5f711ab3cb76492e6064efc761489a33 Mon Sep 17 00:00:00 2001 From: Marcus Pasell <3690498+rickyrombo@users.noreply.github.com> Date: Mon, 3 Aug 2026 11:38:25 -0700 Subject: [PATCH 1/2] fix(coins): remove all-time volume stat from coin UI Drop the "Volume (All-Time)" metric from the coin details insights and the launchpad table. It's an unreliable, unverifiable figure: no other aggregator (DexScreener, GeckoTerminal, Jupiter) even reports an all-time cumulative volume for these coins, and the source value can't be reproduced or validated. Removing it rather than showing a number we can't stand behind. Co-Authored-By: Claude Opus 4.8 --- .../src/messages/coinDetailsMessages.ts | 1 - packages/common/src/utils/coinMetrics.ts | 5 ---- .../components/table/responsivePolicies.ts | 4 +-- .../FanClubDetailPage.test.tsx | 8 ------ .../components/FanClubsTable.tsx | 25 ------------------- 5 files changed, 1 insertion(+), 42 deletions(-) diff --git a/packages/common/src/messages/coinDetailsMessages.ts b/packages/common/src/messages/coinDetailsMessages.ts index 0510c0a1cc4..01f5b26f29d 100644 --- a/packages/common/src/messages/coinDetailsMessages.ts +++ b/packages/common/src/messages/coinDetailsMessages.ts @@ -39,7 +39,6 @@ export const coinDetailsMessages = { pricePerCoin: 'Price', holdersOnAudius: 'Holders on Audius', uniqueHolders: 'Unique Holders', - totalVolume: 'Volume (All-Time)', marketCap: 'Market Cap', unableToLoad: 'Unable to load insights', graduated: 'Graduated', diff --git a/packages/common/src/utils/coinMetrics.ts b/packages/common/src/utils/coinMetrics.ts index 8e3f4300cb3..d071f25fba7 100644 --- a/packages/common/src/utils/coinMetrics.ts +++ b/packages/common/src/utils/coinMetrics.ts @@ -21,7 +21,6 @@ const messages = { pricePerCoin: 'Price', holdersOnAudius: 'Holders on Audius', uniqueHolders: 'Unique Holders', - totalVolume: 'Volume (All-Time)', volume24h: 'Volume (24h)', marketCap: 'Market Cap', graduationProgress: 'Graduation Progress' @@ -78,10 +77,6 @@ export const createCoinMetrics = (coin: Coin): MetricData[] => { value: `$${formatCount(coin.displayMarketCap ?? 0, 2)}`, label: messages.marketCap }), - createMetric({ - value: `$${formatCount(coin.totalVolumeUSD ?? 0, 2)}`, - label: messages.totalVolume - }), createMetric({ value: formatCount(coin.holder ?? 0), label: messages.uniqueHolders diff --git a/packages/web/src/components/table/responsivePolicies.ts b/packages/web/src/components/table/responsivePolicies.ts index 94519a64c9b..f0304deade5 100644 --- a/packages/web/src/components/table/responsivePolicies.ts +++ b/packages/web/src/components/table/responsivePolicies.ts @@ -57,7 +57,7 @@ export const RESPONSIVE_TABLE_POLICIES = { }, { maxWidth: 815, - hide: ['holders', 'createdDate', 'marketCap', 'totalVolumeUSD'] + hide: ['holders', 'createdDate', 'marketCap'] }, { maxWidth: 671, @@ -65,7 +65,6 @@ export const RESPONSIVE_TABLE_POLICIES = { 'holders', 'createdDate', 'marketCap', - 'totalVolumeUSD', 'artist' ] }, @@ -75,7 +74,6 @@ export const RESPONSIVE_TABLE_POLICIES = { 'holders', 'createdDate', 'marketCap', - 'totalVolumeUSD', 'artist', 'price' ] diff --git a/packages/web/src/pages/fan-club-detail-page/FanClubDetailPage.test.tsx b/packages/web/src/pages/fan-club-detail-page/FanClubDetailPage.test.tsx index faecb41eedc..cb504e34635 100644 --- a/packages/web/src/pages/fan-club-detail-page/FanClubDetailPage.test.tsx +++ b/packages/web/src/pages/fan-club-detail-page/FanClubDetailPage.test.tsx @@ -95,14 +95,6 @@ const assertFanClubInsightsSection = async () => { expect(within(marketCapRow).getByText(/\$9\.0K/i)).toBeInTheDocument() expect(within(marketCapRow).getByText(/^market cap$/i)).toBeInTheDocument() - // Volume (All-Time): $127.32 - const volumeRow = screen.getByTestId('metric-row-Volume (All-Time)') - expect(volumeRow).toBeInTheDocument() - expect(within(volumeRow).getByText(/\$127\.32/)).toBeInTheDocument() - expect( - within(volumeRow).getByText(/^volume \(all-time\)$/i) - ).toBeInTheDocument() - // Unique Holders: 11 const holdersRow = screen.getByTestId('metric-row-Unique Holders') expect(holdersRow).toBeInTheDocument() diff --git a/packages/web/src/pages/fan-clubs-launchpad-page/components/FanClubsTable.tsx b/packages/web/src/pages/fan-clubs-launchpad-page/components/FanClubsTable.tsx index 1d757161036..8c66ed9282f 100644 --- a/packages/web/src/pages/fan-clubs-launchpad-page/components/FanClubsTable.tsx +++ b/packages/web/src/pages/fan-clubs-launchpad-page/components/FanClubsTable.tsx @@ -184,16 +184,6 @@ const renderMarketCapCell = (cellInfo: CoinCell) => { ) } -const renderTotalVolumeUSDCell = (cellInfo: CoinCell) => { - const coin = cellInfo.row.original - return ( - - {walletMessages.dollarSign} - {formatCount(coin.totalVolumeUSD ?? 0, 2)} - - ) -} - const renderHoldersCell = (cellInfo: CoinCell) => { const coin = cellInfo.row.original return ( @@ -272,19 +262,6 @@ const tableColumnMap = { disableResizing: true, sorter: numericSorter('price') }, - totalVolumeUSD: { - id: 'totalVolumeUSD', - Header: 'Vol', - accessor: 'totalVolumeUSD', - Cell: renderTotalVolumeUSDCell, - disableSortBy: false, - align: 'right', - width: 120, - minWidth: 120, - maxWidth: 120, - disableResizing: true, - sorter: numericSorter('totalVolumeUSD') - }, marketCap: { id: 'marketCap', Header: 'Market Cap', @@ -340,7 +317,6 @@ const tableColumnMap = { const sortMethodMap: Record = { price: GetCoinsSortMethodEnum.Price, marketCap: GetCoinsSortMethodEnum.MarketCap, - totalVolumeUSD: GetCoinsSortMethodEnum.Volume, createdAt: GetCoinsSortMethodEnum.CreatedAt, holder: GetCoinsSortMethodEnum.Holder } @@ -508,7 +484,6 @@ export const FanClubsTable = ({ viewMode }: FanClubsTableProps) => { baseColumns.tokenName, baseColumns.artist, baseColumns.price, - baseColumns.totalVolumeUSD, baseColumns.marketCap, baseColumns.createdDate, baseColumns.holders, From db9fd64cfc7a14603d37ae7edfe51a1b8d895dff Mon Sep 17 00:00:00 2001 From: Marcus Pasell <3690498+rickyrombo@users.noreply.github.com> Date: Mon, 3 Aug 2026 15:39:09 -0700 Subject: [PATCH 2/2] style: collapse responsive-policy hide arrays to satisfy prettier Removing 'totalVolumeUSD' shortened the arrays enough that prettier wants them on a single line. Co-Authored-By: Claude Opus 4.8 --- .../src/components/table/responsivePolicies.ts | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/packages/web/src/components/table/responsivePolicies.ts b/packages/web/src/components/table/responsivePolicies.ts index f0304deade5..49f430ae5c9 100644 --- a/packages/web/src/components/table/responsivePolicies.ts +++ b/packages/web/src/components/table/responsivePolicies.ts @@ -61,22 +61,11 @@ export const RESPONSIVE_TABLE_POLICIES = { }, { maxWidth: 671, - hide: [ - 'holders', - 'createdDate', - 'marketCap', - 'artist' - ] + hide: ['holders', 'createdDate', 'marketCap', 'artist'] }, { maxWidth: 420, - hide: [ - 'holders', - 'createdDate', - 'marketCap', - 'artist', - 'price' - ] + hide: ['holders', 'createdDate', 'marketCap', 'artist', 'price'] } ], ['tokenName', 'buy']