Skip to content

Defer admin user activity loading#890

Draft
ryokun6 wants to merge 1 commit intomainfrom
cursor/admin-user-detail-performance-6835
Draft

Defer admin user activity loading#890
ryokun6 wants to merge 1 commit intomainfrom
cursor/admin-user-detail-performance-6835

Conversation

@ryokun6
Copy link
Copy Markdown
Owner

@ryokun6 ryokun6 commented Mar 8, 2026

Summary

  • stop loading admin user rooms and recent messages during initial profile open
  • move room/message activity into a dedicated lazy-loaded admin endpoint
  • add admin API coverage for the lightweight profile payload and on-demand activity fetch

Testing

  • bun run build
  • API_URL=http://localhost:3001 bun run test:admin
  • manual UI verification attempted, but local Vite /api proxy returned 403 for authenticated admin requests while direct standalone API requests succeeded

Open in Web Open in Cursor 

Co-authored-by: Ryo Lu <me@ryo.lu>
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ryos Ready Ready Preview Mar 8, 2026 8:08pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants