-
-
+
+
{isAuthorized || !isAuthorizedPath ? (
{children}
@@ -40,6 +39,8 @@ export const ProfileAuthWrapper: React.FC
= observer((props) => {
)}
+
+
);
});
diff --git a/web/pages/[workspaceSlug]/profile/[userId]/assigned.tsx b/web/pages/[workspaceSlug]/profile/[userId]/assigned.tsx
index fe5de0454..0808b9503 100644
--- a/web/pages/[workspaceSlug]/profile/[userId]/assigned.tsx
+++ b/web/pages/[workspaceSlug]/profile/[userId]/assigned.tsx
@@ -12,7 +12,7 @@ const ProfileAssignedIssuesPage: NextPageWithLayout = () =>
}>
+
}>
{page}
);
diff --git a/web/pages/[workspaceSlug]/profile/[userId]/created.tsx b/web/pages/[workspaceSlug]/profile/[userId]/created.tsx
index d91dd8d65..76f4c1fba 100644
--- a/web/pages/[workspaceSlug]/profile/[userId]/created.tsx
+++ b/web/pages/[workspaceSlug]/profile/[userId]/created.tsx
@@ -14,7 +14,7 @@ const ProfileCreatedIssuesPage: NextPageWithLayout = () =>
}>
+
}>
{page}
);
diff --git a/web/pages/[workspaceSlug]/profile/[userId]/index.tsx b/web/pages/[workspaceSlug]/profile/[userId]/index.tsx
index f56a8c14f..486d8d7e3 100644
--- a/web/pages/[workspaceSlug]/profile/[userId]/index.tsx
+++ b/web/pages/[workspaceSlug]/profile/[userId]/index.tsx
@@ -56,7 +56,7 @@ const ProfileOverviewPage: NextPageWithLayout = () => {
ProfileOverviewPage.getLayout = function getLayout(page: ReactElement) {
return (
-
}>
+
}>
{page}
);
diff --git a/web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx b/web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx
index 44d802a1b..257c23655 100644
--- a/web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx
+++ b/web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx
@@ -14,7 +14,7 @@ const ProfileSubscribedIssuesPage: NextPageWithLayout = () =>
}>
+
}>
{page}
);
diff --git a/web/pages/profile/activity.tsx b/web/pages/profile/activity.tsx
index e76473cf4..d0c83ffdb 100644
--- a/web/pages/profile/activity.tsx
+++ b/web/pages/profile/activity.tsx
@@ -21,6 +21,7 @@ import { USER_ACTIVITY } from "constants/fetch-keys";
import { calculateTimeAgo } from "helpers/date-time.helper";
// type
import { NextPageWithLayout } from "lib/types";
+import { SidebarHamburgerToggle } from "components/core/sidebar/sidebar-menu-hamburger-toggle";
const userService = new UserService();
@@ -30,8 +31,10 @@ const ProfileActivityPage: NextPageWithLayout = observer(() => {
const { currentUser } = useUser();
return (
-
-
+
+
+
+
Activity
{userActivity ? (
@@ -94,12 +97,12 @@ const ProfileActivityPage: NextPageWithLayout = observer(() => {
const message =
activityItem.verb === "created" &&
- activityItem.field !== "cycles" &&
- activityItem.field !== "modules" &&
- activityItem.field !== "attachment" &&
- activityItem.field !== "link" &&
- activityItem.field !== "estimate" &&
- !activityItem.field ? (
+ activityItem.field !== "cycles" &&
+ activityItem.field !== "modules" &&
+ activityItem.field !== "attachment" &&
+ activityItem.field !== "link" &&
+ activityItem.field !== "estimate" &&
+ !activityItem.field ? (
created
@@ -187,6 +190,7 @@ const ProfileActivityPage: NextPageWithLayout = observer(() => {
)}
+
);
});
diff --git a/web/pages/profile/change-password.tsx b/web/pages/profile/change-password.tsx
index 59bc657c7..4641837fd 100644
--- a/web/pages/profile/change-password.tsx
+++ b/web/pages/profile/change-password.tsx
@@ -14,6 +14,7 @@ import { ProfileSettingsLayout } from "layouts/settings-layout";
import { Button, Input, Spinner } from "@plane/ui";
// types
import { NextPageWithLayout } from "lib/types";
+import { SidebarHamburgerToggle } from "components/core/sidebar/sidebar-menu-hamburger-toggle";
interface FormValues {
old_password: string;
@@ -86,6 +87,10 @@ const ChangePasswordPage: NextPageWithLayout = observer(() => {
);
return (
+
+
);
});
diff --git a/web/pages/profile/index.tsx b/web/pages/profile/index.tsx
index 294ef3574..655d6a4bd 100644
--- a/web/pages/profile/index.tsx
+++ b/web/pages/profile/index.tsx
@@ -23,6 +23,7 @@ import type { NextPageWithLayout } from "lib/types";
// constants
import { USER_ROLES } from "constants/workspace";
import { TIME_ZONES } from "constants/timezones";
+import { SidebarHamburgerToggle } from "components/core/sidebar/sidebar-menu-hamburger-toggle";
const defaultValues: Partial = {
avatar: "",
@@ -56,7 +57,7 @@ const ProfileSettingsPage: NextPageWithLayout = observer(() => {
// store hooks
const { currentUser: myProfile, updateCurrentUser, currentUserLoader } = useUser();
// custom hooks
- const {} = useUserAuth({ user: myProfile, isLoading: currentUserLoader });
+ const { } = useUserAuth({ user: myProfile, isLoading: currentUserLoader });
useEffect(() => {
reset({ ...defaultValues, ...myProfile });
@@ -136,304 +137,310 @@ const ProfileSettingsPage: NextPageWithLayout = observer(() => {
return (
<>
- (
- setIsImageUploadModalOpen(false)}
- isRemoving={isRemoving}
- handleDelete={() => handleDelete(myProfile?.avatar, true)}
- onSuccess={(url) => {
- onChange(url);
- handleSubmit(onSubmit)();
- setIsImageUploadModalOpen(false);
- }}
- value={value && value.trim() !== "" ? value : null}
- />
- )}
- />
- setDeactivateAccountModal(false)} />
-