[WEB-4959]chore: refactor project member page #8464

This commit is contained in:
b-saikrishnakanth 2025-12-30 14:59:16 +05:30 committed by GitHub
parent 031baaa162
commit c97e418515
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 85 additions and 51 deletions

View file

@ -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 <></>;
});

View 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 <></>;
});

View file

@ -1 +0,0 @@
export * from "./root";

View file

@ -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 <></>;
});

View file

@ -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
};
}