[WEB-4959]chore: refactor project member page #8464
This commit is contained in:
parent
031baaa162
commit
c97e418515
15 changed files with 85 additions and 51 deletions
|
|
@ -0,0 +1,10 @@
|
|||
import { observer } from "mobx-react";
|
||||
|
||||
type TProjectMembersActivityButtonProps = { workspaceSlug: string; projectId: string };
|
||||
|
||||
export const ProjectMembersActivityButton = observer(function ProjectMembersActivityButton(
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
props: TProjectMembersActivityButtonProps
|
||||
) {
|
||||
return <></>;
|
||||
});
|
||||
10
apps/web/ce/components/settings/right-sidebar.tsx
Normal file
10
apps/web/ce/components/settings/right-sidebar.tsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { observer } from "mobx-react";
|
||||
|
||||
type TSettingsRightSidebarProps = { workspaceSlug: string; projectId?: string };
|
||||
|
||||
export const SettingsRightSidebar = observer(function SettingsRightSidebar(
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
props: TSettingsRightSidebarProps
|
||||
) {
|
||||
return <></>;
|
||||
});
|
||||
|
|
@ -1 +0,0 @@
|
|||
export * from "./root";
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
import { observer } from "mobx-react";
|
||||
|
||||
type TWorkspaceSettingsRightSidebarProps = { workspaceSlug: string };
|
||||
|
||||
export const WorkspaceSettingsRightSidebar = observer(function WorkspaceSettingsRightSidebar(
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
props: TWorkspaceSettingsRightSidebarProps
|
||||
) {
|
||||
return <></>;
|
||||
});
|
||||
|
|
@ -41,4 +41,13 @@ export class ProjectMemberStore extends BaseProjectMemberStore implements IProje
|
|||
* @param userId - The ID of the user to remove from the project
|
||||
*/
|
||||
processMemberRemoval = (projectId: string, userId: string) => this.handleMemberRemoval(projectId, userId);
|
||||
|
||||
/**
|
||||
* @description Mutate project members activity
|
||||
* @param workspaceSlug
|
||||
* @param projectId
|
||||
*/
|
||||
mutateProjectMembersActivity = async (_workspaceSlug: string, _projectId: string) => {
|
||||
// No-op in default/CE version
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue