From a0be0321e4c89333b94d6e5dbb7aa45060af6729 Mon Sep 17 00:00:00 2001 From: Mallya Date: Sat, 30 May 2026 14:37:04 +0530 Subject: [PATCH 1/2] feat: add Atom feed for public profile activity (#944) --- src/types/repo-health.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/types/repo-health.ts b/src/types/repo-health.ts index 4139d9ecf..22c0e1046 100644 --- a/src/types/repo-health.ts +++ b/src/types/repo-health.ts @@ -16,4 +16,3 @@ export interface RepoHealthScore { export interface RepoHealthResponse { repos: RepoHealthScore[]; } - From b224110bcd7b12f02e5fddb0392107bdc2489c59 Mon Sep 17 00:00:00 2001 From: Mallya Date: Tue, 9 Jun 2026 07:33:21 +0530 Subject: [PATCH 2/2] fix: add client-side validation to prevent goal target of 0 or less (#929) --- src/components/GoalTracker.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/GoalTracker.tsx b/src/components/GoalTracker.tsx index 166266fc0..63e2a402f 100644 --- a/src/components/GoalTracker.tsx +++ b/src/components/GoalTracker.tsx @@ -141,6 +141,12 @@ export function useGoalTracker() { setCreating(true); setCreateError(null); + if (target <= 0) { + setCreateError("Target must be greater than 0."); + setCreating(false); + return; + } + try { const result = await submitGoalWithRefresh({ payload: { title, target, unit, recurrence, deadline: deadline || null },