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

Improve download stats embed #35

Open
dlamkins opened this issue Dec 9, 2022 · 1 comment
Open

Improve download stats embed #35

dlamkins opened this issue Dec 9, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@dlamkins
Copy link
Owner

dlamkins commented Dec 9, 2022

It would look nicer if the redash embeds went all the way to the edge of the card and if we somehow used a dark mode. The hight is also kind of a random guess.

Perhaps Redash has an API that we can query this data from to give us better control in displaying it.

image

Example embed URL:
https://dashboards.blishhud.com/embed/query/21/visualization/32?api_key=WgbLIl20YAQQvaGy8khDWnCQSJ3dRt3loEJ1boip&p_$module_namespaces=${namespace}&p_RelativeDaysSince=15&hide_parameters=true&hide_header=true&hide_link=true

@dlamkins dlamkins added the enhancement New feature or request label Dec 9, 2022
@dlamkins
Copy link
Owner Author

dlamkins commented Aug 1, 2023

Additionally, since we don't scrape the prerelease repo, we don't dump download numbers into Redash for prereleases. This isn't normally all that noticeable, but for modules which have only ever had a prerelease, users will see a broken chart instead of what is actually expected:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant