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

Add UI for inviting users to an organization #328

Merged

Conversation

joshua-rdrgz
Copy link
Collaborator

This PR contains a component similar to the "Create Organization" dialog button. It is a button that triggers a dialog/modal with a form for the user to input the invited user's email and their role. We'll later plug this with the related backend API.

I utilized the UserRoles enum from frontend/models/profile.ts that models itself after the enum from backend/database/models/user.py.

Screenshots

Screenshot 2024-02-17 at 12 07 20 AM
Screenshot 2024-02-17 at 12 07 38 AM

Dialog shows form for users to invite other users
@joshua-rdrgz joshua-rdrgz added enhancement New feature or request frontend labels Feb 17, 2024
Copy link
Collaborator

@DMalone87 DMalone87 left a comment

Choose a reason for hiding this comment

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

Excellent! Thanks!

@DMalone87 DMalone87 merged commit 0bd162c into codeforboston:main Feb 22, 2024
3 checks passed
@joshua-rdrgz joshua-rdrgz deleted the josh/epic-2/invite-user-ui branch February 22, 2024 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants