devlup-labs / devlup-labs/devlup-backend

Bug: Double "Home" entries in /stats Popular Pages chart

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

In the analytics dashboard at the /stats endpoint, the "Popular Pages" horizontal bar chart is displaying duplicate entries for the home page, skewing the overall analytics.

1. First "Home" Entry: Appears as the 2nd most popular page with approximately 7,500 views.
2. Second "Home" Entry: Appears at the bottom of the chart (5th place) with approximately 2,500 views.

This is likely caused by the backend failing to normalize the route strings before grouping them for the database query.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.