Skip to content
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

fix(console): Group invite delete button not working #2694

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

Cosmin-Parvulescu
Copy link
Contributor

Description

  • Added platform level endpoints for removing invitations
  • Reused claimInvitation, now clearInvitation
  • Added inv removal modal

Related Issues

Testing

image image

Checklist

  • I have read the CONTRIBUTING guidelines
  • I have tested my code (manually and/or automated if applicable)
  • I have updated the documentation (if necessary)

@Cosmin-Parvulescu Cosmin-Parvulescu added the bug Indicates an unexpected problem or unintended behavior label Sep 18, 2023
@Cosmin-Parvulescu Cosmin-Parvulescu self-assigned this Sep 18, 2023
@Cosmin-Parvulescu Cosmin-Parvulescu added the enhancement Indicates new feature requests label Sep 18, 2023
</section>

<div className="flex justify-end items-center space-x-3">
<Button btnType="secondary-alt">Cancel</Button>
Copy link
Contributor

Choose a reason for hiding this comment

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

Cancel button doesn't appear to cancel the modal.

<input name="invitationCode" type="hidden" value={invitationCode} />
<div className="flex flex-row items-center justify-between w-full mb-2">
<Text size="lg" weight="medium" className="text-gray-900">
Remove Invitation
Copy link
Contributor

Choose a reason for hiding this comment

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

"Cancel invitation"


<section className="mb-4">
<Text size="sm" weight="normal" className="text-gray-500 my-3">
Are you sure you want to cancel “{userAlias}”'s invitation?
Copy link
Contributor

Choose a reason for hiding this comment

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

"Are you sure you want to cancel the invitation for {userAlias}?"

<div className="flex justify-end items-center space-x-3">
<Button btnType="secondary-alt">Cancel</Button>
<Button type="submit" btnType="dangerous">
Uninvite Member
Copy link
Contributor

Choose a reason for hiding this comment

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

Cancel invitation

purge?: boolean
}) => {
return (
<Modal isOpen={isOpen} handleClose={handleClose}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make this the "standard" modal with the X at the top-right to cancel?

@Cosmin-Parvulescu
Copy link
Contributor Author

image

@betimshahini betimshahini merged commit b275dce into main Sep 19, 2023
14 checks passed
@betimshahini betimshahini deleted the fix/console/Group-invite-delete-button-not-working branch September 19, 2023 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior enhancement Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix(console): Group invite delete button not working
2 participants