Skip to content

Manage participants from UI #6087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

nathanmyee
Copy link

This PR adds the ability to manage (e.g. add or remove) participants from the UI.

Frontend Changes

  • Added confirmation dialogs: Created RemoveParticipantDialog.vue for both incidents and cases
  • Updated ParticipantsTab components: Added dropdown menu for participant addition
  • Store modifications: Added dialog state management in both incident and case stores
  • API updates: Added removeParticipant and addParticipant methods to both incident and case APIs
  • Refactored weblink UI for participants

Backend Changes

  • Enhanced participant flows: Added events in the timeline for adding/removing to/from conversations for both incident and case flows
  • Adding or removing a participant also adds or removes them from conversations (e.g. Slack)
  • Refactored the participant flow to support both cases and incidents
  • API updates: Added /{case_id}/remove/{email}, /{case_id}/add/{email}, /{incident_id}/remove/{email}, and /{incident_id}/add/{email}

Screenshots
Timeline event for being added to a conversation
Screenshot 2025-06-23 at 2 36 27 PM

Timeline event for being removed from a conversation
Screenshot 2025-06-23 at 2 11 30 PM

New UI to add participants from the dropdown menu and remove participants with the delete icon
Screenshot 2025-06-23 at 3 48 36 PM

Confirmation dialog before removing a participant
Screenshot 2025-06-23 at 3 46 24 PM

@nathanmyee nathanmyee added the enhancement New feature or request label Jun 24, 2025
@nathanmyee
Copy link
Author

@whitdog47 @aaronherman all checks are passing now! can I get a review whenever y'all get a chance? thank you!

log.warning("No conversation enabled for this case.")
return

slack_conversation_plugin.instance.remove_user(
Copy link
Contributor

Choose a reason for hiding this comment

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

One downside to this approach is that if the user was removed directly in the Slack channel, it will also kick off this flow, which will throw an error in remove_user() since they no longer exist in the channel.

log.warning("No conversation enabled for this incident.")
return

slack_conversation_plugin.instance.remove_user(
Copy link
Contributor

Choose a reason for hiding this comment

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

Same feedback as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants