-
-
Notifications
You must be signed in to change notification settings - Fork 84
v0.1.0-alpha.16 #361
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
v0.1.0-alpha.16 #361
Conversation
|
Note Reviews pausedUse the following commands to manage reviews:
Caution Review failedThe pull request is closed. WalkthroughIntroduces an organization-wide Activities feature with backend activity message generation and pagination, updates audit middleware to be per-route and async, adds new audit resource types and DB enum values, refactors containers UI to a table, adjusts settings UI and layout guards, updates API version date, and revises README install section. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant C as Client
participant R as Route Group
participant AM as AuditMiddleware (per-route)
participant H as Handler
participant S as AuditService
participant DB as DB
rect rgb(240,248,255)
note right of R: Per-group middleware with resourceType
C->>R: HTTP Request
R->>AM: Request (resourceType)
AM->>AM: Capture method/path/body, derive endpoint/resourceId
AM-->>H: Forward request (body restored)
H->>S: Handle domain logic
AM-->>AM: Async: LogAction(newValues, action, resourceType, endpoint)
AM->>DB: (async) Insert AuditLog
DB-->>AM: Ack
H-->>C: Response
end
sequenceDiagram
autonumber
participant UI as Activities Page
participant API as GET /audit/activities
participant CRTL as Audit Controller
participant SRV as AuditService
participant DB as DB
UI->>API: page, pageSize, search, resource_type
API->>CRTL: Request
CRTL->>SRV: GetActivitiesByOrganization(...)
SRV->>DB: Query audit logs (filters, pagination)
DB-->>SRV: Logs, totalCount
SRV->>SRV: Map to ActivityMessage + colors/messages
SRV-->>CRTL: activities, totalCount
CRTL-->>UI: { activities, pagination }
UI->>UI: Render list, client-side paging/sort
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related PRs
Suggested labels
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (26)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@coderabbitai pause |
✅ Actions performedReviews paused. |
Summary by CodeRabbit