Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
📝 WalkthroughWalkthroughThis PR updates the audit logs query functionality by modifying the handling of time parameters and cursor values. The changes remove the use of the derived Changes
Sequence Diagram(s)sequenceDiagram
participant UI as Dashboard UI
participant Hook as useAuditLogsQuery Hook
participant TRPC as Audit Router
participant DB as Database
UI->>Hook: Request audit logs with filters (startTime, endTime, cursor)
Hook->>TRPC: Send query payload (undefined time values, simplified cursor)
TRPC->>DB: Execute query with conditional time filtering (between or retention cutoff)
DB-->>TRPC: Return filtered logs
TRPC-->>Hook: Deliver results
Hook-->>UI: Update logs display
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
⏰ Context from checks skipped due to timeout of 90000ms (20)
🔇 Additional comments (10)
✨ Finishing Touches
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:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Thank you for following the naming conventions for pull request titles! 🙏 |
What does this PR do?
Fixes # (issue)
If there is not an issue for this, please create one first. This is used to tracking purposes and also helps use understand why this PR exists
Type of change
How should this be tested?
Checklist
Required
pnpm buildpnpm fmtconsole.logsgit pull origin mainAppreciated
Summary by CodeRabbit