diff --git a/web/components/gantt-chart/sidebar/sidebar.tsx b/web/components/gantt-chart/sidebar/sidebar.tsx index 23f8f8d76..89ecbabba 100644 --- a/web/components/gantt-chart/sidebar/sidebar.tsx +++ b/web/components/gantt-chart/sidebar/sidebar.tsx @@ -15,7 +15,6 @@ import { IGanttBlock, IBlockUpdateData } from "components/gantt-chart/types"; import { IIssue } from "types"; type Props = { - title: string; blockUpdateHandler: (block: any, payload: IBlockUpdateData) => void; blocks: IGanttBlock[] | null; enableReorder: boolean; @@ -33,7 +32,6 @@ type Props = { export const IssueGanttSidebar: React.FC = (props) => { // eslint-disable-next-line @typescript-eslint/no-unused-vars const { - title, blockUpdateHandler, blocks, enableReorder, diff --git a/web/components/headers/cycle-issues.tsx b/web/components/headers/cycle-issues.tsx index 241259648..2526199b5 100644 --- a/web/components/headers/cycle-issues.tsx +++ b/web/components/headers/cycle-issues.tsx @@ -155,7 +155,10 @@ export const CycleIssuesHeader: React.FC = observer(() => { key={cycle.id} onClick={() => router.push(`/${workspaceSlug}/projects/${projectId}/cycles/${cycle.id}`)} > - {truncateText(cycle.name, 40)} +
+ + {truncateText(cycle.name, 40)} +
))} diff --git a/web/components/headers/module-issues.tsx b/web/components/headers/module-issues.tsx index ba5504289..62df6e7c8 100644 --- a/web/components/headers/module-issues.tsx +++ b/web/components/headers/module-issues.tsx @@ -11,7 +11,7 @@ import { ProjectAnalyticsModal } from "components/analytics"; // ui import { Breadcrumbs, Button, CustomMenu, DiceIcon } from "@plane/ui"; // icons -import { ArrowRight, ContrastIcon, Plus } from "lucide-react"; +import { ArrowRight, Plus } from "lucide-react"; // helpers import { truncateText } from "helpers/string.helper"; import { renderEmoji } from "helpers/emoji.helper"; @@ -143,7 +143,7 @@ export const ModuleIssuesHeader: React.FC = observer(() => { - + {moduleDetails?.name && truncateText(moduleDetails.name, 40)} } @@ -156,7 +156,10 @@ export const ModuleIssuesHeader: React.FC = observer(() => { key={module.id} onClick={() => router.push(`/${workspaceSlug}/projects/${projectId}/modules/${module.id}`)} > - {truncateText(module.name, 40)} +
+ + {truncateText(module.name, 40)} +
))}
diff --git a/web/components/headers/project-view-issues.tsx b/web/components/headers/project-view-issues.tsx index de00424dc..aeb91538c 100644 --- a/web/components/headers/project-view-issues.tsx +++ b/web/components/headers/project-view-issues.tsx @@ -17,7 +17,6 @@ import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOption import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue"; import { EFilterType } from "store/issues/types"; import { EProjectStore } from "store/command-palette.store"; -import { EUserWorkspaceRoles } from "constants/workspace"; export const ProjectViewIssuesHeader: React.FC = observer(() => { const router = useRouter(); @@ -36,7 +35,6 @@ export const ProjectViewIssuesHeader: React.FC = observer(() => { viewIssuesFilter: { issueFilters, updateFilters }, commandPalette: commandPaletteStore, trackEvent: { setTrackElement }, - user: { currentProjectRole }, } = useMobxStore(); const activeLayout = issueFilters?.displayFilters?.layout; @@ -87,9 +85,6 @@ export const ProjectViewIssuesHeader: React.FC = observer(() => { const viewsList = projectId ? projectViewsStore.viewsList[projectId.toString()] : undefined; const viewDetails = viewId ? projectViewsStore.viewDetails[viewId.toString()] : undefined; - const canUserCreateIssue = - currentProjectRole && [EUserWorkspaceRoles.ADMIN, EUserWorkspaceRoles.MEMBER].includes(currentProjectRole); - return (
@@ -138,7 +133,10 @@ export const ProjectViewIssuesHeader: React.FC = observer(() => { key={view.id} onClick={() => router.push(`/${workspaceSlug}/projects/${projectId}/views/${view.id}`)} > - {truncateText(view.name, 40)} +
+ + {truncateText(view.name, 40)} +
))} diff --git a/web/components/modules/sidebar.tsx b/web/components/modules/sidebar.tsx index b0c4b5e33..85e542434 100644 --- a/web/components/modules/sidebar.tsx +++ b/web/components/modules/sidebar.tsx @@ -144,7 +144,7 @@ export const ModuleDetailsSidebar: React.FC = observer((props) => { }; const handleCopyText = () => { - copyUrlToClipboard(`${workspaceSlug}/projects/${projectId}/modules/${module?.id}`) + copyUrlToClipboard(`${workspaceSlug}/projects/${projectId}/modules/${moduleId}`) .then(() => { setToastAlert({ type: "success", diff --git a/web/components/onboarding/user-details.tsx b/web/components/onboarding/user-details.tsx index e6c5707e6..a600a72f3 100644 --- a/web/components/onboarding/user-details.tsx +++ b/web/components/onboarding/user-details.tsx @@ -14,7 +14,7 @@ import { IUser } from "types"; // services import { FileService } from "services/file.service"; // assets -import IssuesSvg from "public/onboarding/onboarding-issues.svg"; +import IssuesSvg from "public/onboarding/onboarding-issues.webp"; const defaultValues: Partial = { first_name: "", diff --git a/web/components/workspace/views/default-view-list-item.tsx b/web/components/workspace/views/default-view-list-item.tsx index c290980e1..19b8c0ecf 100644 --- a/web/components/workspace/views/default-view-list-item.tsx +++ b/web/components/workspace/views/default-view-list-item.tsx @@ -3,7 +3,7 @@ import Link from "next/link"; import { observer } from "mobx-react-lite"; // icons -import { Sparkles } from "lucide-react"; +import { PhotoFilterIcon } from "@plane/ui"; // helpers import { truncateText } from "helpers/string.helper"; @@ -22,7 +22,7 @@ export const GlobalDefaultViewListItem: React.FC = observer((props) => {
- +

{truncateText(view.label, 75)}

diff --git a/web/pages/profile/activity.tsx b/web/pages/profile/activity.tsx index 02317799f..d943f4b9a 100644 --- a/web/pages/profile/activity.tsx +++ b/web/pages/profile/activity.tsx @@ -1,6 +1,5 @@ import { ReactElement } from "react"; import useSWR from "swr"; -import { useRouter } from "next/router"; import Link from "next/link"; // services import { UserService } from "services/user.service"; @@ -23,9 +22,6 @@ import { NextPageWithLayout } from "types/app"; const userService = new UserService(); const ProfileActivityPage: NextPageWithLayout = () => { - const router = useRouter(); - const { workspaceSlug } = router.query; - const { data: userActivity } = useSWR(USER_ACTIVITY, () => userService.getUserActivity()); return ( diff --git a/web/public/instance-not-ready.svg b/web/public/instance-not-ready.svg deleted file mode 100644 index 393187bdb..000000000 --- a/web/public/instance-not-ready.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/instance-not-ready.webp b/web/public/instance-not-ready.webp new file mode 100644 index 000000000..ceabbcc0d Binary files /dev/null and b/web/public/instance-not-ready.webp differ diff --git a/web/public/onboarding/cycles.svg b/web/public/onboarding/cycles.svg deleted file mode 100644 index 594192b21..000000000 --- a/web/public/onboarding/cycles.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/onboarding/cycles.webp b/web/public/onboarding/cycles.webp index b76f34652..0fb486a4f 100644 Binary files a/web/public/onboarding/cycles.webp and b/web/public/onboarding/cycles.webp differ diff --git a/web/public/onboarding/issues.svg b/web/public/onboarding/issues.svg deleted file mode 100644 index 04b0018cc..000000000 --- a/web/public/onboarding/issues.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/onboarding/issues.webp b/web/public/onboarding/issues.webp index e73afda12..52bc34a27 100644 Binary files a/web/public/onboarding/issues.webp and b/web/public/onboarding/issues.webp differ diff --git a/web/public/onboarding/modules.svg b/web/public/onboarding/modules.svg deleted file mode 100644 index 505094f1c..000000000 --- a/web/public/onboarding/modules.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/onboarding/modules.webp b/web/public/onboarding/modules.webp index b4ceabae1..34eb3445c 100644 Binary files a/web/public/onboarding/modules.webp and b/web/public/onboarding/modules.webp differ diff --git a/web/public/onboarding/onboarding-issues.svg b/web/public/onboarding/onboarding-issues.svg deleted file mode 100644 index c38fc3a32..000000000 --- a/web/public/onboarding/onboarding-issues.svg +++ /dev/null @@ -1,592 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/onboarding/onboarding-issues.webp b/web/public/onboarding/onboarding-issues.webp new file mode 100644 index 000000000..8ea6318f2 Binary files /dev/null and b/web/public/onboarding/onboarding-issues.webp differ diff --git a/web/public/onboarding/pages.svg b/web/public/onboarding/pages.svg deleted file mode 100644 index a7141522e..000000000 --- a/web/public/onboarding/pages.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/onboarding/pages.webp b/web/public/onboarding/pages.webp index 90084952b..849925889 100644 Binary files a/web/public/onboarding/pages.webp and b/web/public/onboarding/pages.webp differ diff --git a/web/public/onboarding/sign-in.svg b/web/public/onboarding/sign-in.svg deleted file mode 100644 index 243721412..000000000 --- a/web/public/onboarding/sign-in.svg +++ /dev/null @@ -1,649 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/onboarding/sign-in.webp b/web/public/onboarding/sign-in.webp new file mode 100644 index 000000000..0c7fb571c Binary files /dev/null and b/web/public/onboarding/sign-in.webp differ diff --git a/web/public/onboarding/views.svg b/web/public/onboarding/views.svg deleted file mode 100644 index 0736ebc12..000000000 --- a/web/public/onboarding/views.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/onboarding/views.webp b/web/public/onboarding/views.webp index d92a15114..6c8959da2 100644 Binary files a/web/public/onboarding/views.webp and b/web/public/onboarding/views.webp differ