[WEB-4546] chore: header enhancements + quickstart guide ui update + breadcrumb #7451
This commit is contained in:
parent
5c22a6cecc
commit
763a28ab60
22 changed files with 307 additions and 148 deletions
|
|
@ -65,6 +65,7 @@ export const ProjectBreadcrumb = observer((props: TProjectBreadcrumbProps) => {
|
|||
if (handleOnClick) handleOnClick();
|
||||
else router.push(`/${workspaceSlug}/projects/${currentProjectDetails.id}/issues/`);
|
||||
}}
|
||||
shouldTruncate
|
||||
/>
|
||||
}
|
||||
showSeparator={false}
|
||||
|
|
|
|||
16
apps/web/ce/components/common/extended-app-header.tsx
Normal file
16
apps/web/ce/components/common/extended-app-header.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { ReactNode } from "react";
|
||||
import { AppSidebarToggleButton } from "@/components/sidebar";
|
||||
import { useAppTheme } from "@/hooks/store/use-app-theme";
|
||||
|
||||
export const ExtendedAppHeader = (props: { header: ReactNode }) => {
|
||||
const { header } = props;
|
||||
// store hooks
|
||||
const { sidebarCollapsed } = useAppTheme();
|
||||
|
||||
return (
|
||||
<>
|
||||
{sidebarCollapsed && <AppSidebarToggleButton />}
|
||||
<div className="w-full">{header}</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
@ -1 +1,2 @@
|
|||
export * from "./subscription";
|
||||
export * from "./extended-app-header";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue