diff --git a/apps/app/components/core/filter-list.tsx b/apps/app/components/core/filter-list.tsx index afaefffdf..776a8f8a0 100644 --- a/apps/app/components/core/filter-list.tsx +++ b/apps/app/components/core/filter-list.tsx @@ -131,11 +131,11 @@ export const FilterList: React.FC = ({ filters, setFilters }) => { ? "bg-yellow-100 text-yellow-500 hover:bg-yellow-100" : priority === "low" ? "bg-green-100 text-green-500 hover:bg-green-100" - : "bg-gray-100" + : "bg-gray-100 text-gray-700 hover:bg-gray-100" }`} > {getPriorityIcon(priority)} - {priority} + {priority ? priority : "None"} diff --git a/apps/app/components/icons/priority-icon.tsx b/apps/app/components/icons/priority-icon.tsx index a6aa31249..0a888f802 100644 --- a/apps/app/components/icons/priority-icon.tsx +++ b/apps/app/components/icons/priority-icon.tsx @@ -1,5 +1,5 @@ export const getPriorityIcon = (priority: string | null, className?: string) => { - if (!className || className === "") className = "text-xs"; + if (!className || className === "") className = "text-xs flex items-center"; switch (priority) { case "urgent": diff --git a/apps/app/components/pages/delete-page-modal.tsx b/apps/app/components/pages/delete-page-modal.tsx index 94468f2b8..a92bb49b6 100644 --- a/apps/app/components/pages/delete-page-modal.tsx +++ b/apps/app/components/pages/delete-page-modal.tsx @@ -115,7 +115,7 @@ export const DeletePageModal: React.FC = ({ leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
@@ -130,9 +130,9 @@ export const DeletePageModal: React.FC = ({

- Are you sure you want to delete Page - {`"`} - {data?.name} - {`"`} ? All of the data related to the page will be permanently removed. + Are you sure you want to delete Page- {" "} + {data?.name} + ? All of the data related to the page will be permanently removed. This action cannot be undone.

diff --git a/apps/app/components/pages/single-page-detailed-item.tsx b/apps/app/components/pages/single-page-detailed-item.tsx index 4c9f045dc..47156ad92 100644 --- a/apps/app/components/pages/single-page-detailed-item.tsx +++ b/apps/app/components/pages/single-page-detailed-item.tsx @@ -89,13 +89,13 @@ export const SinglePageDetailedItem: React.FC = ({ )} - + Edit Page - + Delete Page diff --git a/apps/app/components/pages/single-page-list-item.tsx b/apps/app/components/pages/single-page-list-item.tsx index ecdd428b3..e4cc69147 100644 --- a/apps/app/components/pages/single-page-list-item.tsx +++ b/apps/app/components/pages/single-page-list-item.tsx @@ -102,7 +102,7 @@ export const SinglePageListItem: React.FC = ({ handleEditPage(); }} > - + Edit Page @@ -114,7 +114,7 @@ export const SinglePageListItem: React.FC = ({ handleDeletePage(); }} > - + Delete Page diff --git a/apps/app/components/views/single-view-item.tsx b/apps/app/components/views/single-view-item.tsx index 8b47d65c7..62e7eb840 100644 --- a/apps/app/components/views/single-view-item.tsx +++ b/apps/app/components/views/single-view-item.tsx @@ -115,7 +115,7 @@ export const SingleViewItem: React.FC = ({ setSelectedView(view); }} > - + Delete diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/views/index.tsx b/apps/app/pages/[workspaceSlug]/projects/[projectId]/views/index.tsx index 084a149ce..1ba31d5fa 100644 --- a/apps/app/pages/[workspaceSlug]/projects/[projectId]/views/index.tsx +++ b/apps/app/pages/[workspaceSlug]/projects/[projectId]/views/index.tsx @@ -16,6 +16,9 @@ import AppLayout from "layouts/app-layout"; // ui import { BreadcrumbItem, Breadcrumbs } from "components/breadcrumbs"; +//icons +import { PlusIcon } from "components/icons"; + // image import emptyView from "public/empty-state/empty-view.svg"; // fetching keys @@ -64,7 +67,8 @@ const ProjectViews: NextPage = (props) => { } right={
- setIsCreateViewModalOpen(true)}> + setIsCreateViewModalOpen(true)}> + Create View