| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
WalkthroughAdds Ask chat usage metrics to the analytics dashboard by integrating chat creation audit logging, extending analytics queries to aggregate chat events, and refactoring the analytics UI to display metrics with period-based filtering (daily/weekly/monthly). Updates documentation and audit action types accordingly. Changes
Sequence DiagramsequenceDiagram
participant User
participant ChatAction as Chat Action<br/>(createChat)
participant AuditService as Audit Service
participant Database as Database
participant AnalyticsQuery as Analytics Query
participant Dashboard as Analytics Dashboard
User->>ChatAction: Create Ask chat
ChatAction->>AuditService: Log chat creation
AuditService->>Database: Store user.created_ask_chat audit entry
Dashboard->>AnalyticsQuery: Fetch metrics for period
AnalyticsQuery->>Database: Query aggregated metrics<br/>(active_users, code_searches,<br/>navigations, ask_chats)
Database-->>AnalyticsQuery: Return aggregated data
AnalyticsQuery-->>Dashboard: Return analytics response
Dashboard->>Dashboard: Filter data by selected period<br/>(daily/weekly/monthly)
Dashboard-->>User: Display metrics with Ask Chats
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Suggested reviewers
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧹 Recent nitpick comments packages/db/tools/scripts/inject-audit-data.ts (2)packages/web/src/features/chat/actions.ts (1) 📜 Recent review details Configuration used: Organization UI Review profile: CHILL Plan: Pro 📥 CommitsReviewing files that changed from the base of the PR and between a6e2b69 and 527e8e0. ⛔ Files ignored due to path filters (4)
📄 CodeRabbit inference engine (.cursor/rules/cloud_agent.mdc)
Files:
packages/web/src/ee/features/audit/factory.ts (1)⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
CHANGELOG.md (1)docs/docs/features/analytics.mdx (1) ✏️ Tip: You can disable this entire section by setting review_details to false in your review settings. 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. ❤️ ShareComment @coderabbitai help to get the list of available commands and usage tips. |
Sorry, something went wrong.
|
✅ Actions performed
Review triggered.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary by CodeRabbit
New Features
Documentation
Changes
✏️ Tip: You can customize this high-level summary in your review settings.