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

feat: show oyster contribution stats in admin dashboard 📊 #390

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

tomas-salgado
Copy link
Collaborator

@tomas-salgado tomas-salgado commented Jul 20, 2024

Description ✏️

This PR implements a script that extracts information regarding the number of unique contributors to Oyster. Specifically, running this script will give the data on how many unique contributors have implemented a feature fix, bug fix, or other type of contribution.

Type of Change 🐞

  • Feature - A non-breaking change which adds functionality.
  • Fix - A non-breaking change which fixes an issue.
  • Refactor - A change that neither fixes a bug nor adds a feature.
  • Documentation - A change only to in-code or markdown documentation.
  • Tests - A change that adds missing unit/integration tests.
  • Chore - A change that is likely none of the above.

Checklist ✅

  • I have done a self-review of my code.
  • I have manually tested my code (if applicable).
  • I have added/updated any relevant documentation (if applicable).

Copy link
Member

@ramiAbdou ramiAbdou left a comment

Choose a reason for hiding this comment

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

Yo, thinking through this a bit more, can we actually expose this in the Admin Dashboard so that it's easier to access at any point? Thinking we can just expose a modal at like /github/contributions that just displays some of this information. We can store the GitHub API token as an environment variable in the admin-dashboard app.

packages/scripts/src/contributions-data.ts Outdated Show resolved Hide resolved
@ramiAbdou ramiAbdou changed the title chore: contributions script 💻 feat: show oyster contribution stats in admin dashboard 📊 Jul 25, 2024
Copy link
Member

@ramiAbdou ramiAbdou left a comment

Choose a reason for hiding this comment

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

@tomas-salgado I ported your script (slightly simplified cause we just need stats right now) over to the Admin Dashboard, thank you for the legwork you did on this!

Oyster Stats

@ramiAbdou ramiAbdou merged commit 864a0ec into colorstackorg:main Jul 25, 2024
1 check passed
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