feat: Content Agent usage dashboard page#24
Conversation
- New /content route with table, bar chart, and period selector - Integrates with GET /api/admins/content/slack endpoint - Displays user, timestamp, prompt, and video link columns - Follows existing admin page patterns (Privy Logins) - Adds nav link to admin home dashboard Co-Authored-By: Paperclip <noreply@paperclip.ing>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
- Keep both coding and content nav buttons from merge - Rename total_video_links → total_videos - Rename tags_with_video_links → tags_with_videos Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
DRY - Why isn't this using the shared chart component like the other admin pages?
There was a problem hiding this comment.
DRY - why recreate this component instead of using existing period selector components?
lib/contentSlack/getTagsByDate.ts
Outdated
| count: number; | ||
| }; | ||
|
|
||
| export function getTagsByDate(tags: ContentSlackTag[]): TagsByDatePoint[] { |
There was a problem hiding this comment.
DRY - How is this different from the existing lib for the coding agent?
Replace ContentSlackChart, ContentSlackPeriodSelector, and contentSlack/getTagsByDate with shared AdminLineChart, PeriodSelector, and coding-agent/getTagsByDate. Use AdminPeriod type throughout. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Match the coding agent table by displaying the Slack profile picture next to the user name in the Content Agent table. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
/contentadmin page displaying Content Agent Slack tag usage dataGET /api/admins/content/slackendpoint (REC-16)Test plan
/contentpage and verify table renders with correct columnsGenerated with Claude Code