Skip to content

Bug: Subdirectories registered as projects with 0m duration and hidden on 'My Projects' page #1683

Description

Problem Description

There is a discrepancy between the Project Durations chart and the My Projects overview page. Subdirectories (like css and _layouts) are incorrectly being classified as standalone projects with 0m time, but they do not appear under the My Projects dashboard.

Steps to Reproduce

  1. Open a project that contains subfolders such as css/ or _layouts/.
  2. View the dashboard under Project Durations.
  3. Observe that subfolders are listed as separate projects with 0m duration.
  4. Navigate to My Projects and notice only the main project is listed (1 project instead of 3).

Expected Behavior

  • Subdirectories should not be parsed as separate projects unless explicitly configured with a .wakatime-project file.
  • The project count and list in Project Durations should consistently match the list displayed on the My Projects page.

Actual Behavior

The parser extracts subfolders as individual projects with 0m time on the duration breakdown, but the My Projects list excludes them, creating inconsistent UI states.

Screenshots

  • Project Durations showing 3 projects (Raise your Builder page, css, _layouts):
    Project Durations Screenshot

  • My Projects page showing only 1 active project:
    My Projects Screenshot

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions