mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 10:50:38 +09:00
UI polish: sidebar nav, Companies/Issues layout, assignee in issue defaults
- Sidebar: add Approvals and Companies links, remove temporary Design Guide link - Companies: replace inline create form with 'New Company' button (opens onboarding) - Issues: move filter tabs inline with page heading (consistent with Agents) - DialogContext: add assigneeAgentId to NewIssueDefaults - NewIssueDialog: wire assigneeAgentId default (pre-select assignee when opening from agent detail page) - CommandPalette: minor cleanup - App: add DesignGuide route (dev-only, no sidebar link) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
51780d1421
commit
c0ae9423f0
7 changed files with 31 additions and 83 deletions
|
|
@ -25,7 +25,6 @@ import {
|
|||
Inbox,
|
||||
DollarSign,
|
||||
History,
|
||||
GitBranch,
|
||||
SquarePen,
|
||||
Plus,
|
||||
} from "lucide-react";
|
||||
|
|
@ -114,10 +113,6 @@ export function CommandPalette() {
|
|||
<History className="mr-2 h-4 w-4" />
|
||||
Activity
|
||||
</CommandItem>
|
||||
<CommandItem onSelect={() => go("/org")}>
|
||||
<GitBranch className="mr-2 h-4 w-4" />
|
||||
Org Chart
|
||||
</CommandItem>
|
||||
</CommandGroup>
|
||||
|
||||
<CommandSeparator />
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ export function NewIssueDialog() {
|
|||
setStatus(newIssueDefaults.status ?? "todo");
|
||||
setPriority(newIssueDefaults.priority ?? "");
|
||||
setProjectId(newIssueDefaults.projectId ?? "");
|
||||
setAssigneeId(newIssueDefaults.assigneeAgentId ?? "");
|
||||
}
|
||||
}, [newIssueOpen, newIssueDefaults]);
|
||||
|
||||
|
|
|
|||
|
|
@ -4,15 +4,14 @@ import {
|
|||
Hexagon,
|
||||
Target,
|
||||
LayoutDashboard,
|
||||
GitBranch,
|
||||
Bot,
|
||||
DollarSign,
|
||||
History,
|
||||
Search,
|
||||
SquarePen,
|
||||
Building2,
|
||||
ListTodo,
|
||||
LayoutList,
|
||||
ShieldCheck,
|
||||
Building2,
|
||||
} from "lucide-react";
|
||||
import { CompanySwitcher } from "./CompanySwitcher";
|
||||
import { SidebarSection } from "./SidebarSection";
|
||||
|
|
@ -70,8 +69,8 @@ export function Sidebar() {
|
|||
|
||||
<SidebarSection label="Company">
|
||||
<SidebarNavItem to="/dashboard" label="Dashboard" icon={LayoutDashboard} />
|
||||
<SidebarNavItem to="/org" label="Org Chart" icon={GitBranch} />
|
||||
<SidebarNavItem to="/agents" label="Agents" icon={Bot} />
|
||||
<SidebarNavItem to="/approvals" label="Approvals" icon={ShieldCheck} />
|
||||
<SidebarNavItem to="/costs" label="Costs" icon={DollarSign} />
|
||||
<SidebarNavItem to="/activity" label="Activity" icon={History} />
|
||||
<SidebarNavItem to="/companies" label="Companies" icon={Building2} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue