Skip to content

Comments

Feat: remove team member#342

Merged
7eliassen merged 6 commits intomainfrom
feat/remove-team-member
Feb 16, 2026
Merged

Feat: remove team member#342
7eliassen merged 6 commits intomainfrom
feat/remove-team-member

Conversation

@7eliassen
Copy link
Contributor

Added the ability to remove a team member from a note.
Users with 'write' access to a note can now remove other members from its team.

In the note's settings menu, a new "Remove" option has been added to the context menu (located right after role selector). This action requires confirmation before the member is actually removed.

@vercel
Copy link

vercel bot commented Feb 6, 2026

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

Project Deployment Actions Updated (UTC)
codex-ui Ready Ready Preview, Comment Feb 12, 2026 10:18pm

@7eliassen 7eliassen linked an issue Feb 6, 2026 that may be closed by this pull request
@neSpecc neSpecc requested a review from Copilot February 6, 2026 18:36
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

Adds a “Remove member” action to the Note Settings team list, wiring UI → application/domain → repository API to remove a collaborator (with confirmation) and refresh the displayed settings.

Changes:

  • Add a per-member “More actions” context menu with a “Remove” option and confirmation flow.
  • Bubble a “team member removed” event up to NoteSettings to reload note settings/team.
  • Add removeMemberByUserId through repository/service/composable layers and introduce new i18n strings.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/presentation/pages/NoteSettings.vue Listens for member-removed event and reloads note settings.
src/presentation/components/team/Team.vue Renders new per-member actions component and re-emits removal event upward.
src/presentation/components/team/MoreActions.vue New UI component showing context menu + confirmation + remove call.
src/infrastructure/noteSettings.repository.ts Adds DELETE call to remove a team member by userId.
src/domain/noteSettings.service.ts Exposes removeMemberByUserId in domain service.
src/domain/noteSettings.repository.interface.ts Extends repository interface with removeMemberByUserId.
src/application/services/useNoteSettings.ts Adds composable method for removing a team member.
src/application/i18n/messages/en.json Adds menu label and confirmation copy for removal.

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

@7eliassen 7eliassen merged commit 3fd9afa into main Feb 16, 2026
6 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.

Ability to remove a team member

2 participants