diff --git a/web/components/dashboard/widgets/assigned-issues.tsx b/web/components/dashboard/widgets/assigned-issues.tsx index 283873a5a..d4a27afc1 100644 --- a/web/components/dashboard/widgets/assigned-issues.tsx +++ b/web/components/dashboard/widgets/assigned-issues.tsx @@ -50,32 +50,36 @@ export const AssignedIssuesWidget: React.FC = observer((props) => { }; useEffect(() => { - if (!widgetDetails) return; + const filterDates = getCustomDates(widgetDetails?.widget_filters.target_date ?? "this_week"); - const filterDates = getCustomDates(widgetDetails.widget_filters.target_date ?? "this_week"); - - if (!widgetStats) - fetchWidgetStats(workspaceSlug, dashboardId, { - widget_key: WIDGET_KEY, - issue_type: widgetDetails.widget_filters.tab ?? "upcoming", - target_date: filterDates, - expand: "issue_relation", - }); - }, [dashboardId, fetchWidgetStats, widgetDetails, widgetStats, workspaceSlug]); + fetchWidgetStats(workspaceSlug, dashboardId, { + widget_key: WIDGET_KEY, + issue_type: widgetDetails?.widget_filters.tab ?? "upcoming", + target_date: filterDates, + expand: "issue_relation", + }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); const filterParams = getRedirectionFilters(widgetDetails?.widget_filters.tab ?? "upcoming"); if (!widgetDetails || !widgetStats) return ; return ( -
-
- - All issues assigned - +
+
+
+ + Assigned to you + +

+ Filtered by{" "} + Due date +

+
@@ -97,11 +101,10 @@ export const AssignedIssuesWidget: React.FC = observer((props) => {
- + {ISSUES_TABS_LIST.map((tab) => ( = observer((props) => { }; useEffect(() => { - if (!widgetDetails) return; - - if (!widgetStats) - fetchWidgetStats(workspaceSlug, dashboardId, { - widget_key: WIDGET_KEY, - issue_type: widgetDetails.widget_filters.tab ?? "upcoming", - target_date: getCustomDates(widgetDetails.widget_filters.target_date ?? "this_week"), - }); - }, [dashboardId, fetchWidgetStats, widgetDetails, widgetStats, workspaceSlug]); + fetchWidgetStats(workspaceSlug, dashboardId, { + widget_key: WIDGET_KEY, + issue_type: widgetDetails?.widget_filters.tab ?? "upcoming", + target_date: getCustomDates(widgetDetails?.widget_filters.target_date ?? "this_week"), + }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); const filterParams = getRedirectionFilters(widgetDetails?.widget_filters.tab ?? "upcoming"); if (!widgetDetails || !widgetStats) return ; return ( -
-
- - All issues created - +
+
+
+ + Created by you + +

+ Filtered by{" "} + Due date +

+
@@ -93,11 +97,10 @@ export const CreatedIssuesWidget: React.FC = observer((props) => {
- + {ISSUES_TABS_LIST.map((tab) => ( = (props) => { - const { filter, type } = props; + const { type } = props; // next-themes const { resolvedTheme } = useTheme(); @@ -21,22 +18,13 @@ export const AssignedIssuesEmptyState: React.FC = (props) => { const image = resolvedTheme === "dark" ? typeDetails.darkImage : typeDetails.lightImage; + // TODO: update empty state logic to use a general component return ( -
-

{typeDetails.title(filter)}

-
+
+
Assigned issues
+

{typeDetails.title}

); }; diff --git a/web/components/dashboard/widgets/empty-states/created-issues.tsx b/web/components/dashboard/widgets/empty-states/created-issues.tsx index 3b5a646bb..fe93d4404 100644 --- a/web/components/dashboard/widgets/empty-states/created-issues.tsx +++ b/web/components/dashboard/widgets/empty-states/created-issues.tsx @@ -1,19 +1,16 @@ import Image from "next/image"; import { useTheme } from "next-themes"; -// helpers -import { cn } from "helpers/common.helper"; // types -import { TDurationFilterOptions, TIssuesListTypes } from "@plane/types"; +import { TIssuesListTypes } from "@plane/types"; // constants import { CREATED_ISSUES_EMPTY_STATES } from "constants/dashboard"; type Props = { - filter: TDurationFilterOptions; type: TIssuesListTypes; }; export const CreatedIssuesEmptyState: React.FC = (props) => { - const { filter, type } = props; + const { type } = props; // next-themes const { resolvedTheme } = useTheme(); @@ -22,21 +19,11 @@ export const CreatedIssuesEmptyState: React.FC = (props) => { const image = resolvedTheme === "dark" ? typeDetails.darkImage : typeDetails.lightImage; return ( -
-

{typeDetails.title(filter)}

-
- Created issues +
+
+ Assigned issues
+

{typeDetails.title}

); }; diff --git a/web/components/dashboard/widgets/empty-states/issues-by-priority.tsx b/web/components/dashboard/widgets/empty-states/issues-by-priority.tsx index 41e2754d5..83c1d0042 100644 --- a/web/components/dashboard/widgets/empty-states/issues-by-priority.tsx +++ b/web/components/dashboard/widgets/empty-states/issues-by-priority.tsx @@ -3,43 +3,23 @@ import { useTheme } from "next-themes"; // assets import DarkImage from "public/empty-state/dashboard/dark/issues-by-priority.svg"; import LightImage from "public/empty-state/dashboard/light/issues-by-priority.svg"; -// helpers -import { cn } from "helpers/common.helper"; -import { replaceUnderscoreIfSnakeCase } from "helpers/string.helper"; -// types -import { TDurationFilterOptions } from "@plane/types"; -type Props = { - filter: TDurationFilterOptions; -}; - -export const IssuesByPriorityEmptyState: React.FC = (props) => { - const { filter } = props; +export const IssuesByPriorityEmptyState = () => { // next-themes const { resolvedTheme } = useTheme(); + const image = resolvedTheme === "dark" ? DarkImage : LightImage; + return ( -
-

- No assigned issues {replaceUnderscoreIfSnakeCase(filter)}. -

-
- Issues by priority +
+
+ Issues by state group
+

+ Issues assigned to you, broken down by +
+ priority will show up here. +

); }; diff --git a/web/components/dashboard/widgets/empty-states/issues-by-state-group.tsx b/web/components/dashboard/widgets/empty-states/issues-by-state-group.tsx index 166dbb36f..b4cc81ce7 100644 --- a/web/components/dashboard/widgets/empty-states/issues-by-state-group.tsx +++ b/web/components/dashboard/widgets/empty-states/issues-by-state-group.tsx @@ -3,43 +3,23 @@ import { useTheme } from "next-themes"; // assets import DarkImage from "public/empty-state/dashboard/dark/issues-by-state-group.svg"; import LightImage from "public/empty-state/dashboard/light/issues-by-state-group.svg"; -// helpers -import { cn } from "helpers/common.helper"; -import { replaceUnderscoreIfSnakeCase } from "helpers/string.helper"; -// types -import { TDurationFilterOptions } from "@plane/types"; -type Props = { - filter: TDurationFilterOptions; -}; - -export const IssuesByStateGroupEmptyState: React.FC = (props) => { - const { filter } = props; +export const IssuesByStateGroupEmptyState = () => { // next-themes const { resolvedTheme } = useTheme(); + const image = resolvedTheme === "dark" ? DarkImage : LightImage; + return ( -
-

- No assigned issues {replaceUnderscoreIfSnakeCase(filter)}. -

-
- Issues by state group +
+
+ Issues by state group
+

+ Issue assigned to you, broken down by state, +
+ will show up here. +

); }; diff --git a/web/components/dashboard/widgets/empty-states/recent-activity.tsx b/web/components/dashboard/widgets/empty-states/recent-activity.tsx index ea62fbf08..ff4218ace 100644 --- a/web/components/dashboard/widgets/empty-states/recent-activity.tsx +++ b/web/components/dashboard/widgets/empty-states/recent-activity.tsx @@ -3,40 +3,23 @@ import { useTheme } from "next-themes"; // assets import DarkImage from "public/empty-state/dashboard/dark/recent-activity.svg"; import LightImage from "public/empty-state/dashboard/light/recent-activity.svg"; -// helpers -import { cn } from "helpers/common.helper"; -type Props = {}; - -export const RecentActivityEmptyState: React.FC = (props) => { - const {} = props; +export const RecentActivityEmptyState = () => { // next-themes const { resolvedTheme } = useTheme(); + const image = resolvedTheme === "dark" ? DarkImage : LightImage; + return ( -
-

- Feels new, go and explore our tool in depth and come back -
- to see your activity. -

-
- Issues by priority +
+
+ Issues by state group
+

+ All your issue activities across +
+ projects will show up here. +

); }; diff --git a/web/components/dashboard/widgets/empty-states/recent-collaborators.tsx b/web/components/dashboard/widgets/empty-states/recent-collaborators.tsx index 0ab0db1f9..ef1c63f73 100644 --- a/web/components/dashboard/widgets/empty-states/recent-collaborators.tsx +++ b/web/components/dashboard/widgets/empty-states/recent-collaborators.tsx @@ -1,39 +1,38 @@ import Image from "next/image"; import { useTheme } from "next-themes"; // assets -import DarkImage from "public/empty-state/dashboard/dark/recent-collaborators.svg"; -import LightImage from "public/empty-state/dashboard/light/recent-collaborators.svg"; -// helpers -import { cn } from "helpers/common.helper"; +import DarkImage1 from "public/empty-state/dashboard/dark/recent-collaborators-1.svg"; +import DarkImage2 from "public/empty-state/dashboard/dark/recent-collaborators-2.svg"; +import DarkImage3 from "public/empty-state/dashboard/dark/recent-collaborators-3.svg"; +import LightImage1 from "public/empty-state/dashboard/light/recent-collaborators-1.svg"; +import LightImage2 from "public/empty-state/dashboard/light/recent-collaborators-2.svg"; +import LightImage3 from "public/empty-state/dashboard/light/recent-collaborators-3.svg"; -type Props = {}; - -export const RecentCollaboratorsEmptyState: React.FC = (props) => { - const {} = props; +export const RecentCollaboratorsEmptyState = () => { // next-themes const { resolvedTheme } = useTheme(); + const image1 = resolvedTheme === "dark" ? DarkImage1 : LightImage1; + const image2 = resolvedTheme === "dark" ? DarkImage2 : LightImage2; + const image3 = resolvedTheme === "dark" ? DarkImage3 : LightImage3; + return ( -
-

- People are excited to work with you, once they do you will find your frequent collaborators here. +

+

+ Compare your activities with the top +
+ seven in your project.

-
- Recent collaborators +
+
+ Recent collaborators +
+
+ Recent collaborators +
+
+ Recent collaborators +
); diff --git a/web/components/dashboard/widgets/issue-panels/issues-list.tsx b/web/components/dashboard/widgets/issue-panels/issues-list.tsx index e1b2967bf..2076de7fb 100644 --- a/web/components/dashboard/widgets/issue-panels/issues-list.tsx +++ b/web/components/dashboard/widgets/issue-panels/issues-list.tsx @@ -19,10 +19,9 @@ import { Loader, getButtonStyling } from "@plane/ui"; import { cn } from "helpers/common.helper"; import { getRedirectionFilters } from "helpers/dashboard.helper"; // types -import { TDurationFilterOptions, TIssue, TIssuesListTypes } from "@plane/types"; +import { TIssue, TIssuesListTypes } from "@plane/types"; export type WidgetIssuesListProps = { - filter: TDurationFilterOptions | undefined; isLoading: boolean; issues: TIssue[]; tab: TIssuesListTypes; @@ -32,7 +31,7 @@ export type WidgetIssuesListProps = { }; export const WidgetIssuesList: React.FC = (props) => { - const { filter, isLoading, issues, tab, totalIssues, type, workspaceSlug } = props; + const { isLoading, issues, tab, totalIssues, type, workspaceSlug } = props; // store hooks const { setPeekIssue } = useIssueDetail(); @@ -62,7 +61,7 @@ export const WidgetIssuesList: React.FC = (props) => { <>
{isLoading ? ( - + @@ -70,7 +69,7 @@ export const WidgetIssuesList: React.FC = (props) => { ) : issues.length > 0 ? ( <> -
+
= (props) => {
) : ( -
- {type === "assigned" && } - {type === "created" && } +
+ {type === "assigned" && } + {type === "created" && }
)}
diff --git a/web/components/dashboard/widgets/issues-by-priority.tsx b/web/components/dashboard/widgets/issues-by-priority.tsx index 46534a426..6b8505044 100644 --- a/web/components/dashboard/widgets/issues-by-priority.tsx +++ b/web/components/dashboard/widgets/issues-by-priority.tsx @@ -91,14 +91,12 @@ export const IssuesByPriorityWidget: React.FC = observer((props) => }; useEffect(() => { - if (!widgetDetails) return; - - if (!widgetStats) - fetchWidgetStats(workspaceSlug, dashboardId, { - widget_key: WIDGET_KEY, - target_date: getCustomDates(widgetDetails.widget_filters.target_date ?? "this_week"), - }); - }, [dashboardId, fetchWidgetStats, widgetDetails, widgetStats, workspaceSlug]); + fetchWidgetStats(workspaceSlug, dashboardId, { + widget_key: WIDGET_KEY, + target_date: getCustomDates(widgetDetails?.widget_filters.target_date ?? "this_week"), + }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); if (!widgetDetails || !widgetStats) return ; @@ -130,14 +128,20 @@ export const IssuesByPriorityWidget: React.FC = observer((props) => }; return ( -
-
- - Priority of assigned issues - +
+
+
+ + Assigned by priority + +

+ Filtered by{" "} + Due date +

+
@@ -196,8 +200,8 @@ export const IssuesByPriorityWidget: React.FC = observer((props) =>
) : ( -
- +
+
)}
diff --git a/web/components/dashboard/widgets/issues-by-state-group.tsx b/web/components/dashboard/widgets/issues-by-state-group.tsx index 113ce9613..1f649813b 100644 --- a/web/components/dashboard/widgets/issues-by-state-group.tsx +++ b/web/components/dashboard/widgets/issues-by-state-group.tsx @@ -51,14 +51,12 @@ export const IssuesByStateGroupWidget: React.FC = observer((props) // fetch widget stats useEffect(() => { - if (!widgetDetails) return; - - if (!widgetStats) - fetchWidgetStats(workspaceSlug, dashboardId, { - widget_key: WIDGET_KEY, - target_date: getCustomDates(widgetDetails.widget_filters.target_date ?? "this_week"), - }); - }, [dashboardId, fetchWidgetStats, widgetDetails, widgetStats, workspaceSlug]); + fetchWidgetStats(workspaceSlug, dashboardId, { + widget_key: WIDGET_KEY, + target_date: getCustomDates(widgetDetails?.widget_filters.target_date ?? "this_week"), + }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); // set active group for center metric useEffect(() => { @@ -129,14 +127,20 @@ export const IssuesByStateGroupWidget: React.FC = observer((props) }; return ( -
-
- - State of assigned issues - +
+
+
+ + Assigned by state + +

+ Filtered by{" "} + Due date +

+
@@ -204,8 +208,8 @@ export const IssuesByStateGroupWidget: React.FC = observer((props)
) : ( -
- +
+
)}
diff --git a/web/components/dashboard/widgets/overview-stats.tsx b/web/components/dashboard/widgets/overview-stats.tsx index a38e29eb8..a4b9c678d 100644 --- a/web/components/dashboard/widgets/overview-stats.tsx +++ b/web/components/dashboard/widgets/overview-stats.tsx @@ -54,11 +54,11 @@ export const OverviewStatsWidget: React.FC = observer((props) => { ]; useEffect(() => { - if (!widgetStats) - fetchWidgetStats(workspaceSlug, dashboardId, { - widget_key: WIDGET_KEY, - }); - }, [dashboardId, fetchWidgetStats, widgetStats, workspaceSlug]); + fetchWidgetStats(workspaceSlug, dashboardId, { + widget_key: WIDGET_KEY, + }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); if (!widgetStats) return ; diff --git a/web/components/dashboard/widgets/recent-activity.tsx b/web/components/dashboard/widgets/recent-activity.tsx index 6379ab291..fc16946d8 100644 --- a/web/components/dashboard/widgets/recent-activity.tsx +++ b/web/components/dashboard/widgets/recent-activity.tsx @@ -25,18 +25,18 @@ export const RecentActivityWidget: React.FC = observer((props) => { const widgetStats = getWidgetStats(workspaceSlug, dashboardId, WIDGET_KEY); useEffect(() => { - if (!widgetStats) - fetchWidgetStats(workspaceSlug, dashboardId, { - widget_key: WIDGET_KEY, - }); - }, [dashboardId, fetchWidgetStats, widgetStats, workspaceSlug]); + fetchWidgetStats(workspaceSlug, dashboardId, { + widget_key: WIDGET_KEY, + }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); if (!widgetStats) return ; return ( -
+
- My activity + Your issue activities {widgetStats.length > 0 ? (
@@ -85,7 +85,7 @@ export const RecentActivityWidget: React.FC = observer((props) => { ))}
) : ( -
+
)} diff --git a/web/components/dashboard/widgets/recent-collaborators.tsx b/web/components/dashboard/widgets/recent-collaborators.tsx index 47d87ffa9..2fafbb9ac 100644 --- a/web/components/dashboard/widgets/recent-collaborators.tsx +++ b/web/components/dashboard/widgets/recent-collaborators.tsx @@ -57,18 +57,21 @@ export const RecentCollaboratorsWidget: React.FC = observer((props) const widgetStats = getWidgetStats(workspaceSlug, dashboardId, WIDGET_KEY); useEffect(() => { - if (!widgetStats) - fetchWidgetStats(workspaceSlug, dashboardId, { - widget_key: WIDGET_KEY, - }); - }, [dashboardId, fetchWidgetStats, widgetStats, workspaceSlug]); + fetchWidgetStats(workspaceSlug, dashboardId, { + widget_key: WIDGET_KEY, + }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); if (!widgetStats) return ; return (
-
-

Collaborators

+
+

Most active members

+

+ Top eight active members in your project by last activity +

{widgetStats.length > 1 ? (
@@ -82,7 +85,7 @@ export const RecentCollaboratorsWidget: React.FC = observer((props) ))}
) : ( -
+
)} diff --git a/web/components/dashboard/widgets/recent-projects.tsx b/web/components/dashboard/widgets/recent-projects.tsx index e28886460..cfa4ae6a1 100644 --- a/web/components/dashboard/widgets/recent-projects.tsx +++ b/web/components/dashboard/widgets/recent-projects.tsx @@ -81,21 +81,21 @@ export const RecentProjectsWidget: React.FC = observer((props) => { const canCreateProject = currentWorkspaceRole === EUserWorkspaceRoles.ADMIN; useEffect(() => { - if (!widgetStats) - fetchWidgetStats(workspaceSlug, dashboardId, { - widget_key: WIDGET_KEY, - }); - }, [dashboardId, fetchWidgetStats, widgetStats, workspaceSlug]); + fetchWidgetStats(workspaceSlug, dashboardId, { + widget_key: WIDGET_KEY, + }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); if (!widgetStats) return ; return ( -
+
- My projects + Your projects
{canCreateProject && ( diff --git a/web/constants/dashboard.ts b/web/constants/dashboard.ts index 5a2d1f542..219601660 100644 --- a/web/constants/dashboard.ts +++ b/web/constants/dashboard.ts @@ -1,17 +1,11 @@ import { linearGradientDef } from "@nivo/core"; // assets -import UpcomingAssignedIssuesDark from "public/empty-state/dashboard/dark/upcoming-assigned-issues.svg"; -import UpcomingAssignedIssuesLight from "public/empty-state/dashboard/light/upcoming-assigned-issues.svg"; -import OverdueAssignedIssuesDark from "public/empty-state/dashboard/dark/overdue-assigned-issues.svg"; -import OverdueAssignedIssuesLight from "public/empty-state/dashboard/light/overdue-assigned-issues.svg"; -import CompletedAssignedIssuesDark from "public/empty-state/dashboard/dark/completed-assigned-issues.svg"; -import CompletedAssignedIssuesLight from "public/empty-state/dashboard/light/completed-assigned-issues.svg"; -import UpcomingCreatedIssuesDark from "public/empty-state/dashboard/dark/upcoming-created-issues.svg"; -import UpcomingCreatedIssuesLight from "public/empty-state/dashboard/light/upcoming-created-issues.svg"; -import OverdueCreatedIssuesDark from "public/empty-state/dashboard/dark/overdue-created-issues.svg"; -import OverdueCreatedIssuesLight from "public/empty-state/dashboard/light/overdue-created-issues.svg"; -import CompletedCreatedIssuesDark from "public/empty-state/dashboard/dark/completed-created-issues.svg"; -import CompletedCreatedIssuesLight from "public/empty-state/dashboard/light/completed-created-issues.svg"; +import UpcomingIssuesDark from "public/empty-state/dashboard/dark/upcoming-issues.svg"; +import UpcomingIssuesLight from "public/empty-state/dashboard/light/upcoming-issues.svg"; +import OverdueIssuesDark from "public/empty-state/dashboard/dark/overdue-issues.svg"; +import OverdueIssuesLight from "public/empty-state/dashboard/light/overdue-issues.svg"; +import CompletedIssuesDark from "public/empty-state/dashboard/dark/completed-issues.svg"; +import CompletedIssuesLight from "public/empty-state/dashboard/light/completed-issues.svg"; // types import { TDurationFilterOptions, TIssuesListTypes, TStateGroups } from "@plane/types"; import { Props } from "components/icons/types"; @@ -172,84 +166,43 @@ export const ISSUES_TABS_LIST: { }, { key: "completed", - label: "Completed", + label: "Marked completed", }, ]; -// empty state constants -const ASSIGNED_ISSUES_DURATION_TITLES: { - [type in TIssuesListTypes]: { - [duration in TDurationFilterOptions]: string; - }; -} = { - upcoming: { - today: "today", - this_week: "yet in this week", - this_month: "yet in this month", - this_year: "yet in this year", - }, - overdue: { - today: "today", - this_week: "in this week", - this_month: "in this month", - this_year: "in this year", - }, - completed: { - today: "today", - this_week: "this week", - this_month: "this month", - this_year: "this year", - }, -}; - -const CREATED_ISSUES_DURATION_TITLES: { - [duration in TDurationFilterOptions]: string; -} = { - today: "today", - this_week: "in this week", - this_month: "in this month", - this_year: "in this year", -}; - export const ASSIGNED_ISSUES_EMPTY_STATES = { upcoming: { - title: (duration: TDurationFilterOptions) => - `No issues assigned to you ${ASSIGNED_ISSUES_DURATION_TITLES.upcoming[duration]}.`, - darkImage: UpcomingAssignedIssuesDark, - lightImage: UpcomingAssignedIssuesLight, + title: "Upcoming issues assigned to\nyou will show up here.", + darkImage: UpcomingIssuesDark, + lightImage: UpcomingIssuesLight, }, overdue: { - title: (duration: TDurationFilterOptions) => - `No issues with due dates ${ASSIGNED_ISSUES_DURATION_TITLES.overdue[duration]} are open.`, - darkImage: OverdueAssignedIssuesDark, - lightImage: OverdueAssignedIssuesLight, + title: "Issues assigned to you that are past\ntheir due date will show up here.", + darkImage: OverdueIssuesDark, + lightImage: OverdueIssuesLight, }, completed: { - title: (duration: TDurationFilterOptions) => - `No issues completed by you ${ASSIGNED_ISSUES_DURATION_TITLES.completed[duration]}.`, - darkImage: CompletedAssignedIssuesDark, - lightImage: CompletedAssignedIssuesLight, + title: "Issues assigned to you that you have\nmarked Completed will show up here.", + darkImage: CompletedIssuesDark, + lightImage: CompletedIssuesLight, }, }; export const CREATED_ISSUES_EMPTY_STATES = { upcoming: { - title: (duration: TDurationFilterOptions) => - `No created issues have deadlines coming up ${CREATED_ISSUES_DURATION_TITLES[duration]}.`, - darkImage: UpcomingCreatedIssuesDark, - lightImage: UpcomingCreatedIssuesLight, + title: "Upcoming issues you created\nwill show up here.", + darkImage: UpcomingIssuesDark, + lightImage: UpcomingIssuesLight, }, overdue: { - title: (duration: TDurationFilterOptions) => - `No created issues with due dates ${CREATED_ISSUES_DURATION_TITLES[duration]} are open.`, - darkImage: OverdueCreatedIssuesDark, - lightImage: OverdueCreatedIssuesLight, + title: "Issues created by you that are past their\ndue date will show up here.", + darkImage: OverdueIssuesDark, + lightImage: OverdueIssuesLight, }, completed: { - title: (duration: TDurationFilterOptions) => - `No created issues are completed ${CREATED_ISSUES_DURATION_TITLES[duration]}.`, - darkImage: CompletedCreatedIssuesDark, - lightImage: CompletedCreatedIssuesLight, + title: "Issues created by you that you have\nmarked completed will show up here.", + darkImage: CompletedIssuesDark, + lightImage: CompletedIssuesLight, }, }; diff --git a/web/public/empty-state/dashboard/dark/completed-assigned-issues.svg b/web/public/empty-state/dashboard/dark/completed-assigned-issues.svg deleted file mode 100644 index 6f730cbb3..000000000 --- a/web/public/empty-state/dashboard/dark/completed-assigned-issues.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/dark/completed-created-issues.svg b/web/public/empty-state/dashboard/dark/completed-created-issues.svg deleted file mode 100644 index 605b6874d..000000000 --- a/web/public/empty-state/dashboard/dark/completed-created-issues.svg +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/dark/completed-issues.svg b/web/public/empty-state/dashboard/dark/completed-issues.svg new file mode 100644 index 000000000..8c4d083fb --- /dev/null +++ b/web/public/empty-state/dashboard/dark/completed-issues.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/web/public/empty-state/dashboard/dark/issues-by-priority.svg b/web/public/empty-state/dashboard/dark/issues-by-priority.svg index f7a3536da..803f3a727 100644 --- a/web/public/empty-state/dashboard/dark/issues-by-priority.svg +++ b/web/public/empty-state/dashboard/dark/issues-by-priority.svg @@ -1,105 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + diff --git a/web/public/empty-state/dashboard/dark/issues-by-state-group.svg b/web/public/empty-state/dashboard/dark/issues-by-state-group.svg index bf91b7df3..b615c313f 100644 --- a/web/public/empty-state/dashboard/dark/issues-by-state-group.svg +++ b/web/public/empty-state/dashboard/dark/issues-by-state-group.svg @@ -1,74 +1,24 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/public/empty-state/dashboard/dark/overdue-assigned-issues.svg b/web/public/empty-state/dashboard/dark/overdue-assigned-issues.svg deleted file mode 100644 index 8cf2c1682..000000000 --- a/web/public/empty-state/dashboard/dark/overdue-assigned-issues.svg +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/dark/overdue-created-issues.svg b/web/public/empty-state/dashboard/dark/overdue-created-issues.svg deleted file mode 100644 index 3457e2ae3..000000000 --- a/web/public/empty-state/dashboard/dark/overdue-created-issues.svg +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/dark/overdue-issues.svg b/web/public/empty-state/dashboard/dark/overdue-issues.svg new file mode 100644 index 000000000..cceb3480d --- /dev/null +++ b/web/public/empty-state/dashboard/dark/overdue-issues.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/web/public/empty-state/dashboard/dark/recent-activity.svg b/web/public/empty-state/dashboard/dark/recent-activity.svg index e1dfca53b..bf7234828 100644 --- a/web/public/empty-state/dashboard/dark/recent-activity.svg +++ b/web/public/empty-state/dashboard/dark/recent-activity.svg @@ -1,102 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + diff --git a/web/public/empty-state/dashboard/dark/recent-collaborators-1.svg b/web/public/empty-state/dashboard/dark/recent-collaborators-1.svg new file mode 100644 index 000000000..341364f59 --- /dev/null +++ b/web/public/empty-state/dashboard/dark/recent-collaborators-1.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web/public/empty-state/dashboard/dark/recent-collaborators-2.svg b/web/public/empty-state/dashboard/dark/recent-collaborators-2.svg new file mode 100644 index 000000000..6889f750e --- /dev/null +++ b/web/public/empty-state/dashboard/dark/recent-collaborators-2.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web/public/empty-state/dashboard/dark/recent-collaborators-3.svg b/web/public/empty-state/dashboard/dark/recent-collaborators-3.svg new file mode 100644 index 000000000..deb0e211c --- /dev/null +++ b/web/public/empty-state/dashboard/dark/recent-collaborators-3.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web/public/empty-state/dashboard/dark/recent-collaborators.svg b/web/public/empty-state/dashboard/dark/recent-collaborators.svg deleted file mode 100644 index 4ae975c4e..000000000 --- a/web/public/empty-state/dashboard/dark/recent-collaborators.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/dark/upcoming-assigned-issues.svg b/web/public/empty-state/dashboard/dark/upcoming-assigned-issues.svg deleted file mode 100644 index 96a63224c..000000000 --- a/web/public/empty-state/dashboard/dark/upcoming-assigned-issues.svg +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/dark/upcoming-created-issues.svg b/web/public/empty-state/dashboard/dark/upcoming-created-issues.svg deleted file mode 100644 index 6202c3181..000000000 --- a/web/public/empty-state/dashboard/dark/upcoming-created-issues.svg +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/dark/upcoming-issues.svg b/web/public/empty-state/dashboard/dark/upcoming-issues.svg new file mode 100644 index 000000000..25599450a --- /dev/null +++ b/web/public/empty-state/dashboard/dark/upcoming-issues.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/web/public/empty-state/dashboard/light/completed-assigned-issues.svg b/web/public/empty-state/dashboard/light/completed-assigned-issues.svg deleted file mode 100644 index ce427654a..000000000 --- a/web/public/empty-state/dashboard/light/completed-assigned-issues.svg +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/light/completed-created-issues.svg b/web/public/empty-state/dashboard/light/completed-created-issues.svg deleted file mode 100644 index 59960c7c1..000000000 --- a/web/public/empty-state/dashboard/light/completed-created-issues.svg +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/light/completed-issues.svg b/web/public/empty-state/dashboard/light/completed-issues.svg new file mode 100644 index 000000000..6f9c4c430 --- /dev/null +++ b/web/public/empty-state/dashboard/light/completed-issues.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/web/public/empty-state/dashboard/light/issues-by-priority.svg b/web/public/empty-state/dashboard/light/issues-by-priority.svg index 6cc385a5b..23c35d92f 100644 --- a/web/public/empty-state/dashboard/light/issues-by-priority.svg +++ b/web/public/empty-state/dashboard/light/issues-by-priority.svg @@ -1,90 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + diff --git a/web/public/empty-state/dashboard/light/issues-by-state-group.svg b/web/public/empty-state/dashboard/light/issues-by-state-group.svg index 5d75cd9f0..eb3275372 100644 --- a/web/public/empty-state/dashboard/light/issues-by-state-group.svg +++ b/web/public/empty-state/dashboard/light/issues-by-state-group.svg @@ -1,60 +1,27 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/public/empty-state/dashboard/light/overdue-assigned-issues.svg b/web/public/empty-state/dashboard/light/overdue-assigned-issues.svg deleted file mode 100644 index b8e475b4b..000000000 --- a/web/public/empty-state/dashboard/light/overdue-assigned-issues.svg +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/light/overdue-created-issues.svg b/web/public/empty-state/dashboard/light/overdue-created-issues.svg deleted file mode 100644 index 4340c8c4d..000000000 --- a/web/public/empty-state/dashboard/light/overdue-created-issues.svg +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/light/overdue-issues.svg b/web/public/empty-state/dashboard/light/overdue-issues.svg new file mode 100644 index 000000000..504c76498 --- /dev/null +++ b/web/public/empty-state/dashboard/light/overdue-issues.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/web/public/empty-state/dashboard/light/recent-activity.svg b/web/public/empty-state/dashboard/light/recent-activity.svg index 028ff78b6..3bb67491d 100644 --- a/web/public/empty-state/dashboard/light/recent-activity.svg +++ b/web/public/empty-state/dashboard/light/recent-activity.svg @@ -1,108 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + diff --git a/web/public/empty-state/dashboard/light/recent-collaborators-1.svg b/web/public/empty-state/dashboard/light/recent-collaborators-1.svg new file mode 100644 index 000000000..fb77e418d --- /dev/null +++ b/web/public/empty-state/dashboard/light/recent-collaborators-1.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web/public/empty-state/dashboard/light/recent-collaborators-2.svg b/web/public/empty-state/dashboard/light/recent-collaborators-2.svg new file mode 100644 index 000000000..e25fc9532 --- /dev/null +++ b/web/public/empty-state/dashboard/light/recent-collaborators-2.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web/public/empty-state/dashboard/light/recent-collaborators-3.svg b/web/public/empty-state/dashboard/light/recent-collaborators-3.svg new file mode 100644 index 000000000..e46473e84 --- /dev/null +++ b/web/public/empty-state/dashboard/light/recent-collaborators-3.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web/public/empty-state/dashboard/light/recent-collaborators.svg b/web/public/empty-state/dashboard/light/recent-collaborators.svg deleted file mode 100644 index beaa9cb13..000000000 --- a/web/public/empty-state/dashboard/light/recent-collaborators.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/light/upcoming-assigned-issues.svg b/web/public/empty-state/dashboard/light/upcoming-assigned-issues.svg deleted file mode 100644 index 8a021a476..000000000 --- a/web/public/empty-state/dashboard/light/upcoming-assigned-issues.svg +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/light/upcoming-created-issues.svg b/web/public/empty-state/dashboard/light/upcoming-created-issues.svg deleted file mode 100644 index 0d9ee8195..000000000 --- a/web/public/empty-state/dashboard/light/upcoming-created-issues.svg +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/empty-state/dashboard/light/upcoming-issues.svg b/web/public/empty-state/dashboard/light/upcoming-issues.svg new file mode 100644 index 000000000..ad3035819 --- /dev/null +++ b/web/public/empty-state/dashboard/light/upcoming-issues.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + +