Skip to content

fix(frontend): InviteUserDialog uses hardcoded mock users #3985

@mrveiss

Description

@mrveiss

Problem

InviteUserDialog invitation feature only works with 5 hardcoded test accounts, blocking real user collaboration.

Root Cause

Line 39 in InviteUserDialog.vue uses hardcoded mock users instead of fetching from backend API:

const mockUsers = [
  { id: 'user-1', username: 'alice', ... },
  { id: 'user-2', username: 'bob', ... },
  // ... 3 more hardcoded users
]

Impact

Files

  • autobot-frontend/src/components/collaboration/InviteUserDialog.vue

Solution

Replace mockUsers with API call to /api/users or equivalent endpoint

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions