⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
'use client';
import { Direction } from 'radix-ui';
// Which edge the sidebar sits on: the side the reader starts from. shadcn's
// `Sidebar` defaults to `left` and positions itself with physical offsets, so the
// direction is resolved here and passed in as a prop rather than edited into the
// generated component.
export function useSidebarSide(): 'left' | 'right' {
return Direction.useDirection() === 'rtl' ? 'right' : 'left';
}