Skip to content

Conversation

@WojciechMat
Copy link
Collaborator

@WojciechMat WojciechMat commented Jun 16, 2025

Remove duplicate statistics functionality from organizer view

Cleaned up organizer interface by removing redundant statistics page and "View Analytics" quick action. The dashboard already shows all the same stats (total events, active events, pending events, total tickets), so having a separate statistics page was unnecessary duplication.

Changes:

  • Removed Statistics tab from organizer navigation
  • Deleted statistics page, cubit, and state files
  • Removed "View Analytics" quick action button
  • Simplified organizer navigation to: Dashboard → My Events → Profile

This makes the organizer experience cleaner and less confusing by keeping all key metrics centralized on the dashboard.

@WojciechMat WojciechMat changed the base branch from main to dev June 16, 2025 12:05
Copy link
Collaborator

@kryczkal kryczkal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kryczkal kryczkal requested a review from Copilot June 16, 2025 12:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the duplicate statistics functionality from the organizer view to streamline the interface and centralize key metrics on the dashboard.

  • Removed the Statistics tab, statistics page, related cubit/state files, and the "View Analytics" quick action.
  • Updated navigation in both bottom navigation and navigation rail to reflect the removal.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
frontend/lib/presentation/organizer/widgets/stats_summary_card.dart Removed redundant UI component for statistics summary
frontend/lib/presentation/organizer/widgets/quick_actions.dart Removed the "View Analytics" quick action button
frontend/lib/presentation/organizer/pages/organizer_stats_page.dart Deleted the entire statistics page and its related view logic
frontend/lib/presentation/organizer/cubit/organizer_stats_state.dart Deleted the state management files for statistics
frontend/lib/presentation/organizer/cubit/organizer_stats_cubit.dart Removed the cubit which was responsible for statistics logic
frontend/lib/presentation/common_widgets/adaptive_navigation.dart Removed navigation entries for the Statistics page

@WojciechMat WojciechMat merged commit 904c1fa into dev Jun 16, 2025
2 checks passed
@WojciechMat WojciechMat deleted the WojciechMat/clean-organizer-view branch June 16, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants