-
Notifications
You must be signed in to change notification settings - Fork 0
DBP-39: Implement point system #8
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
Conversation
pan93412
commented
Sep 16, 2025
- feat: implement points and events
- feat: implement events
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request implements a comprehensive point system with events tracking for user activities. The changes introduce event logging for user logins and impersonation, automatic point granting based on login patterns, and asynchronous event processing to avoid blocking the main request flow.
- Implements event system to track user activities (login, impersonation)
- Adds points granting system with daily and weekly login rewards
- Introduces asynchronous event processing with worker synchronization
Reviewed Changes
Copilot reviewed 65 out of 66 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
internal/events/ |
Core event service and points granting system implementation |
internal/workers/workers.go |
Global worker synchronization for async event processing |
internal/useraccount/ |
Updates to integrate event service into user authentication flow |
ent/schema/ |
New database schemas for Events and Points entities |
graph/ |
GraphQL schema updates and resolver changes for new entities |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 65 out of 66 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.