Skip to content
New issue

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

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

Already on GitHub? # to your account

Add dynamic JS tree size counter #468

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Conversation

imjasonh
Copy link
Member

Summary

This adds a dynamic counter to rekor.sigstore.dev that updates every 10 seconds with the latest tree size.

Screenshot:
Screen Shot 2021-10-27 at 12 00 27 PM

There's obviously a lot of improvement we can make here to make this prettier, I wanted to start simple to get feedback. Feel free to reject this outright if this isn't something we want for whatever reason (e.g., load on the API).

I also wasn't able to get this running with make up, so I had to hack this together in Chrome devtools to ensure it works.

Ticket Link

Fixes #466

Release Note

Adds a JavaScript counter to the Rekor homepage (rekor.sigstore.dev) to dynamically show current tree size.

Signed-off-by: Jason Hall <jasonhall@redhat.com>
Copy link
Member

@bobcallaway bobcallaway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it!

@dlorenc dlorenc merged commit c8f6702 into sigstore:main Oct 29, 2021
@cpanato
Copy link
Member

cpanato commented Oct 29, 2021

love it

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show counter of items in Rekor on rekor.sigstore.dev
4 participants