Skip to content

[BUG] - Project name with dashes is truncated in analytics dashboard #4

@thunter009

Description

@thunter009

Describe the bug
The analytics dashboard incorrectly parses project names that contain dashes. It only displays the part of the name that comes after the final dash. For example, a project named awesome-project-viewer is displayed simply as viewer.

To Reproduce
Steps to reproduce the behavior:

  1. Have a project with a dash-separated name (e.g., awesome-project-viewer).
  2. Generate some data for the project.
  3. Go to the 'Analytics Dashboard'.
  4. See the project name is truncated, showing only the last segment of the name.

Expected behavior
The analytics dashboard should display the full, original project name, including dashes. For example, awesome-project-viewer should be displayed as awesome-project-viewer.

Additional context
This makes it confusing to use the analytics dashboard, as I have to mentally map the truncated name back to the full repository name. Most of my projects use the kebab-case naming convention, so this bug affects the majority of my repositories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions