Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions frontend/lib/presentation/common_widgets/adaptive_navigation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import 'package:resellio/presentation/profile/pages/profile_page.dart';
import 'package:resellio/presentation/organizer/pages/organizer_dashboard_page.dart';
import 'package:resellio/presentation/admin/pages/admin_dashboard_page.dart';
import 'package:resellio/presentation/organizer/pages/organizer_events_page.dart';
import 'package:resellio/presentation/organizer/pages/organizer_stats_page.dart';
import 'package:resellio/core/models/user_model.dart';

class AdaptiveNavigation extends StatefulWidget {
Expand Down Expand Up @@ -42,7 +41,6 @@ class _AdaptiveNavigationState extends State<AdaptiveNavigation> {
return [
const OrganizerDashboardPage(),
const OrganizerEventsPage(),
const OrganizerStatsPage(),
const ProfilePage(),
];
case UserRole.admin:
Expand Down Expand Up @@ -92,11 +90,6 @@ class _AdaptiveNavigationState extends State<AdaptiveNavigation> {
selectedIcon: Icon(Icons.event_note),
label: 'My Events',
),
NavigationDestination(
icon: Icon(Icons.bar_chart_outlined),
selectedIcon: Icon(Icons.bar_chart),
label: 'Statistics',
),
NavigationDestination(
icon: Icon(Icons.person_outline),
selectedIcon: Icon(Icons.person),
Expand Down Expand Up @@ -166,11 +159,6 @@ class _AdaptiveNavigationState extends State<AdaptiveNavigation> {
selectedIcon: Icon(Icons.event_note),
label: Text('My Events'),
),
NavigationRailDestination(
icon: Icon(Icons.bar_chart_outlined),
selectedIcon: Icon(Icons.bar_chart),
label: Text('Statistics'),
),
NavigationRailDestination(
icon: Icon(Icons.person_outline),
selectedIcon: Icon(Icons.person),
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 1 addition & 12 deletions frontend/lib/presentation/organizer/widgets/quick_actions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,7 @@ class QuickActions extends StatelessWidget {
icon: Icons.add_circle_outline,
color: Colors.green,
onTap: () => context.push('/organizer/create-event'),
),
_ActionCard(
title: 'View Analytics',
icon: Icons.bar_chart,
color: Colors.blue,
onTap: () {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(
content: Text('Statistics page - Coming Soon!')),
);
},
),
)
],
),
),
Expand Down

This file was deleted.