Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
feat(erp): responsive mobile navigation and heading line-height polish (#1514)
Brad Barbinf80214d30296
diff --git a/apps/erp/app/components/Greeting.tsx b/apps/erp/app/components/Greeting.tsxindex 0f820cfe00..294c81f10a 100644--- a/apps/erp/app/components/Greeting.tsx+++ b/apps/erp/app/components/Greeting.tsx@@ -1,4 +1,4 @@-import { Heading } from "@carbon/react";+import { cn, Heading } from "@carbon/react";import { useLingui } from "@lingui/react/macro";import type { ComponentProps } from "react";import { useMemo } from "react";@@ -21,7 +21,7 @@ type GreetingProps = ComponentProps<typeof Heading> & {* but rotating each minute for variety. Lines are declarative (never a question)* and only some include the name, so it reads like a person, not a template.*/-export function Greeting({ hour, pick, ...props }: GreetingProps) {+export function Greeting({ hour, pick, className, ...props }: GreetingProps) {const { t } = useLingui();const user = useUser();@@ -86,7 +86,11 @@ export function Greeting({ hour, pick, ...props }: GreetingProps) {}, [hour, pick, t, user.firstName]);return (- <Heading size="display" {...props}>+ <Heading+ size="display"+ className={cn("text-2xl sm:text-3xl md:text-[44px]", className)}+ {...props}+ >{greeting}</Heading>);diff --git a/apps/erp/app/components/Layout/Navigation/CollapsibleSidebar.tsx b/apps/erp/app/components/Layout/Navigation/CollapsibleSidebar.tsxindex 963614b112..5c1f0e77ff 100644--- a/apps/erp/app/components/Layout/Navigation/CollapsibleSidebar.tsx+++ b/apps/erp/app/components/Layout/Navigation/CollapsibleSidebar.tsx@@ -1,4 +1,12 @@-import { cn, IconButton, useIsMobile } from "@carbon/react";+import {+ cn,+ Drawer,+ DrawerContent,+ DrawerTitle,+ IconButton,+ useIsMobile+} from "@carbon/react";+import { Trans } from "@lingui/react/macro";import { motion, useReducedMotion } from "framer-motion";import type { ComponentProps, PropsWithChildren } from "react";import {@@ -9,6 +17,7 @@ import {useMemo} from "react";import { LuPanelLeft } from "react-icons/lu";+import { useOptimisticLocation } from "~/hooks";import { useUIStore } from "~/stores/ui";interface CollapsibleSidebarContextValue {@@ -35,6 +44,9 @@ export function CollapsibleSidebarProvider({ children }: PropsWithChildren) {const isSidebarOpen = useUIStore((state) => state.isSidebarOpen);const setSidebarOpen = useUIStore((state) => state.setSidebarOpen);const toggleSidebar = useUIStore((state) => state.toggleSidebar);+ const setHasContentSidebar = useUIStore(+ (state) => state.setHasContentSidebar+ );useEffect(() => {if (isMobile) {@@ -44,6 +56,13 @@ export function CollapsibleSidebarProvider({ children }: PropsWithChildren) {}}, [isMobile, setSidebarOpen]);+ // Tell the (global) Topbar that this route has a content sub-nav, so it can+ // surface a mobile "Sections" trigger. Cleared when the module unmounts.+ useEffect(() => {+ setHasContentSidebar(true);+ return () => setHasContentSidebar(false);+ }, [setHasContentSidebar]);+return (<CollapsibleSidebarContext.Providervalue={{@@ -89,6 +108,9 @@ export const CollapsibleSidebar = ({}: PropsWithChildren<{ width?: number }>) => {const { isOpen } = useCollapsibleSidebar();const shouldReduceMotion = useReducedMotion();+ const isMobile = useIsMobile();+ const setSidebarOpen = useUIStore((state) => state.setSidebarOpen);+ const location = useOptimisticLocation();const variants = useMemo(() => {return {@@ -103,6 +125,39 @@ export const CollapsibleSidebar = ({};}, [width]);+ // On mobile the sub-nav is an overlay drawer; close it once the user picks a+ // section (the pathname changes) so it doesn't sit over the destination.+ useEffect(() => {+ if (isMobile) setSidebarOpen(false);+ }, [location.pathname, isMobile, setSidebarOpen]);++ if (isMobile) {+ return (+ <>+ {/* The sub-nav is a portaled overlay on mobile, but the module layout+ grid (`grid-cols-[auto_minmax(0,1fr)]`) still expects a node in its+ first (`auto`) track. Without this zero-width occupant the content+ slides into the `auto` track and the `1fr` track becomes an empty+ gutter on the right. */}+ <div aria-hidden className="w-0" />+ <Drawer open={isOpen} onOpenChange={setSidebarOpen}>+ <DrawerContent+ position="left"+ size="content"+ className="w-[17rem] max-w-[85vw] p-0"+ >+ <DrawerTitle className="px-4 py-3">+ <Trans>Submodules</Trans>+ </DrawerTitle>+ <div className="flex flex-1 min-h-0 flex-col overflow-hidden">+ {children}+ </div>+ </DrawerContent>+ </Drawer>+ </>+ );+ }+return (<motion.divanimate={isOpen ? "visible" : "hidden"}diff --git a/apps/erp/app/components/Layout/Navigation/MobileNavigation.tsx b/apps/erp/app/components/Layout/Navigation/MobileNavigation.tsxnew file mode 100644index 0000000000..eab3329a50--- /dev/null+++ b/apps/erp/app/components/Layout/Navigation/MobileNavigation.tsx@@ -0,0 +1,193 @@+import {+ cn,+ Drawer,+ DrawerContent,+ DrawerTitle,+ DrawerTrigger,+ IconButton,+ useDisclosure,+ VStack+} from "@carbon/react";+import { Trans, useLingui } from "@lingui/react/macro";+import { LuMenu, LuSearch, LuSettings } from "react-icons/lu";+import { Link, useMatches } from "react-router";+import {+ useModules,+ useOptimisticLocation,+ usePermissions,+ useSettingsModule+} from "~/hooks";+import { useImplementationNavItem } from "~/hooks/useImplementationNavItem";+import { useUIStore } from "~/stores/ui";+import type { Authenticated, NavItem } from "~/types";+import { getModule } from "./PrimaryNavigation";++/**+ * The primary module navigation for phones and small tablets. The desktop icon+ * rail (`PrimaryNavigation`) is `hidden md:flex` and expands on hover — an+ * interaction that does not exist on touch — so below `md` this hamburger opens+ * a labelled module list in a left drawer instead.+ */+const MobileNavigation = () => {+ const { t } = useLingui();+ const disclosure = useDisclosure();+ const permissions = usePermissions();+ const location = useOptimisticLocation();+ const currentModule = getModule(location.pathname);+ const links = useModules();+ const settingsModule = useSettingsModule();+ const implementationNav = useImplementationNavItem();+ const { openSearchModal } = useUIStore();++ const matchedModules = useMatches().reduce((acc, match) => {+ const handle = match.handle as { module?: string } | undefined;+ if (handle && typeof handle.module === "string") {+ acc.add(handle.module);+ }+ return acc;+ }, new Set<string>());++ const isModuleActive = (to: string) => {+ const m = getModule(to);+ return currentModule === m || matchedModules.has(m);+ };++ return (+ <Drawer+ open={disclosure.isOpen}+ onOpenChange={(open) =>+ open ? disclosure.onOpen() : disclosure.onClose()+ }+ >+ <DrawerTrigger asChild>+ <IconButton+ aria-label={t`Open navigation`}+ icon={<LuMenu />}+ variant="ghost"+ />+ </DrawerTrigger>+ <DrawerContent+ position="left"+ size="content"+ className="w-[17rem] max-w-[85vw] p-0"+ >+ <DrawerTitle className="px-6 py-4">+ <Trans>Navigation</Trans>+ </DrawerTitle>+ <VStack+ spacing={1}+ className="flex-1 overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent px-3 pb-4"+ >+ {permissions.is("employee") && (+ <NavRow+ as="button"+ icon={LuSearch}+ label={t`Search`}+ onClick={() => {+ disclosure.onClose();+ openSearchModal();+ }}+ />+ )}++ {implementationNav ? (+ <NavRow+ icon={implementationNav.icon}+ label={implementationNav.name}+ to={implementationNav.to}+ isActive={currentModule === "get-started"}+ onClick={disclosure.onClose}+ />+ ) : null}++ {links.map((link) => (+ <NavRow+ key={link.name}+ icon={link.icon}+ label={link.name}+ to={link.to}+ external={link.external}+ tag={link.tag}+ isActive={isModuleActive(link.to)}+ onClick={disclosure.onClose}+ />+ ))}++ {settingsModule ? (+ <NavRow+ icon={settingsModule.icon ?? LuSettings}+ label={settingsModule.name}+ to={settingsModule.to}+ isActive={isModuleActive(settingsModule.to)}+ onClick={disclosure.onClose}+ />+ ) : null}+ </VStack>+ </DrawerContent>+ </Drawer>+ );+};++type NavRowProps = {+ icon: NavItem["icon"];+ label: string;+ isActive?: boolean;+ onClick?: () => void;+ tag?: Authenticated<NavItem>["tag"];+} & (+ | { as: "button"; to?: never; external?: never }+ | { as?: "link"; to: string; external?: boolean }+);++const NavRow = ({+ icon: Icon,+ label,+ isActive = false,+ onClick,+ tag,+ ...props+}: NavRowProps) => {+ const classes = cn(+ "relative flex items-center gap-3 w-full rounded-md px-3 py-2.5",+ "text-base font-medium select-none",+ "active:scale-[0.98] transition-[background-color,color,transform] duration-100 ease-out",+ isActive+ ? "bg-active text-active-foreground dark:shadow-button-base"+ : "hover:bg-accent hover:text-accent-foreground"+ );++ const content = (+ <>+ <Icon className="size-5 shrink-0" />+ <span className="flex-1 truncate text-left">{label}</span>+ {tag ? (+ <span className="min-w-4 h-4 px-1 rounded-full bg-primary text-primary-foreground text-[10px] font-medium leading-4 text-center tabular-nums">+ {tag}+ </span>+ ) : null}+ </>+ );++ if (props.as === "button") {+ return (+ <button type="button" onClick={onClick} className={classes}>+ {content}+ </button>+ );+ }++ return (+ <Link+ to={props.to}+ onClick={onClick}+ className={classes}+ aria-current={isActive}+ prefetch={props.external ? "none" : "intent"}+ reloadDocument={props.external}+ >+ {content}+ </Link>+ );+};++export default MobileNavigation;diff --git a/apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsx b/apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsxindex c068b3cfbc..4d3644e486 100644--- a/apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsx+++ b/apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsx@@ -90,7 +90,7 @@ const PrimaryNavigation = () => {const isOpen = navigationPanel.isOpen || editMode.isEditing;return (- <div className="w-14 h-full flex-col z-50 hidden sm:flex">+ <div className="w-14 h-full flex-col z-50 hidden md:flex"><navdata-state={isOpen ? "expanded" : "collapsed"}className={cn(diff --git a/apps/erp/app/components/Layout/Panels.tsx b/apps/erp/app/components/Layout/Panels.tsxindex 147e86dd53..de139dd692 100644--- a/apps/erp/app/components/Layout/Panels.tsx+++ b/apps/erp/app/components/Layout/Panels.tsx@@ -1,11 +1,16 @@import {+ Drawer,+ DrawerContent,+ DrawerTitle,ResizableHandle,ResizablePanel,ResizablePanelGroup,useIsMobile} from "@carbon/react";+import { Trans } from "@lingui/react/macro";import { createContext, useContext, useEffect, useRef, useState } from "react";import type { ImperativePanelHandle } from "react-resizable-panels";+import { useOptimisticLocation } from "~/hooks";interface PanelContextType {isExplorerCollapsed: boolean;@@ -86,9 +91,15 @@ export function ResizablePanels({content,properties}: ResizablePanelsProps) {- const { isExplorerCollapsed, isPropertiesCollapsed, setIsExplorerCollapsed } =- usePanels();+ const {+ isExplorerCollapsed,+ isPropertiesCollapsed,+ setIsExplorerCollapsed,+ setIsPropertiesCollapsed+ } = usePanels();const panelRef = useRef<ImperativePanelHandle>(null);+ const isMobile = useIsMobile();+ const location = useOptimisticLocation();useEffect(() => {if (isExplorerCollapsed) {@@ -98,6 +109,69 @@ export function ResizablePanels({}}, [isExplorerCollapsed]);+ // On mobile the side panels overlay the content as drawers; collapse them once+ // the pathname changes (e.g. picking an item in the explorer) so the drawer+ // doesn't sit over the destination.+ useEffect(() => {+ if (isMobile) {+ setIsExplorerCollapsed(true);+ setIsPropertiesCollapsed(true);+ }+ }, [+ location.pathname,+ isMobile,+ setIsExplorerCollapsed,+ setIsPropertiesCollapsed+ ]);++ // A resizable column split is unreadable at phone width. Render the content+ // full-width and float the explorer / properties as overlay drawers instead.+ if (isMobile) {+ return (+ <div className="flex h-[calc(100dvh-var(--topbar-height)-var(--header-height))] w-full overflow-hidden">+ {content}+ {explorer && (+ <Drawer+ open={!isExplorerCollapsed}+ onOpenChange={(open) => setIsExplorerCollapsed(!open)}+ >+ <DrawerContent+ position="left"+ size="content"+ className="w-[20rem] max-w-[90vw] p-0"+ >+ <DrawerTitle className="sr-only">+ <Trans>Explorer</Trans>+ </DrawerTitle>+ <div className="flex flex-1 min-h-0 flex-col overflow-hidden">+ {explorer}+ </div>+ </DrawerContent>+ </Drawer>+ )}+ {properties && (+ <Drawer+ open={!isPropertiesCollapsed}+ onOpenChange={(open) => setIsPropertiesCollapsed(!open)}+ >+ <DrawerContent+ position="right"+ size="content"+ className="w-[20rem] max-w-[90vw] p-0"+ >+ <DrawerTitle className="sr-only">+ <Trans>Properties</Trans>+ </DrawerTitle>+ <div className="flex flex-1 min-h-0 flex-col overflow-hidden">+ {properties}+ </div>+ </DrawerContent>+ </Drawer>+ )}+ </div>+ );+ }+return (<ResizablePanelGroup direction="horizontal"><ResizablePaneldiff --git a/apps/erp/app/components/Layout/Topbar/Topbar.tsx b/apps/erp/app/components/Layout/Topbar/Topbar.tsxindex 2930ab2b39..584cd2286b 100644--- a/apps/erp/app/components/Layout/Topbar/Topbar.tsx+++ b/apps/erp/app/components/Layout/Topbar/Topbar.tsx@@ -1,8 +1,10 @@import { HStack, IconButton } from "@carbon/react";import { useLingui } from "@lingui/react/macro";-import { LuSquarePen } from "react-icons/lu";+import { LuPanelLeft, LuSquarePen } from "react-icons/lu";import { useUser } from "~/hooks";+import { useUIStore } from "~/stores/ui";import AvatarMenu from "../../AvatarMenu";+import MobileNavigation from "../Navigation/MobileNavigation";import AskDocs from "./AskDocs";import Breadcrumbs from "./Breadcrumbs";import CompanySwitcher from "./CompanySwitcher";@@ -14,13 +16,24 @@ const Topbar = () => {const { t } = useLingui();const user = useUser();const notificationsKey = `${user.id}:${user.company.id}`;+ const hasContentSidebar = useUIStore((s) => s.hasContentSidebar);+ const toggleSidebar = useUIStore((s) => s.toggleSidebar);return (<div className="h-[var(--topbar-height)] grid grid-cols-[1fr_auto] bg-background text-foreground px-4 top-0 sticky z-10 items-center"><div className="flex-1 hidden md:block"><Breadcrumbs /></div>- <div className="flex-1 md:hidden">+ <div className="flex-1 md:hidden flex items-center gap-1 min-w-0">+ <MobileNavigation />+ {hasContentSidebar && (+ <IconButton+ aria-label={t`Sections`}+ icon={<LuPanelLeft />}+ variant="ghost"+ onClick={toggleSidebar}+ />+ )}<CompanySwitcher /></div><HStack spacing={1} className="flex-1 justify-end py-2">diff --git a/apps/erp/app/modules/inventory/ui/PickingLists/PickingListHeader.tsx b/apps/erp/app/modules/inventory/ui/PickingLists/PickingListHeader.tsxindex 804211989b..f8fc513e44 100644--- a/apps/erp/app/modules/inventory/ui/PickingLists/PickingListHeader.tsx+++ b/apps/erp/app/modules/inventory/ui/PickingLists/PickingListHeader.tsx@@ -107,7 +107,7 @@ const PickingListHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><HStack className="w-full justify-between"><HStack><Heading size="h4" className="flex items-center gap-2">diff --git a/apps/erp/app/modules/inventory/ui/StockTransfers/StockTransferHeader.tsx b/apps/erp/app/modules/inventory/ui/StockTransfers/StockTransferHeader.tsxindex 3364d91a49..44e40c81a1 100644--- a/apps/erp/app/modules/inventory/ui/StockTransfers/StockTransferHeader.tsx+++ b/apps/erp/app/modules/inventory/ui/StockTransfers/StockTransferHeader.tsx@@ -104,7 +104,7 @@ const StockTransferHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><HStack className="w-full justify-between"><HStack><Heading size="h4" className="flex items-center gap-2">diff --git a/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsx b/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsxindex 5b28a4e234..52c7ff54a9 100644--- a/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsx+++ b/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsx@@ -217,7 +217,7 @@ const PurchaseInvoiceHeader = () => {});return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoiceHeader.tsx b/apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoiceHeader.tsxindex de9836379d..e5143297b7 100644--- a/apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoiceHeader.tsx+++ b/apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoiceHeader.tsx@@ -206,7 +206,7 @@ const SalesInvoiceHeader = () => {});return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeHeader.tsx b/apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeHeader.tsxindex 976a87c1d6..9d227d1364 100644--- a/apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeHeader.tsx+++ b/apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeHeader.tsx@@ -68,7 +68,7 @@ const ChangeNoticeHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0}><HStack><Link to={path.to.changeNoticeDetails(id)}>diff --git a/apps/erp/app/modules/items/ui/Consumables/ConsumableHeader.tsx b/apps/erp/app/modules/items/ui/Consumables/ConsumableHeader.tsxindex 9695e32c71..9fef25e066 100644--- a/apps/erp/app/modules/items/ui/Consumables/ConsumableHeader.tsx+++ b/apps/erp/app/modules/items/ui/Consumables/ConsumableHeader.tsx@@ -58,7 +58,7 @@ const ConsumableHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.consumableDetails(itemId)}>diff --git a/apps/erp/app/modules/items/ui/Materials/MaterialHeader.tsx b/apps/erp/app/modules/items/ui/Materials/MaterialHeader.tsxindex 31e37de11a..0ce92ec232 100644--- a/apps/erp/app/modules/items/ui/Materials/MaterialHeader.tsx+++ b/apps/erp/app/modules/items/ui/Materials/MaterialHeader.tsx@@ -58,7 +58,7 @@ const MaterialHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.materialDetails(itemId)}>diff --git a/apps/erp/app/modules/items/ui/Parts/PartHeader.tsx b/apps/erp/app/modules/items/ui/Parts/PartHeader.tsxindex c658b90c61..cf119253d3 100644--- a/apps/erp/app/modules/items/ui/Parts/PartHeader.tsx+++ b/apps/erp/app/modules/items/ui/Parts/PartHeader.tsx@@ -64,7 +64,7 @@ const PartHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.partDetails(itemId)}>diff --git a/apps/erp/app/modules/items/ui/Services/ServiceHeader.tsx b/apps/erp/app/modules/items/ui/Services/ServiceHeader.tsxindex 2797d4a7bb..e46bf83f63 100644--- a/apps/erp/app/modules/items/ui/Services/ServiceHeader.tsx+++ b/apps/erp/app/modules/items/ui/Services/ServiceHeader.tsx@@ -58,7 +58,7 @@ const ServiceHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.serviceDetails(itemId)}>diff --git a/apps/erp/app/modules/items/ui/Tools/ToolHeader.tsx b/apps/erp/app/modules/items/ui/Tools/ToolHeader.tsxindex f75df79bc8..1dc20fd735 100644--- a/apps/erp/app/modules/items/ui/Tools/ToolHeader.tsx+++ b/apps/erp/app/modules/items/ui/Tools/ToolHeader.tsx@@ -64,7 +64,7 @@ const ToolHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.toolDetails(itemId)}>diff --git a/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionHeader.tsx b/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionHeader.tsxindex e42a921b35..0f603c787d 100644--- a/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionHeader.tsx+++ b/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionHeader.tsx@@ -94,7 +94,7 @@ const AssemblyInstructionHeader = () => {};return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><HStack className="flex-grow" spacing={1}><IconButtonaria-label="Toggle Explorer"diff --git a/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsx b/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsxindex 6b482edb5f..65645afd82 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsx@@ -187,7 +187,7 @@ const JobHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide ">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide "><HStack><IconButtonaria-label={t`Toggle Explorer`}diff --git a/apps/erp/app/modules/production/ui/Procedures/ProcedureHeader.tsx b/apps/erp/app/modules/production/ui/Procedures/ProcedureHeader.tsxindex 4237608002..161f421c84 100644--- a/apps/erp/app/modules/production/ui/Procedures/ProcedureHeader.tsx+++ b/apps/erp/app/modules/production/ui/Procedures/ProcedureHeader.tsx@@ -52,7 +52,7 @@ const ProcedureHeader = () => {}, [id]);return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0} className="flex-grow"><HStack><IconButtondiff --git a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader.tsx b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader.tsxindex 6d21df0c09..b37b947462 100644--- a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader.tsx+++ b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader.tsx@@ -198,7 +198,7 @@ const PurchaseOrderHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQHeader.tsx b/apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQHeader.tsxindex cda791d57b..be55950817 100644--- a/apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQHeader.tsx+++ b/apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQHeader.tsx@@ -88,7 +88,7 @@ const PurchasingRFQHeader = () => {const canCompareQuotes = activeLinkedQuotes.length > 1;return (- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide ">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide "><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteHeader.tsx b/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteHeader.tsxindex 79a6ef632a..dc824bb3dd 100644--- a/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteHeader.tsx+++ b/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteHeader.tsx@@ -131,7 +131,7 @@ const SupplierQuoteHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/quality/ui/Documents/QualityDocumentHeader.tsx b/apps/erp/app/modules/quality/ui/Documents/QualityDocumentHeader.tsxindex 603cfc64f2..178433e652 100644--- a/apps/erp/app/modules/quality/ui/Documents/QualityDocumentHeader.tsx+++ b/apps/erp/app/modules/quality/ui/Documents/QualityDocumentHeader.tsx@@ -113,7 +113,7 @@ const QualityDocumentHeader = () => {}, [id]);return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0} className="flex-grow"><HStack><IconButtondiff --git a/apps/erp/app/modules/quality/ui/Issue/IssueHeader.tsx b/apps/erp/app/modules/quality/ui/Issue/IssueHeader.tsxindex e7b71b7727..038f575074 100644--- a/apps/erp/app/modules/quality/ui/Issue/IssueHeader.tsx+++ b/apps/erp/app/modules/quality/ui/Issue/IssueHeader.tsx@@ -51,7 +51,7 @@ const IssueHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0}><HStack><Link to={path.to.issueDetails(id)}>diff --git a/apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchHeader.tsx b/apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchHeader.tsxindex cf41a922cb..91da3ff9f4 100644--- a/apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchHeader.tsx+++ b/apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchHeader.tsx@@ -45,7 +45,7 @@ const MaintenanceDispatchHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0}><HStack><Link to={path.to.maintenanceDispatch(dispatchId)}>diff --git a/apps/erp/app/modules/resources/ui/Training/TrainingHeader.tsx b/apps/erp/app/modules/resources/ui/Training/TrainingHeader.tsxindex 6a189fbee9..c7fbe3922c 100644--- a/apps/erp/app/modules/resources/ui/Training/TrainingHeader.tsx+++ b/apps/erp/app/modules/resources/ui/Training/TrainingHeader.tsx@@ -57,7 +57,7 @@ const TrainingHeader = () => {};return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 px-4 py-2 bg-card border-b border-border h-[var(--header-height)] overflow-x-auto scrollbar-hide"><VStack spacing={0} className="flex-grow"><HStack><IconButtondiff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteHeader.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteHeader.tsxindex b0766fb6f5..f62ef25b62 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteHeader.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteHeader.tsx@@ -104,7 +104,7 @@ const QuoteHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx b/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsxindex 711118d1ce..33cf49d18d 100644--- a/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx+++ b/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx@@ -258,7 +258,7 @@ const SalesOrderHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx b/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsxindex f5e5ca3817..c9eb6c8c36 100644--- a/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx+++ b/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx@@ -75,7 +75,7 @@ const SalesRFQHeader = () => {const statusFetcher = useFetcher<{}>();return (- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide ">+ <div className="flex flex-shrink-0 items-center justify-between gap-x-4 p-2 bg-card border-b h-[var(--header-height)] overflow-x-auto scrollbar-hide "><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/routes/x+/account+/_layout.tsx b/apps/erp/app/routes/x+/account+/_layout.tsxindex 3280f9d2c6..0eb0d852fa 100644--- a/apps/erp/app/routes/x+/account+/_layout.tsx+++ b/apps/erp/app/routes/x+/account+/_layout.tsx@@ -23,7 +23,7 @@ export default function AccountRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full bg-card">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full bg-card"><GroupedContentSidebar groups={groups} /><VStackspacing={0}diff --git a/apps/erp/app/routes/x+/accounting+/_layout.tsx b/apps/erp/app/routes/x+/accounting+/_layout.tsxindex 27eb00badb..1e591f9f1f 100644--- a/apps/erp/app/routes/x+/accounting+/_layout.tsx+++ b/apps/erp/app/routes/x+/accounting+/_layout.tsx@@ -74,7 +74,7 @@ export default function AccountingRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full bg-card">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full bg-card"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="relative h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/documents+/_layout.tsx b/apps/erp/app/routes/x+/documents+/_layout.tsxindex ad634b515e..460a6bbf31 100644--- a/apps/erp/app/routes/x+/documents+/_layout.tsx+++ b/apps/erp/app/routes/x+/documents+/_layout.tsx@@ -25,7 +25,7 @@ export default function DocumentsRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><ContentSidebar links={links} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/get-started+/_layout.tsx b/apps/erp/app/routes/x+/get-started+/_layout.tsxindex 8dcbf2354e..c35aa81b98 100644--- a/apps/erp/app/routes/x+/get-started+/_layout.tsx+++ b/apps/erp/app/routes/x+/get-started+/_layout.tsx@@ -249,7 +249,7 @@ export default function GetStartedLayout() {return (<CollapsibleSidebarProvider>- <div className="bg-card grid grid-cols-[auto_1fr] grid-rows-[minmax(0,1fr)] w-full h-full overflow-hidden">+ <div className="bg-card grid grid-cols-[auto_minmax(0,1fr)] grid-rows-[minmax(0,1fr)] w-full h-full overflow-hidden"><GroupedContentSidebar groups={groups} exactMatch /><div className="relative min-w-0 overflow-hidden bg-card"><div ref={scrollRef} className="relative z-10 h-full overflow-y-auto">diff --git a/apps/erp/app/routes/x+/inventory+/_layout.tsx b/apps/erp/app/routes/x+/inventory+/_layout.tsxindex 575da9876b..1d858f1b90 100644--- a/apps/erp/app/routes/x+/inventory+/_layout.tsx+++ b/apps/erp/app/routes/x+/inventory+/_layout.tsx@@ -42,7 +42,7 @@ export default function InventoryRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/invoicing+/_layout.tsx b/apps/erp/app/routes/x+/invoicing+/_layout.tsxindex d4eee79cf4..22d5158b37 100644--- a/apps/erp/app/routes/x+/invoicing+/_layout.tsx+++ b/apps/erp/app/routes/x+/invoicing+/_layout.tsx@@ -32,7 +32,7 @@ export default function InvoicingRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/items+/_layout.tsx b/apps/erp/app/routes/x+/items+/_layout.tsxindex b96adf44a9..a1fd3cced3 100644--- a/apps/erp/app/routes/x+/items+/_layout.tsx+++ b/apps/erp/app/routes/x+/items+/_layout.tsx@@ -33,7 +33,7 @@ export default function PartsRoute() {className={hideSidebar? "w-full h-full"- : "grid grid-cols-[auto_1fr] w-full h-full"+ : "grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"}>{!hideSidebar && <GroupedContentSidebar groups={groups} />}diff --git a/apps/erp/app/routes/x+/people+/_layout.tsx b/apps/erp/app/routes/x+/people+/_layout.tsxindex 08d05009e7..c0ba667512 100644--- a/apps/erp/app/routes/x+/people+/_layout.tsx+++ b/apps/erp/app/routes/x+/people+/_layout.tsx@@ -23,7 +23,7 @@ export default function PeopleRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/production+/_index.tsx b/apps/erp/app/routes/x+/production+/_index.tsxindex cc24ff2d29..c71ea0280f 100644--- a/apps/erp/app/routes/x+/production+/_index.tsx+++ b/apps/erp/app/routes/x+/production+/_index.tsx@@ -310,7 +310,7 @@ export default function ProductionDashboard() {<div className="flex flex-col gap-4 w-full p-4 h-[calc(100dvh-var(--header-height))] overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-muted-foreground bg-muted dark:bg-card"><div className="grid w-full gap-y-4 lg:gap-x-4 grid-cols-1 lg:grid-cols-6"><MetricCard- className="col-span-3"+ className="col-span-1 lg:col-span-3"icon={<LuCirclePlay />}title={<Trans>Active Jobs</Trans>}value={activeJobs}@@ -319,7 +319,7 @@ export default function ProductionDashboard() {/><MetricCard- className="col-span-3"+ className="col-span-1 lg:col-span-3"icon={<LuInbox />}title={<Trans>Jobs Assigned to Me</Trans>}value={assignedJobs}@@ -327,8 +327,8 @@ export default function ProductionDashboard() {linkLabel={t`View Assigned Jobs`}/>- <Card className="col-span-6">- <HStack className="justify-between items-center">+ <Card className="col-span-1 lg:col-span-6">+ <HStack className="flex-col items-start gap-2 sm:flex-row sm:justify-between sm:items-center"><CardHeader><div className="flex w-full justify-start items-center gap-2"><DropdownMenu>diff --git a/apps/erp/app/routes/x+/production+/_layout.tsx b/apps/erp/app/routes/x+/production+/_layout.tsxindex 5e48245b6c..4a401a1507 100644--- a/apps/erp/app/routes/x+/production+/_layout.tsx+++ b/apps/erp/app/routes/x+/production+/_layout.tsx@@ -23,7 +23,7 @@ export default function ProductionRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/purchasing+/_layout.tsx b/apps/erp/app/routes/x+/purchasing+/_layout.tsxindex 8e82d51589..1c65f84dc5 100644--- a/apps/erp/app/routes/x+/purchasing+/_layout.tsx+++ b/apps/erp/app/routes/x+/purchasing+/_layout.tsx@@ -23,7 +23,7 @@ export default function UsersRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/quality+/_layout.tsx b/apps/erp/app/routes/x+/quality+/_layout.tsxindex 6f0345c5d1..cd0b3855ff 100644--- a/apps/erp/app/routes/x+/quality+/_layout.tsx+++ b/apps/erp/app/routes/x+/quality+/_layout.tsx@@ -23,7 +23,7 @@ export default function QualityRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/resources+/_layout.tsx b/apps/erp/app/routes/x+/resources+/_layout.tsxindex bc4a267459..10915f9e48 100644--- a/apps/erp/app/routes/x+/resources+/_layout.tsx+++ b/apps/erp/app/routes/x+/resources+/_layout.tsx@@ -23,7 +23,7 @@ export default function ResourcesRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/sales+/_layout.tsx b/apps/erp/app/routes/x+/sales+/_layout.tsxindex 54939953f0..f595109011 100644--- a/apps/erp/app/routes/x+/sales+/_layout.tsx+++ b/apps/erp/app/routes/x+/sales+/_layout.tsx@@ -23,7 +23,7 @@ export default function SalesRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/settings+/_layout.tsx b/apps/erp/app/routes/x+/settings+/_layout.tsxindex 7ef8dd463b..33d61270f2 100644--- a/apps/erp/app/routes/x+/settings+/_layout.tsx+++ b/apps/erp/app/routes/x+/settings+/_layout.tsx@@ -23,7 +23,7 @@ export default function SettingsRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full bg-card">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full bg-card"><GroupedContentSidebar groups={groups} /><VStackspacing={0}diff --git a/apps/erp/app/routes/x+/users+/_layout.tsx b/apps/erp/app/routes/x+/users+/_layout.tsxindex 29e45fd351..9ce5726dd5 100644--- a/apps/erp/app/routes/x+/users+/_layout.tsx+++ b/apps/erp/app/routes/x+/users+/_layout.tsx@@ -23,7 +23,7 @@ export default function UsersRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/routes/x+/workflow+/_layout.tsx b/apps/erp/app/routes/x+/workflow+/_layout.tsxindex 6c1519862c..74843a16e2 100644--- a/apps/erp/app/routes/x+/workflow+/_layout.tsx+++ b/apps/erp/app/routes/x+/workflow+/_layout.tsx@@ -1,16 +1,15 @@-import { msg } from "@lingui/core/macro";import type { MetaFunction } from "react-router";import { Outlet } from "react-router";import type { Handle } from "~/utils/handle";-import { path } from "~/utils/path";export const meta: MetaFunction = () => {return [{ title: "Carbon | Workflow" }];};+// No breadcrumb here: the detail route ($id.tsx) already emits the "Workflows"+// list link via detailBreadcrumb, so declaring it on the layout too would render+// "Workflows" twice. `module` is kept for navigation highlighting / recently-viewed.export const handle: Handle = {- breadcrumb: msg`Workflows`,- to: path.to.workflows,module: "workflows"};diff --git a/apps/erp/app/routes/x+/workflows+/_layout.tsx b/apps/erp/app/routes/x+/workflows+/_layout.tsxindex 3bbdad6617..8a3b8468fc 100644--- a/apps/erp/app/routes/x+/workflows+/_layout.tsx+++ b/apps/erp/app/routes/x+/workflows+/_layout.tsx@@ -23,7 +23,7 @@ export default function WorkflowsRoute() {return (<CollapsibleSidebarProvider>- <div className="grid grid-cols-[auto_1fr] w-full h-full">+ <div className="grid grid-cols-[auto_minmax(0,1fr)] w-full h-full"><GroupedContentSidebar groups={groups} /><VStack spacing={0} className="h-full"><Outlet />diff --git a/apps/erp/app/stores/ui.ts b/apps/erp/app/stores/ui.tsindex 3ba9ba9b50..5b10d32a75 100644--- a/apps/erp/app/stores/ui.ts+++ b/apps/erp/app/stores/ui.ts@@ -14,6 +14,10 @@ interface UIStore {isSidebarOpen: boolean;setSidebarOpen: (open: boolean) => void;toggleSidebar: () => void;+ /** True while the current route renders a module content sub-nav. Lets the+ * mobile Topbar show a "Sections" trigger only where one exists. */+ hasContentSidebar: boolean;+ setHasContentSidebar: (has: boolean) => void;suggestionPrefill: SuggestionPrefill | null;requestSuggestion: (prefill: SuggestionPrefill) => void;clearSuggestionRequest: () => void;@@ -29,6 +33,8 @@ export const useUIStore = create<UIStore>()((set) => ({setSidebarOpen: (open) => set({ isSidebarOpen: open }),toggleSidebar: () =>set((state) => ({ isSidebarOpen: !state.isSidebarOpen })),+ hasContentSidebar: false,+ setHasContentSidebar: (has) => set({ hasContentSidebar: has }),suggestionPrefill: null,requestSuggestion: (prefill) => set({ suggestionPrefill: prefill }),clearSuggestionRequest: () => set({ suggestionPrefill: null })diff --git a/packages/database/src/swagger-docs-schema.ts b/packages/database/src/swagger-docs-schema.tsindex 5da1d5930e..65f0b1cb89 100644--- a/packages/database/src/swagger-docs-schema.ts+++ b/packages/database/src/swagger-docs-schema.ts@@ -19513,13 +19513,13 @@ export default {$ref: "#/parameters/rowFilter.jobs.priority"},{- $ref: "#/parameters/rowFilter.jobs.scheduleOutdatedReason"+ $ref: "#/parameters/rowFilter.jobs.projectedCompletionAt"},{- $ref: "#/parameters/rowFilter.jobs.scheduleOutdatedAt"+ $ref: "#/parameters/rowFilter.jobs.scheduleOutdatedReason"},{- $ref: "#/parameters/rowFilter.jobs.projectedCompletionAt"+ $ref: "#/parameters/rowFilter.jobs.scheduleOutdatedAt"},{$ref: "#/parameters/rowFilter.jobs.productionQuantity"@@ -32224,13 +32224,13 @@ export default {$ref: "#/parameters/rowFilter.job.priority"},{- $ref: "#/parameters/rowFilter.job.scheduleOutdatedReason"+ $ref: "#/parameters/rowFilter.job.projectedCompletionAt"},{- $ref: "#/parameters/rowFilter.job.scheduleOutdatedAt"+ $ref: "#/parameters/rowFilter.job.scheduleOutdatedReason"},{- $ref: "#/parameters/rowFilter.job.projectedCompletionAt"+ $ref: "#/parameters/rowFilter.job.scheduleOutdatedAt"},{$ref: "#/parameters/rowFilter.job.productionQuantity"@@ -32406,13 +32406,13 @@ export default {$ref: "#/parameters/rowFilter.job.priority"},{- $ref: "#/parameters/rowFilter.job.scheduleOutdatedReason"+ $ref: "#/parameters/rowFilter.job.projectedCompletionAt"},{- $ref: "#/parameters/rowFilter.job.scheduleOutdatedAt"+ $ref: "#/parameters/rowFilter.job.scheduleOutdatedReason"},{- $ref: "#/parameters/rowFilter.job.projectedCompletionAt"+ $ref: "#/parameters/rowFilter.job.scheduleOutdatedAt"},{$ref: "#/parameters/rowFilter.job.productionQuantity"@@ -32542,13 +32542,13 @@ export default {$ref: "#/parameters/rowFilter.job.priority"},{- $ref: "#/parameters/rowFilter.job.scheduleOutdatedReason"+ $ref: "#/parameters/rowFilter.job.projectedCompletionAt"},{- $ref: "#/parameters/rowFilter.job.scheduleOutdatedAt"+ $ref: "#/parameters/rowFilter.job.scheduleOutdatedReason"},{- $ref: "#/parameters/rowFilter.job.projectedCompletionAt"+ $ref: "#/parameters/rowFilter.job.scheduleOutdatedAt"},{$ref: "#/parameters/rowFilter.job.productionQuantity"@@ -106285,7 +106285,7 @@ export default {properties: {id: {description:- "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",format: "text",type: "string"},@@ -106334,7 +106334,7 @@ export default {},supplierLocationId: {description:- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",format: "text",type: "string"},@@ -109475,6 +109475,10 @@ export default {format: "double precision",type: "number"},+ projectedCompletionAt: {+ format: "timestamp with time zone",+ type: "string"+ },scheduleOutdatedReason: {format: "text",type: "string"@@ -109483,10 +109487,6 @@ export default {format: "timestamp with time zone",type: "string"},- projectedCompletionAt: {- format: "timestamp with time zone",- type: "string"- },productionQuantity: {format: "numeric",type: "number"@@ -115708,6 +115708,12 @@ export default {format: "double precision",type: "number"},+ projectedCompletionAt: {+ description:+ "Simulated finish of the job's last operation (forward-ASAP finite schedule). Null until first regen.",+ format: "timestamp with time zone",+ type: "string"+ },scheduleOutdatedReason: {description:'Why the stored schedule may be stale (e.g. "Qualification changed: Solder"). Null = schedule current.',@@ -115718,12 +115724,6 @@ export default {format: "timestamp with time zone",type: "string"},- projectedCompletionAt: {- description:- "Simulated finish of the job's last operation (forward-ASAP finite schedule). Null until first regen.",- format: "timestamp with time zone",- type: "string"- },productionQuantity: {format: "numeric",type: "number"@@ -152805,20 +152805,20 @@ export default {in: "query",type: "string"},- "rowFilter.jobs.scheduleOutdatedReason": {- name: "scheduleOutdatedReason",+ "rowFilter.jobs.projectedCompletionAt": {+ name: "projectedCompletionAt",required: false,in: "query",type: "string"},- "rowFilter.jobs.scheduleOutdatedAt": {- name: "scheduleOutdatedAt",+ "rowFilter.jobs.scheduleOutdatedReason": {+ name: "scheduleOutdatedReason",required: false,in: "query",type: "string"},- "rowFilter.jobs.projectedCompletionAt": {- name: "projectedCompletionAt",+ "rowFilter.jobs.scheduleOutdatedAt": {+ name: "scheduleOutdatedAt",required: false,in: "query",type: "string"@@ -159797,6 +159797,14 @@ export default {in: "query",type: "string"},+ "rowFilter.job.projectedCompletionAt": {+ name: "projectedCompletionAt",+ description:+ "Simulated finish of the job's last operation (forward-ASAP finite schedule). Null until first regen.",+ required: false,+ in: "query",+ type: "string"+ },"rowFilter.job.scheduleOutdatedReason": {name: "scheduleOutdatedReason",description:@@ -159811,14 +159819,6 @@ export default {in: "query",type: "string"},- "rowFilter.job.projectedCompletionAt": {- name: "projectedCompletionAt",- description:- "Simulated finish of the job's last operation (forward-ASAP finite schedule). Null until first regen.",- required: false,- in: "query",- type: "string"- },"rowFilter.job.productionQuantity": {name: "productionQuantity",required: false,diff --git a/packages/database/src/types.ts b/packages/database/src/types.tsindex 21d0c80b0c..35ee8d9b49 100644--- a/packages/database/src/types.ts+++ b/packages/database/src/types.ts@@ -68308,14 +68308,14 @@ export type Database = {},{foreignKeyName: "partner_id_fkey"- columns: ["supplierLocationId"]+ columns: ["id"]isOneToOne: falsereferencedRelation: "supplierLocation"referencedColumns: ["id"]},{foreignKeyName: "partner_id_fkey"- columns: ["id"]+ columns: ["supplierLocationId"]isOneToOne: falsereferencedRelation: "supplierLocation"referencedColumns: ["id"]@@ -73397,7 +73397,7 @@ export type Database = {Relationships: [{foreignKeyName: "address_countryCode_fkey"- columns: ["customerCountryCode"]+ columns: ["shipmentCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]@@ -73411,7 +73411,7 @@ export type Database = {},{foreignKeyName: "address_countryCode_fkey"- columns: ["shipmentCountryCode"]+ columns: ["customerCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.tsindex 21d0c80b0c..35ee8d9b49 100644--- a/packages/database/supabase/functions/lib/types.ts+++ b/packages/database/supabase/functions/lib/types.ts@@ -68308,14 +68308,14 @@ export type Database = {},{foreignKeyName: "partner_id_fkey"- columns: ["supplierLocationId"]+ columns: ["id"]isOneToOne: falsereferencedRelation: "supplierLocation"referencedColumns: ["id"]},{foreignKeyName: "partner_id_fkey"- columns: ["id"]+ columns: ["supplierLocationId"]isOneToOne: falsereferencedRelation: "supplierLocation"referencedColumns: ["id"]@@ -73397,7 +73397,7 @@ export type Database = {Relationships: [{foreignKeyName: "address_countryCode_fkey"- columns: ["customerCountryCode"]+ columns: ["shipmentCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]@@ -73411,7 +73411,7 @@ export type Database = {},{foreignKeyName: "address_countryCode_fkey"- columns: ["shipmentCountryCode"]+ columns: ["customerCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex 4e8d8a0878..0f41e62a3c 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -6644,6 +6644,9 @@ msgstr "Der Verfall beginnt, wenn das ausgewählte Verfahren beginnt."msgid "Expiry trace"msgstr "Verfallsdatum-Nachverfolgung"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "Exportieren"@@ -9787,6 +9790,9 @@ msgstr "Native CAD-Integration (zum Beispiel Onshape)"msgid "Navigate"msgstr "Navigieren"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "NCRs nach Typ"@@ -10972,6 +10978,9 @@ msgstr "Offene Fertigungsaufträge"msgid "Open menu"msgstr "Menü öffnen"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "Offene Verbindlichkeiten nach Lieferant und Fälligkeitsdauer"@@ -13891,6 +13900,9 @@ msgstr "Geheimnis in die Zwischenablage kopiert"msgid "Section"msgstr "Abschnitt"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "Schützen Sie Ihr Konto mit 2FA"@@ -15037,6 +15049,9 @@ msgstr "Prüfung einreichen"msgid "Submitted By"msgstr "Eingereicht von"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "Substanz"diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex f6e9e0b29a..dcd9bc7e03 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -6644,6 +6644,9 @@ msgstr "Expiry begins when the selected process starts."msgid "Expiry trace"msgstr "Expiry trace"+msgid "Explorer"+msgstr "Explorer"+msgid "Export"msgstr "Export"@@ -9787,6 +9790,9 @@ msgstr "Native CAD integration (for example Onshape)"msgid "Navigate"msgstr "Navigate"+msgid "Navigation"+msgstr "Navigation"+msgid "NCRs by Type"msgstr "NCRs by Type"@@ -10972,6 +10978,9 @@ msgstr "Open jobs"msgid "Open menu"msgstr "Open menu"+msgid "Open navigation"+msgstr "Open navigation"+msgid "Open payables by supplier and age"msgstr "Open payables by supplier and age"@@ -13891,6 +13900,9 @@ msgstr "Secret copied to clipboard"msgid "Section"msgstr "Section"+msgid "Sections"+msgstr "Sections"+msgid "Secure your account with 2FA"msgstr "Secure your account with 2FA"@@ -15037,6 +15049,9 @@ msgstr "Submit Inspection"msgid "Submitted By"msgstr "Submitted By"+msgid "Submodules"+msgstr "Submodules"+msgid "substance"msgstr "substance"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex 19e33e56bf..9a985c2352 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -6644,6 +6644,9 @@ msgstr "La caducidad comienza cuando se inicia el proceso seleccionado."msgid "Expiry trace"msgstr "Trazabilidad de caducidad"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "Exportar"@@ -9787,6 +9790,9 @@ msgstr "Integración nativa de CAD (por ejemplo Onshape)"msgid "Navigate"msgstr "Navegar"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "NCR por Tipo"@@ -10972,6 +10978,9 @@ msgstr "Órdenes de trabajo abiertas"msgid "Open menu"msgstr "Abrir menú"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "Cuentas por pagar abiertas por proveedor y antigüedad"@@ -13891,6 +13900,9 @@ msgstr "Código secreto copiado al portapapeles"msgid "Section"msgstr "Sección"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "Asegura tu cuenta con 2FA"@@ -15037,6 +15049,9 @@ msgstr "Enviar Inspección"msgid "Submitted By"msgstr "Enviado por"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "Sustancia"diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex d3f600e8f0..630370725a 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -6644,6 +6644,9 @@ msgstr "La péremption débute quand le procédé sélectionné démarre."msgid "Expiry trace"msgstr "Trace de péremption"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "Exporter"@@ -9787,6 +9790,9 @@ msgstr "Intégration CAO native (par exemple Onshape)"msgid "Navigate"msgstr "Naviguer"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "NCRs par type"@@ -10972,6 +10978,9 @@ msgstr "Ordres de fabrication ouverts"msgid "Open menu"msgstr "Ouvrir le menu"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "Dettes fournisseurs ouvertes par fournisseur et ancienneté"@@ -13891,6 +13900,9 @@ msgstr "Secret copié dans le presse-papiers"msgid "Section"msgstr "Section"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "Sécurisez votre compte avec l'authentification à deux facteurs"@@ -15037,6 +15049,9 @@ msgstr "Soumettre le contrôle"msgid "Submitted By"msgstr "Soumis par"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "Substance"diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 7130e59fa5..97354a451d 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -6644,6 +6644,9 @@ msgstr "समाप्ति तब शुरू होती है जब चmsgid "Expiry trace"msgstr "समाप्ति ट्रेस"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "निर्यात करें"@@ -9787,6 +9790,9 @@ msgstr "नेटिव CAD एकीकरण (उदाहरण के लिmsgid "Navigate"msgstr "नेविगेट करें"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "प्रकार के अनुसार NCR"@@ -10972,6 +10978,9 @@ msgstr "खुली जॉबें"msgid "Open menu"msgstr "मेनू खोलें"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "आपूर्तिकर्ता और आयु के अनुसार खुली देय राशि"@@ -13891,6 +13900,9 @@ msgstr "गुप्त क्लिपबोर्ड में कॉपीmsgid "Section"msgstr "अनुभाग"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "2FA के साथ अपने खाते को सुरक्षित करें"@@ -15037,6 +15049,9 @@ msgstr "निरीक्षण सबमिट करें"msgid "Submitted By"msgstr "द्वारा प्रस्तुत"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "पदार्थ"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex 14526ac687..13e673de79 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -6644,6 +6644,9 @@ msgstr "La scadenza inizia quando il processo selezionato si avvia."msgid "Expiry trace"msgstr "Traccia scadenza"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "Esporta"@@ -9787,6 +9790,9 @@ msgstr "Integrazione CAD nativa (ad esempio Onshape)"msgid "Navigate"msgstr "Naviga"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "NCR per tipo"@@ -10972,6 +10978,9 @@ msgstr "Ordini di produzione aperti"msgid "Open menu"msgstr "Apri menu"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "Debiti aperti per fornitore e anzianità"@@ -13891,6 +13900,9 @@ msgstr "Segreto copiato negli appunti"msgid "Section"msgstr "Sezione"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "Proteggi il tuo account con 2FA"@@ -15037,6 +15049,9 @@ msgstr "Invia controllo"msgid "Submitted By"msgstr "Inviato da"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "Sostanza"diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex 81312d5bea..acf3823944 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -6644,6 +6644,9 @@ msgstr "選択した工法が開始すると使用期限が開始します。"msgid "Expiry trace"msgstr "使用期限トレース"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "エクスポート"@@ -9787,6 +9790,9 @@ msgstr "ネイティブCAD連携(例えばOnshape)"msgid "Navigate"msgstr "ナビゲート"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "タイプ別NCR"@@ -10972,6 +10978,9 @@ msgstr "オープン製造指図"msgid "Open menu"msgstr "メニューを開く"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "仕入先・日数別オープン買掛金"@@ -13891,6 +13900,9 @@ msgstr "シークレットをクリップボードにコピーしました"msgid "Section"msgstr "セクション"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "2FAでアカウントを保護"@@ -15037,6 +15049,9 @@ msgstr "検査を提出"msgid "Submitted By"msgstr "提出者"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "物質"diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.poindex 8fe20ea929..bd714acf48 100644--- a/packages/locale/locales/ko/erp.po+++ b/packages/locale/locales/ko/erp.po@@ -6644,6 +6644,9 @@ msgstr "유통기한은 선택된 공법이 시작될 때 시작됩니다."msgid "Expiry trace"msgstr "유통기한 추적"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "내보내기"@@ -9787,6 +9790,9 @@ msgstr "네이티브 CAD 연동(예: Onshape)"msgid "Navigate"msgstr "이동"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "유형별 NCR"@@ -10972,6 +10978,9 @@ msgstr "미결 작업 지시"msgid "Open menu"msgstr "메뉴 열기"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "공급업체 및 기간별 미결 매입채무"@@ -13891,6 +13900,9 @@ msgstr "시크릿이 클립보드에 복사되었습니다"msgid "Section"msgstr "섹션"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "2FA로 계정 보호"@@ -15037,6 +15049,9 @@ msgstr "검사 제출"msgid "Submitted By"msgstr "제출자"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "재질"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex da4a8ac961..90dbc6f986 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -6644,6 +6644,9 @@ msgstr "Termin ważności rozpoczyna się, gdy wybrany proces się uruchamia."msgid "Expiry trace"msgstr "Śledzenie ważności"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "Eksportuj"@@ -9787,6 +9790,9 @@ msgstr "Natywna integracja CAD (na przykład Onshape)"msgid "Navigate"msgstr "Nawiguj"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "NCRy wg typu"@@ -10972,6 +10978,9 @@ msgstr "Otwarte zlecenia produkcyjne"msgid "Open menu"msgstr "Otwórz menu"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "Otwarte zobowiązania wg dostawcy i wieku"@@ -13891,6 +13900,9 @@ msgstr "Sekretna wartość skopiowana do schowka"msgid "Section"msgstr "Sekcja"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "Zabezpiecz swoje konto za pomocą 2FA"@@ -15037,6 +15049,9 @@ msgstr "Prześlij kontrolę"msgid "Submitted By"msgstr "Przesłane przez"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "Substancja"diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex a1b7d00225..58dbc27429 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -6644,6 +6644,9 @@ msgstr "A validade começa quando o processo selecionado é iniciado."msgid "Expiry trace"msgstr "Rastreamento de validade"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "Exportar"@@ -9787,6 +9790,9 @@ msgstr "Integração nativa de CAD (por exemplo Onshape)"msgid "Navigate"msgstr "Navegar"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "NCRs por Tipo"@@ -10972,6 +10978,9 @@ msgstr "Ordens de produção abertas"msgid "Open menu"msgstr "Abrir menu"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "Contas a pagar em aberto por fornecedor e idade"@@ -13891,6 +13900,9 @@ msgstr "Segredo copiado para a área de transferência"msgid "Section"msgstr "Seção"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "Proteja sua conta com 2FA"@@ -15037,6 +15049,9 @@ msgstr "Enviar Inspeção"msgid "Submitted By"msgstr "Enviado por"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "Substância"diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex 75d539ca2b..42c4f453b1 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -6644,6 +6644,9 @@ msgstr "Срок годности начинается при запуске вmsgid "Expiry trace"msgstr "Трассировка срока годности"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "Экспортировать"@@ -9787,6 +9790,9 @@ msgstr "Встроенная интеграция CAD (например Onshape)msgid "Navigate"msgstr "Навигация"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "NCRs по типам"@@ -10972,6 +10978,9 @@ msgstr "Открытые производственные заказы"msgid "Open menu"msgstr "Открыть меню"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "Открытая кредиторская задолженность по поставщикам и срокам"@@ -13891,6 +13900,9 @@ msgstr "Секрет скопирован в буфер обмена"msgid "Section"msgstr "Раздел"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "Защитите свою учетную запись с помощью 2FA"@@ -15037,6 +15049,9 @@ msgstr "Отправить контроль"msgid "Submitted By"msgstr "Отправлено"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "Вещество"diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex 3b484ca4e0..bd73323699 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -6644,6 +6644,9 @@ msgstr "Son kullanma tarihi seçilen işlem başladığında başlar."msgid "Expiry trace"msgstr "Son kullanma tarihi izi"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "Dışa Aktar"@@ -9787,6 +9790,9 @@ msgstr "Yerel CAD entegrasyonu (örneğin Onshape)"msgid "Navigate"msgstr "Gözat"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "Tipe Göre NCR'ler"@@ -10972,6 +10978,9 @@ msgstr "Açık İş emirleri"msgid "Open menu"msgstr "Menüyü aç"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "Tedarikçi ve yaşa göre açık borçlar"@@ -13891,6 +13900,9 @@ msgstr "Gizli, panoya kopyalandı"msgid "Section"msgstr "Bölüm"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "Hesabınızı 2FA ile güvenli hale getirin"@@ -15037,6 +15049,9 @@ msgstr "Muayeneyi Gönder"msgid "Submitted By"msgstr "Gönderen"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "Madde"diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex 968eb8276b..2ab93c5e0a 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -6644,6 +6644,9 @@ msgstr "有效期从选定的流程开始时开始。"msgid "Expiry trace"msgstr "有效期追踪"+msgid "Explorer"+msgstr ""+msgid "Export"msgstr "导出"@@ -9787,6 +9790,9 @@ msgstr "原生 CAD 集成(例如 Onshape)"msgid "Navigate"msgstr "导航"+msgid "Navigation"+msgstr ""+msgid "NCRs by Type"msgstr "按类型分类的NCR"@@ -10972,6 +10978,9 @@ msgstr "未结工单"msgid "Open menu"msgstr "打开菜单"+msgid "Open navigation"+msgstr ""+msgid "Open payables by supplier and age"msgstr "按供应商和期限打开应付款项"@@ -13891,6 +13900,9 @@ msgstr "密码已复制到剪贴板"msgid "Section"msgstr "部分"+msgid "Sections"+msgstr ""+msgid "Secure your account with 2FA"msgstr "使用2FA保护您的账户"@@ -15037,6 +15049,9 @@ msgstr "提交检验"msgid "Submitted By"msgstr "提交者"+msgid "Submodules"+msgstr ""+msgid "substance"msgstr "物质"diff --git a/packages/react/src/Heading.tsx b/packages/react/src/Heading.tsxindex 5900157f1c..9e459ea172 100644--- a/packages/react/src/Heading.tsx+++ b/packages/react/src/Heading.tsx@@ -6,7 +6,7 @@ import { forwardRef } from "react";import { cn } from "./utils/cn";const headingVariants = cva(- "font-medium font-headline leading-none tracking-tight text-foreground text-balance",+ "font-medium font-headline leading-[1.1] tracking-tight text-foreground text-balance",{variants: {size: {