Skip to content

Profile view #96

Description

@dr5t

Describe the bug

The Profile Views widget throws a validation error saying "Color not valid 0" when generating a GitHub Profile README. The generator does not accept the default color value and prevents the Profile Views badge from being configured correctly.

To Reproduce

  1. Go to https://gprm.itsvg.in
  2. Enable the "Profile Views" section.
  3. Leave the default color value as 0 or select the default option.
  4. Generate the README.
  5. Observe the error message: "Color not valid 0".

Expected behavior

The Profile Views badge should generate successfully using the default color option, or the application should automatically substitute a valid color value instead of displaying a validation error.

Screenshots

Attached screenshot showing the error message:

Image

Profile views — Color not valid 0

Desktop

  • OS: macOS
  • Browser: Google Chrome
  • Version: Latest stable version

Smartphone

Tested on mobile devices.

Additional context

The issue appears to be related to validation of the Profile Views badge color parameter. The generated badge previously worked correctly, but the generator now rejects the value 0 as an invalid color. Manually specifying a valid color name or hex code may work as a temporary workaround.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions