Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

Published assistants support multiple owners in the backend (owner_ids field), but the frontend lacked any interface to manage them beyond the initial creator.

Changes

New Component: OwnersStep

  • Input-based UI for adding/removing owners via lhmObjectID
  • Step 6 in EditAssistantDialog (published assistants only)
  • Validation: prevents empty input, duplicates, and removing the last owner
  • Visual "You" indicator for current user

State Management

  • Added updateOwnerIds callback to useAssistantState hook
  • Wired to existing owner_ids state, included in save payload

Integration

Step order for published assistants:

  1. Details → 2. Tools → 3. Quick Prompts → 4. Examples → 5. Visibility → 6. Owners → 7. Advanced Settings

i18n

Complete translations for all owner management strings (de, en, bar, fr, uk)

Implementation Notes

  • Uses onKeyDown for Enter key handling
  • Disables delete button when ownerIds.length === 1
  • No backend changes required - API already accepts owner_ids array in update payload

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add functionality to allow multiple owners for assistants Add owners management UI for published assistants Jan 28, 2026
Copilot AI requested a review from Meteord January 28, 2026 11:39
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