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: add the activity insight #703

Merged
merged 4 commits into from
Jan 21, 2025
Merged

feat: add the activity insight #703

merged 4 commits into from
Jan 21, 2025

Conversation

xingwanying
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Jan 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
petercat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 3:39am

Copy link

Walkthrough

This pull request introduces a new feature to add activity insights into the application. It includes the implementation of a new API endpoint to fetch activity data for a given repository, processes the data to extract monthly insights, and adds corresponding unit tests to ensure functionality.

Changes

File Summary
server/insight/router.py Added a new API endpoint /activity to fetch activity insights.
server/insight/service/activity.py Implemented get_activity_data function to retrieve and process activity data from an external source.
server/insight/service/issue.py, server/insight/service/pr.py Removed unused imports.
server/tests/insight/test_activity.py Added unit tests for get_activity_data to verify its functionality with various scenarios.
🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@xingwanying xingwanying merged commit 2c53b08 into main Jan 21, 2025
3 of 4 checks passed
@xingwanying xingwanying deleted the feat_activity branch January 21, 2025 03:44
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.

1 participant