mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 12:35:24 +02:00
feat: implement period-over-period comparison in Ads tab
- AdsPerformance.tsx: Automatically activate comparison view when 2 periods are selected - AdsPerformance.tsx: Add growth percentages and trend indicators to table and summary - AdsPerformance.tsx: Implement chronological sorting for previous vs current periods - App.tsx: Pass filters to AdsPerformance component
This commit is contained in:
@@ -493,7 +493,7 @@ const App: React.FC = () => {
|
||||
{view === 'table' && <DataGrid data={combinedAdsData} hasCustomerFilter={filters.customer.length > 0} adsData={filteredAdsData} />}
|
||||
{view === 'weekly' && <WeeklyGrid data={combinedAdsData} top50Ranking={top50Ranking2025} />}
|
||||
{view === 'movers' && <TopMovers data={filteredData} />}
|
||||
{view === 'ads' && <AdsPerformance data={combinedAdsData} />}
|
||||
{view === 'ads' && <AdsPerformance data={combinedAdsData} filters={filters} />}
|
||||
</Suspense>
|
||||
</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user