-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
feat(organizations): Add button and modal for inviting new org members TASK-1373 #5460
base: main
Are you sure you want to change the base?
Conversation
…ember Conflicts: jsapp/js/theme/kobo/index.ts
put basic data back into select remove todo comment about text input
<ButtonNew size='lg' onClick={open}> | ||
{t('Invite members')} | ||
</ButtonNew> | ||
<Modal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say let's move this modal to a separate file and load it in the MembersRoute. It's going to get rather large once we start adding in the actual content.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few initial change requests
moved modal to new file added MMO role check to invite button
<Divider /> | ||
<Group w='100%' justify='space-between'> | ||
<Stack gap='xs' pt='xs' pb='xs'> | ||
<Title order={5}>{t('Invite members')}</Title> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -3,7 +3,8 @@ | |||
* For our sanity, use camel case and match key with value. | |||
*/ | |||
export enum FeatureFlag { | |||
exampleFeatureEnabled = 'exampleFeatureEnabled', //Comment out when we have active FFs | |||
//exampleFeatureEnabled = 'exampleFeatureEnabled', //Comment out when we have active FFs | |||
inviteOrgMembers = 'inviteOrgMembers', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inviteOrgMembers = 'inviteOrgMembers', | |
orgMemberInvitesEnabled = 'orgMemberInvitesEnabled', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few minor comments
🗒️ Checklist
<type>(<scope>)<!>: <title> TASK-1234
frontend
orbackend
unless it's global📣 Summary
Adds UI to invite members to an MMO.
💭 Notes
Just the UI itself, currently does not send or receive any requests. Made with mantine components.
👀 Preview steps
Bug template:
ff_inviteOrgMembers=true