Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Details Sidebar Statistics behavior #14727

Closed
Tracked by #15871
miketheman opened this issue Oct 10, 2023 · 2 comments · Fixed by #16532
Closed
Tracked by #15871

Project Details Sidebar Statistics behavior #14727

miketheman opened this issue Oct 10, 2023 · 2 comments · Fixed by #16532
Labels
HTML requires change to HTML files UX/UI design, user experience, user interface

Comments

@miketheman
Copy link
Member

Eventually replace it with a new statistics sidebar that does the following:

  • if trusted publishing from GitHub has been used for the release:
  • if trusted publishing was not used, and a GitHub URL was provided in the metadata (e.g., we would currently show statistics):
    • don't fetch the statistics
    • instead, include a message + provide a link that indicates that trusted publishing should be used to enable GitHub statistics

Originally posted by @di in #14657 (comment)

@miketheman miketheman added UX/UI design, user experience, user interface HTML requires change to HTML files labels Oct 10, 2023
@lukehinds
Copy link

Please also expose this information via the API, something like trusted_published: true will do.

@VigneshVSV
Copy link

I dont use trusted publishing from Github (at least as far as I know) to publish my package. There's just a Github action now that uploads using my account's API key. Is this the reason why I dont see Github statistics on my package? (https://pypi.org/project/hololinked/)

When I uploaded the first version of my package using python command line tools, there was not a problem in showing the Github statistics. It has only recently disappeared, although visible for other repositories (i.e. seems to be an issue with my repository only and not the webpage itself).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTML requires change to HTML files UX/UI design, user experience, user interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@miketheman @lukehinds @VigneshVSV and others