+
{title}
handleIsPreviewEnabled(!isPreviewEnabled)}
+ className="flex-shrink-0 w-[20px] h-[20px] flex justify-center items-center rounded transition-all hover:bg-custom-background-80 cursor-pointer"
+ onClick={handleIsPreviewEnabled}
>
{isPreviewEnabled ? : }
diff --git a/web/components/issue-layouts/helpers/filter-option.tsx b/web/components/issue-layouts/helpers/filter-option.tsx
index 6989156f5..34ed036a0 100644
--- a/web/components/issue-layouts/helpers/filter-option.tsx
+++ b/web/components/issue-layouts/helpers/filter-option.tsx
@@ -10,7 +10,7 @@ interface IFilterOption {
}
export const FilterOption = ({ isChecked, icon, title, multiple = true }: IFilterOption) => (
-
+
{icon}
-
{title}
+
{title}
);
diff --git a/web/components/issue-layouts/kanban/index.tsx b/web/components/issue-layouts/kanban/index.tsx
index 51828ae99..22a79c08a 100644
--- a/web/components/issue-layouts/kanban/index.tsx
+++ b/web/components/issue-layouts/kanban/index.tsx
@@ -28,28 +28,6 @@ export const IssueKanBanViewRoot = observer(() => {
console.log("result", result);
};
- console.log("------");
- console.log("workspace id -->", issueFilterStore?.workspaceId);
- console.log("project id -->", issueFilterStore?.projectId);
- console.log("module id -->", issueFilterStore?.moduleId);
- console.log("cycle id -->", issueFilterStore?.cycleId);
- console.log("view id -->", issueFilterStore?.viewId);
-
- console.log("<-- workspace level -->");
- console.log("workspace projects -->", issueFilterStore?.workspaceProjects);
- console.log("workspace labels -->", issueFilterStore?.workspaceLabels);
-
- console.log("<-- project level -->");
- console.log("project states -->", issueFilterStore?.projectStates);
- console.log("project labels -->", issueFilterStore?.projectLabels);
- console.log("project members -->", issueFilterStore?.projectMembers);
-
- console.log("project display properties -->", issueFilterStore?.projectDisplayProperties);
-
- console.log("issue layout -->", issueFilterStore?.issueLayout);
- console.log("issues -->", issueViewStore?.getIssues);
- console.log("------");
-
return (
{issueViewStore.loader || issueViewStore?.getIssues === null ? (
diff --git a/web/components/issue-layouts/layout-selection.tsx b/web/components/issue-layouts/layout-selection.tsx
index b2bf6184c..a32595def 100644
--- a/web/components/issue-layouts/layout-selection.tsx
+++ b/web/components/issue-layouts/layout-selection.tsx
@@ -94,7 +94,7 @@ export const LayoutSelection = observer(() => {
{layoutSelectionFilters.map((_layout) => (
{
onClick={() => handleLayoutSelection(_layout?.key)}
>
<_layout.icon
- size={15}
+ size={14}
strokeWidth={2}
className={`${
issueFilterStore?.issueLayout == _layout?.key
diff --git a/web/pages/kanban.tsx b/web/pages/kanban.tsx
index db533b2c4..08c4fe667 100644
--- a/web/pages/kanban.tsx
+++ b/web/pages/kanban.tsx
@@ -4,7 +4,11 @@ import useSWR from "swr";
// components
import { IssueKanBanViewRoot } from "components/issue-layouts/kanban";
import { LayoutSelection } from "components/issue-layouts/layout-selection";
+// issue dropdowns
+import { IssueDropdown } from "components/issue-layouts/helpers/dropdown";
+// filter components
import { FilterSelection } from "components/issue-layouts/filters";
+import { DisplayFiltersSelection } from "components/issue-layouts/display-filters";
// mobx store
import { useMobxStore } from "lib/mobx/store-provider";
import { RootStore } from "store/root";
@@ -29,8 +33,8 @@ const KanBanViewRoot = () => {
// await issueViewStore.getMyIssuesAsync(workspaceSlug, "my_issues", "spreadsheet");
// await issueViewStore.getMyIssuesAsync(workspaceSlug, "my_issues", "gantt");
// project issues under and workspace and project
- await issueViewStore.getProjectIssuesAsync(workspaceSlug, projectSlug, "issues", "list");
- // await issueViewStore.getProjectIssuesAsync(workspaceSlug, projectSlug, "issues", "kanban");
+ // await issueViewStore.getProjectIssuesAsync(workspaceSlug, projectSlug, "issues", "list");
+ await issueViewStore.getProjectIssuesAsync(workspaceSlug, projectSlug, "issues", "kanban");
// await issueViewStore.getProjectIssuesAsync(workspaceSlug, projectSlug, "issues", "calendar");
// await issueViewStore.getProjectIssuesAsync(
// workspaceSlug,
@@ -165,16 +169,18 @@ const KanBanViewRoot = () => {
Filter Header
-
{/* */}
-
-
-
+
+
+
+
+
+
+