feat: standardize shared UI primitives across frontend #88

Merged
chihlasm merged 19 commits from frontend-standardization into main 2026-02-24 12:40:44 +00:00
Showing only changes of commit 42fc3a5b6e - Show all commits

View File

@@ -651,7 +651,7 @@ export function TreeEditorPage() {
{/* Publish */}
<button
onClick={handlePublish}
disabled={isSaving || !isDirty || hasBlockingErrors}
disabled={isSaving || hasBlockingErrors}
title={hasBlockingErrors ? 'Fix validation errors before publishing (Ctrl+S when no errors)' : 'Publish tree (Ctrl+S when no errors)'}
className={cn(
'flex items-center gap-2 rounded-md bg-gradient-brand px-4 py-2 text-sm font-medium text-white shadow-lg shadow-primary/20',