π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
Updated icons to mutate (#5670)
Mihir76a34440c334
diff --git a/web/core/components/modules/dropdowns/order-by.tsx b/web/core/components/modules/dropdowns/order-by.tsxindex 727074ae6f..a3b0af8814 100644--- a/web/core/components/modules/dropdowns/order-by.tsx+++ b/web/core/components/modules/dropdowns/order-by.tsx@@ -1,6 +1,6 @@"use client";-import { ArrowDownWideNarrow, Check, ChevronDown } from "lucide-react";+import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check, ChevronDown } from "lucide-react";import { TModuleOrderByOptions } from "@plane/types";// uiimport { CustomMenu, getButtonStyling } from "@plane/ui";@@ -27,9 +27,9 @@ export const ModuleOrderByDropdown: React.FC<Props> = (props) => {<CustomMenucustomButton={<div className={cn(getButtonStyling("neutral-primary", "sm"), "px-2 text-custom-text-300")}>- <ArrowDownWideNarrow className="h-3 w-3" />+ {!isDescending ? <ArrowUpWideNarrow className="size-3 " /> : <ArrowDownWideNarrow className="size-3 " />}{orderByDetails?.label}- <ChevronDown className="h-3 w-3" strokeWidth={2} />+ <ChevronDown className="size-3" strokeWidth={2} /></div>}placement="bottom-end"diff --git a/web/core/components/pages/list/order-by.tsx b/web/core/components/pages/list/order-by.tsxindex 1bca8620ba..ee1a9b978e 100644--- a/web/core/components/pages/list/order-by.tsx+++ b/web/core/components/pages/list/order-by.tsx@@ -1,6 +1,6 @@"use client";-import { ArrowDownWideNarrow, Check, ChevronDown } from "lucide-react";+import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check, ChevronDown } from "lucide-react";// typesimport { TPageFiltersSortBy, TPageFiltersSortKey } from "@plane/types";// ui@@ -26,7 +26,7 @@ export const PageOrderByDropdown: React.FC<Props> = (props) => {<CustomMenucustomButton={<div className={cn(getButtonStyling("neutral-primary", "sm"), "px-2 text-custom-text-300")}>- <ArrowDownWideNarrow className="h-3 w-3" />+ {!isDescending ? <ArrowUpWideNarrow className="size-3 " /> : <ArrowDownWideNarrow className="size-3 " />}{orderByDetails?.label}<ChevronDown className="h-3 w-3" strokeWidth={2} /></div>diff --git a/web/core/components/views/filters/order-by.tsx b/web/core/components/views/filters/order-by.tsxindex acaa100093..1012700dcd 100644--- a/web/core/components/views/filters/order-by.tsx+++ b/web/core/components/views/filters/order-by.tsx@@ -1,6 +1,6 @@"use client";-import { ArrowDownWideNarrow, Check, ChevronDown } from "lucide-react";+import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check, ChevronDown } from "lucide-react";// typesimport { TViewFiltersSortBy, TViewFiltersSortKey } from "@plane/types";// ui@@ -31,12 +31,14 @@ export const ViewOrderByDropdown: React.FC<Props> = (props) => {: `${getButtonStyling("neutral-primary", "sm")} px-2 text-custom-text-300`;const chevronClassName = isMobile ? "h-4 w-4 text-custom-text-200" : "h-3 w-3";-+ const icon = (+ <>{!isDescending ? <ArrowUpWideNarrow className="size-3 " /> : <ArrowDownWideNarrow className="size-3 " />}</>+ );return (<CustomMenucustomButton={<span className={buttonClassName}>- {!isMobile && <ArrowDownWideNarrow className="h-3 w-3" />}+ {!isMobile && icon}<span className="flex-shrink-0"> {orderByDetails?.label}</span><ChevronDown className={chevronClassName} strokeWidth={2} /></span>