Rozšířené statistiky #33

Open
opened 2026-02-04 14:28:30 +01:00 by batmanisko · 0 comments
Member

Feature: Extended Statistics

FeatureRequest enum: STATISTICS
Description: Statistiky (nejoblíbenější podnik, nejpopulárnější jídla, nejobjednávanější pizzy, nejčastější uživatelé, ...)

Implementation Notes

Expand the statistics page with richer data and visualizations.

Key files to modify:

  • server/src/stats.ts – Add new statistical queries (most popular restaurant, most ordered meals, most ordered pizzas, most active users)
  • client/src/pages/StatsPage.tsx – Add new charts/tables for the extended statistics

Approach:

  1. Add server-side aggregation queries for:
    • Most popular restaurant (by number of selections)
    • Most popular meals (across all restaurants)
    • Most ordered pizzas (from Pizza day data)
    • Most active/frequent users
    • Trends over time (weekly/monthly)
  2. Create appropriate API endpoints to serve this data
  3. Add visualizations on the stats page (bar charts, pie charts, leaderboards)
  4. Consider date range filtering for statistics
## Feature: Extended Statistics **FeatureRequest enum:** `STATISTICS` **Description:** Statistiky (nejoblíbenější podnik, nejpopulárnější jídla, nejobjednávanější pizzy, nejčastější uživatelé, ...) ### Implementation Notes Expand the statistics page with richer data and visualizations. **Key files to modify:** - `server/src/stats.ts` – Add new statistical queries (most popular restaurant, most ordered meals, most ordered pizzas, most active users) - `client/src/pages/StatsPage.tsx` – Add new charts/tables for the extended statistics **Approach:** 1. Add server-side aggregation queries for: - Most popular restaurant (by number of selections) - Most popular meals (across all restaurants) - Most ordered pizzas (from Pizza day data) - Most active/frequent users - Trends over time (weekly/monthly) 2. Create appropriate API endpoints to serve this data 3. Add visualizations on the stats page (bar charts, pie charts, leaderboards) 4. Consider date range filtering for statistics
batmanisko added the Vylepšení label 2026-02-04 14:30:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Marbes/Luncher#33