chore: issue filters restructuring. (#5372)

This commit is contained in:
Prateek Shourya 2024-08-16 16:48:00 +05:30 committed by GitHub
parent 49a895f117
commit 4ca45a971c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 94 additions and 29 deletions

View file

@ -0,0 +1 @@
export * from "./issue-types";

View file

@ -0,0 +1,11 @@
"use client";
import { observer } from "mobx-react";
type Props = {
handleRemove: (val: string) => void;
values: string[];
editable: boolean | undefined;
};
export const AppliedIssueTypeFilters: React.FC<Props> = observer(() => null);

View file

@ -0,0 +1,2 @@
export * from "./applied-filters";
export * from "./issue-types";

View file

@ -0,0 +1,12 @@
"use client";
import React from "react";
import { observer } from "mobx-react";
type Props = {
appliedFilters: string[] | null;
handleUpdate: (val: string) => void;
searchQuery: string;
};
export const FilterIssueTypes: React.FC<Props> = observer(() => null);

View file

@ -3,3 +3,4 @@ export * from "./worklog";
export * from "./issue-modal";
export * from "./issue-details";
export * from "./quick-add";
export * from "./filters";