[WEB-4028] feat: sub work item filters and grouping (#6997)
* feat: added filters for sub issues * feat: added list groups for sub issues * chore: updated order for sub work item properties * feat: filters for sub work items * feat: added filtering and ordering at frontend * chore: reverted backend filters * feat: added empty states * chore: code improvemnt --------- Co-authored-by: sangeethailango <sangeethailango21@gmail.com>
This commit is contained in:
parent
39b5736c83
commit
e401c9d6e4
20 changed files with 1005 additions and 336 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import React, { FC } from "react";
|
||||
import { cn } from "../../helpers";
|
||||
import { DropdownIcon } from "../icons";
|
||||
import { DropdownIcon, ISvgIcons } from "../icons";
|
||||
|
||||
type Props = {
|
||||
isOpen: boolean;
|
||||
|
|
@ -10,6 +10,7 @@ type Props = {
|
|||
actionItemElement?: React.ReactNode;
|
||||
className?: string;
|
||||
titleClassName?: string;
|
||||
ChevronIcon?: React.FC<ISvgIcons>;
|
||||
};
|
||||
|
||||
export const CollapsibleButton: FC<Props> = (props) => {
|
||||
|
|
@ -21,6 +22,7 @@ export const CollapsibleButton: FC<Props> = (props) => {
|
|||
actionItemElement,
|
||||
className = "",
|
||||
titleClassName = "",
|
||||
ChevronIcon = DropdownIcon,
|
||||
} = props;
|
||||
return (
|
||||
<div
|
||||
|
|
@ -32,7 +34,7 @@ export const CollapsibleButton: FC<Props> = (props) => {
|
|||
<div className="flex items-center gap-3.5">
|
||||
<div className="flex items-center gap-3">
|
||||
{!hideChevron && (
|
||||
<DropdownIcon
|
||||
<ChevronIcon
|
||||
className={cn("size-2 text-custom-text-300 hover:text-custom-text-200 duration-300", {
|
||||
"-rotate-90": !isOpen,
|
||||
})}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue