Skip to content

Conversation

@Coderx85
Copy link
Owner

@Coderx85 Coderx85 commented Jan 1, 2026

  • Restrucuture the components folder.
  • Refactor imports and remove unused sidebar configuration files; add NotFound component and health check API route.
  • Implement the members table.
  • Refactor admin routes.
  • Add organization settings page and permission checks for admin roles.
  • Add admin dashboard components for meeting analytics and member management.
  • Update loginAction to return organization existence status in response.
  • Refactor admin dashboard routes and components; update Docker Hub token in CI workflow.
  • feat: Implement custom participant view and layouts with role indicators and audio level visualization.
  • feat: Implement workspace context sync, enhanced meeting participant actions, and audio level indicators.
  • refactor: Reimplement meeting participant views using Stream SDK layouts with custom UI components and add a new database migration.

Copilot AI review requested due to automatic review settings January 1, 2026 13:57
@vercel
Copy link

vercel bot commented Jan 1, 2026

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

Project Deployment Review Updated (UTC)
collaro Ready Ready Preview Jan 1, 2026 2:17pm

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements a comprehensive admin dashboard feature with significant restructuring of the component architecture and addition of meeting analytics and member management capabilities.

Key Changes:

  • Added admin dashboard with meeting analytics (daily/weekly charts)
  • Implemented meeting participants tracking with a new database table
  • Refactored permission system to use organization-based permissions
  • Added custom participant views with role indicators and audio visualization
  • Restructured components folder with better organization

Reviewed changes

Copilot reviewed 90 out of 103 changed files in this pull request and generated 26 comments.

Show a summary per file
File Description
src/types/database.ts Removed user role definitions, now imported from action types
src/types/api.ts Added new API response types and workspace member types
src/types/action.ts Expanded role types with admin and member specific types
src/lib/permission.ts Refactored to use organization permissions instead of workspace
src/hooks/useParticipantRole.ts New hook to fetch participant roles in meetings
src/hooks/useGetCallsBySlug.ts New hook to fetch calls by workspace slug
src/db/schema/schema.ts Added meeting participants table and meeting/participant status enums
src/components/workspace/meeting/participant/* New custom participant view components with role badges
src/components/workspace/admin/charts/* Admin dashboard analytics charts
src/action/user.action.ts Updated login to return organization existence status
src/action/participant.action.ts New action to get participant roles
src/action/meeting.action.ts Added meeting access checks and participant management
package.json Removed framer-motion, vitest dependencies; fixed "lin" typo to "lint"
.github/workflows/publish.yaml Updated Docker Hub token secret name
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

};

fetchRole();
}, [participant.userId, participant.custom, participant.name]);
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependency array is missing workspaceSlug which is used in the effect. This could cause stale data to be used if the workspace changes.

Copilot uses AI. Check for mistakes.
meeting: ["create"],
// Members can create and view organizations but cannot delete or update
organization: ["create", "view"],
meeting: ["create", "update", "delete"],
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Members are given "update" and "delete" permissions for meetings, but this seems overly permissive. Members should likely only be able to update/delete meetings they created, not all meetings. Consider restricting these permissions or implementing ownership checks.

Copilot uses AI. Check for mistakes.
@Coderx85 Coderx85 merged commit 03524d7 into main Jan 1, 2026
3 checks passed
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