Add CLI package, config file support, and workspace setup
Add cli/ package with initial scaffolding. Add config-schema to shared package for typed configuration. Add server config-file loader for paperclip.config.ts support. Register cli in pnpm workspace. Add .paperclip/ and .pnpm-store/ to gitignore. Minor Companies page fix. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -128,10 +128,18 @@ export function Companies() {
|
||||
const isEditing = editingId === company.id;
|
||||
|
||||
return (
|
||||
<button
|
||||
<div
|
||||
key={company.id}
|
||||
role="button"
|
||||
tabIndex={0}
|
||||
onClick={() => setSelectedCompanyId(company.id)}
|
||||
className={`group text-left bg-card border rounded-lg p-4 transition-colors ${
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter" || e.key === " ") {
|
||||
e.preventDefault();
|
||||
setSelectedCompanyId(company.id);
|
||||
}
|
||||
}}
|
||||
className={`group text-left bg-card border rounded-lg p-4 transition-colors cursor-pointer ${
|
||||
selected ? "border-primary ring-1 ring-primary" : "border-border hover:border-muted-foreground/30"
|
||||
}`}
|
||||
>
|
||||
@@ -185,7 +193,7 @@ export function Companies() {
|
||||
{formatCents(company.spentMonthlyCents)} / {formatCents(company.budgetMonthlyCents)}
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user