"use client"; // components import { NavbarSearch } from "./search"; import { NavbarIssueBoardView } from "./issue-board-view"; import { NavbarIssueFilter } from "./issue-filter"; import { NavbarIssueView } from "./issue-view"; import { NavbarTheme } from "./theme"; // mobx react lite import { observer } from "mobx-react-lite"; // mobx import { useMobxStore } from "lib/mobx/store-provider"; import { RootStore } from "store/root"; const IssueNavbar = observer(() => { const store: RootStore = useMobxStore(); return (
{/* project detail */}
{store?.project?.project && store?.project?.project?.icon ? store?.project?.project?.icon : "😊"}
{store?.project?.project?.name || `...`}
{/* issue search bar */}
{/* issue views */}
{/* issue filters */} {/*
*/} {/* theming */} {/*
*/}
); }); export default IssueNavbar;