Skip to content

Refactor `RemoveMemberModal` into members Vue app

Coung Ngo requested to merge cngo-refactor-remove-member-modal into master

What does this MR do?

This MR refactors RemoveMemberModal into the members Vue app.

Before this change, RemoveMemberModal was mounted on the page separately from the Vue app. RemoveMemberModal listened for clicks of the remove member button and read data from the button's HTML dataset.

This change moves RemoveMemberModal into the Vue app. Clicking the remove member button now directly shows RemoveMemberModal. RemoveMemberModal now reads data from the Vue app's Vuex store, in keeping with the app's state architecture.

The ability to remove members on the admin project and group overview was removed in !65180 (merged), so the Vue mounting code was deleted for those pages too.

Screenshots or Screencasts (strongly suggested)

No visual changes.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading