Skip to content

Commit 9dda78b

Browse files
committed
Fix dropdown positioning and remove blue tint from dark mode cards
- Add sideOffset prop to FinancialDropdown to position dropdowns below FloatingFinancialHeader - Convert all dark mode card colors from blue-tinted slate to completely neutral grey (zero saturation) - Update card-theme.css, card-theme-system.ts, globals.css, and radix-colors.ts - Update documentation to reflect neutral grey changes - Fixes dropdown overlap issue and provides truly colorless grey cards in dark mode
1 parent 213dfd6 commit 9dda78b

125 files changed

Lines changed: 9249 additions & 5921 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Open [http://localhost:3000](http://localhost:3000) to see WeWrite in action!
6060
- **[Current Architecture](docs/CURRENT_ARCHITECTURE.md)** - ⭐ **ESSENTIAL** - Complete system overview and architecture principles
6161
- **[Payment System Guide](docs/PAYMENT_SYSTEM_GUIDE.md)** - ⭐ **ESSENTIAL** - Complete USD payment system documentation
6262
- **[Performance Optimization Guide](docs/PERFORMANCE_OPTIMIZATION_GUIDE.md)** - ⭐ **ESSENTIAL** - Optimization strategies (90% cost reduction achieved)
63+
- **[Design System](docs/design-system.md)** - ⭐ **ESSENTIAL** - FloatingCard component system and glassmorphism guidelines
6364

6465
#### Quick Start Guides
6566
- **[Environment Quick Reference](docs/ENVIRONMENT_QUICK_REFERENCE.md)** - Development environment setup

app/admin/dashboard/page.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import { SubscriptionConversionFunnelWidget } from "../../components/admin/Subsc
4747
import { SubscriptionsOverTimeWidget } from "../../components/admin/SubscriptionsOverTimeWidget";
4848
import { SubscriptionRevenueWidget } from "../../components/admin/SubscriptionRevenueWidget";
4949

50-
import { DashboardErrorBoundary, WidgetErrorBoundary } from "../../components/admin/DashboardErrorBoundary";
50+
import { UnifiedErrorBoundary } from "../../components/utils/UnifiedErrorBoundary";
5151
import { DashboardGridSkeleton, DateRangeFilterSkeleton } from "../../components/admin/DashboardSkeleton";
5252
import './dashboard.css';
5353

@@ -379,7 +379,7 @@ export default function AdminDashboardPage() {
379379

380380
{/* Dashboard Content */}
381381
<div className="py-6 px-6">
382-
<DashboardErrorBoundary>
382+
<UnifiedErrorBoundary>
383383
{(() => {
384384
if (dashboardLoading) {
385385
console.log('🔄🔄🔄 Dashboard is loading, showing skeleton 🔄🔄🔄');
@@ -396,13 +396,13 @@ export default function AdminDashboardPage() {
396396
<>
397397
{/* Desktop-Optimized Dashboard - Full Width */}
398398
<div className="w-full">
399-
<DashboardErrorBoundary>
399+
<UnifiedErrorBoundary>
400400
<DesktopOptimizedDashboard
401401
dateRange={dateRange}
402402
granularity={granularity}
403403
globalFilters={globalFilters}
404404
/>
405-
</DashboardErrorBoundary>
405+
</UnifiedErrorBoundary>
406406
</div>
407407
</>
408408
);
@@ -417,13 +417,13 @@ export default function AdminDashboardPage() {
417417
const WidgetComponent = widget.component;
418418
return (
419419
<DraggableWidget key={widget.id} id={widget.id} index={index} moveWidget={moveWidget}>
420-
<WidgetErrorBoundary widgetName={widget.id}>
420+
<UnifiedErrorBoundary>
421421
<WidgetComponent
422422
dateRange={dateRange}
423423
granularity={granularity}
424424
globalFilters={globalFilters}
425425
/>
426-
</WidgetErrorBoundary>
426+
</UnifiedErrorBoundary>
427427
</DraggableWidget>
428428
);
429429
})}
@@ -433,7 +433,7 @@ export default function AdminDashboardPage() {
433433
}
434434
}
435435
})()}
436-
</DashboardErrorBoundary>
436+
</UnifiedErrorBoundary>
437437
</div>
438438
</div>
439439
</DndProvider>

0 commit comments

Comments
 (0)