Some workout management tests fixed with Antigravity

This commit is contained in:
AG
2025-12-08 16:17:13 +02:00
parent 615c3a0cb7
commit d2dc474f0f
7 changed files with 363 additions and 18 deletions

View File

@@ -377,6 +377,7 @@ const Plans: React.FC<PlansProps> = ({ lang }) => {
onClick={(e) => handleDelete(plan.id, e)}
variant="ghost"
size="icon"
aria-label="Delete Plan"
className="text-on-surface-variant hover:text-error hover:bg-white/5"
>
<Trash2 size={20} />
@@ -387,6 +388,7 @@ const Plans: React.FC<PlansProps> = ({ lang }) => {
onClick={(e) => { e.stopPropagation(); handleEdit(plan); }}
variant="ghost"
size="icon"
aria-label="Edit Plan"
className="text-on-surface-variant hover:text-primary hover:bg-white/5"
>
<Edit2 size={20} />
@@ -415,6 +417,7 @@ const Plans: React.FC<PlansProps> = ({ lang }) => {
{/* FAB */}
<button
onClick={handleCreateNew}
aria-label="Create Plan"
className="absolute bottom-6 right-6 w-14 h-14 bg-primary-container text-on-primary-container rounded-[16px] shadow-elevation-3 flex items-center justify-center hover:bg-primary hover:text-on-primary transition-colors z-20"
>
<Plus size={28} />