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

Remove unused max aggregate #1

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Conversation

timacdonald
Copy link
Contributor

This is excellent. Love seeing some cards in the wild.

Just took a look over it. You can remove the max call here, as you aren't collecting any values to keep a "max" of, nor are you displaying the max aggregate anywhere.

The count aggregate allows you to sort by the number of times the value is seen, which means you can show a "leaderboard" card with the URLs hit most that respond with a 404, which I believe is the intention of the card.

Thanks for building one of the very first cards for Pulse 🎉

@geowrgetudor geowrgetudor merged commit 79dc12f into geowrgetudor:main Dec 7, 2023
5 of 9 checks passed
@geowrgetudor
Copy link
Owner

Missed that one, thanks!
Great work on your side as well guys 👍

@timacdonald timacdonald deleted the max branch December 7, 2023 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants