feat: members settings (#4788)

* feat: add member settings

* feat: fetch workspace members from server

* feat: add translations

* feat: implement invite feature

* feat: support inviting people via email

* feat: support updating member role

* feat: add feature flag to control the visibilty of members settings
This commit is contained in:
Lucas.Xu
2024-03-03 08:36:12 +07:00
committed by GitHub
parent f7233f6949
commit 8732c3c28b
13 changed files with 808 additions and 75 deletions

View File

@ -180,16 +180,16 @@ pub enum UserEvent {
#[event(output = "NotificationSettingsPB")]
GetNotificationSettings = 36,
#[event(output = "AddWorkspaceMemberPB")]
#[event(input = "AddWorkspaceMemberPB")]
AddWorkspaceMember = 37,
#[event(output = "RemoveWorkspaceMemberPB")]
#[event(input = "RemoveWorkspaceMemberPB")]
RemoveWorkspaceMember = 38,
#[event(output = "UpdateWorkspaceMemberPB")]
#[event(input = "UpdateWorkspaceMemberPB")]
UpdateWorkspaceMember = 39,
#[event(output = "QueryWorkspacePB")]
#[event(input = "QueryWorkspacePB", output = "RepeatedWorkspaceMemberPB")]
GetWorkspaceMember = 40,
#[event(input = "ImportAppFlowyDataPB")]