* style: improved profile settings * chore: minor improvements * style: improved workspace settings * style: workspace settings content * style: improved project settings * fix: project settings flat map * chore: add back navigation from settings pages * style: settings content * style: estimates list * refactor: remove old code * refactor: removed unnecessary line breaks * refactor: create a common component for page header * chore: add fade-in animation to sidebar * fix: formatting * fix: project settings sidebar header * fix: workspace settings sidebar header * fix: settings content wrapper scroll * chore: separate project settings features * fix: formatting * refactor: custom theme selector * refactor: settings headings * refactor: settings headings * fix: project settings sidebar padding * fix: sidebar header padding * fix: sidebar item permissions * fix: missing editable check * refactor: remove unused files * chore: remove unnecessary code * chore: add missing translations * fix: formatting
26 lines
629 B
TypeScript
26 lines
629 B
TypeScript
import { lazy, Suspense } from "react";
|
|
import { observer } from "mobx-react";
|
|
|
|
const ProfileSettingsModal = lazy(() =>
|
|
import("@/components/settings/profile/modal").then((module) => ({
|
|
default: module.ProfileSettingsModal,
|
|
}))
|
|
);
|
|
|
|
type TGlobalModalsProps = {
|
|
workspaceSlug: string;
|
|
};
|
|
|
|
/**
|
|
* GlobalModals component manages all workspace-level modals across Plane applications.
|
|
*
|
|
* This includes:
|
|
* - Profile settings modal
|
|
*/
|
|
export const GlobalModals = observer(function GlobalModals(_props: TGlobalModalsProps) {
|
|
return (
|
|
<Suspense fallback={null}>
|
|
<ProfileSettingsModal />
|
|
</Suspense>
|
|
);
|
|
});
|