From 0ff40e585e2ccced4982097f7db11ba48e342f64 Mon Sep 17 00:00:00 2001 From: thulasiramegowda Date: Tue, 3 Nov 2026 18:44:34 +0530 Subject: [PATCH 1/4] fix: use var(--text2) for EmptyStateCard description colour The description paragraph was styled with a hardcoded hex colour (#D4C58A). This muted gold reads poorly against the light-mode background and bypasses the app's CSS variable theming system. Replace with the existing secondary-text token var(--text2), which resolves to #888888 in dark mode and #666666 in light mode, matching every other secondary text element in the codebase. --- src/components/EmptyStateCard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/EmptyStateCard.jsx b/src/components/EmptyStateCard.jsx index 61f9b668..b1355563 100644 --- a/src/components/EmptyStateCard.jsx +++ b/src/components/EmptyStateCard.jsx @@ -61,7 +61,7 @@ export default function EmptyStateCard({ {/* Description */}

Date: Mon, 16 Nov 2026 18:11:56 +0530 Subject: [PATCH 2/4] fix: replace raw HTTP error codes with user-friendly message When explore() catches an unexpected HTTP error (e.g. 503, 422), the raw error code such as HTTP_503 was displayed directly to the user. Non-technical users have no way to interpret these codes or know what action to take. Any error message whose string starts with 'HTTP_' is now replaced with 'Something went wrong. Please check your connection and try again.' Rate-limit and application-level errors continue to show their own specific, actionable messages unchanged. --- src/context/AppContext.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/context/AppContext.jsx b/src/context/AppContext.jsx index 9ee03908..553f2a2c 100644 --- a/src/context/AppContext.jsx +++ b/src/context/AppContext.jsx @@ -259,7 +259,9 @@ export function AppProvider({ children }) { ? (pat ? 'GitHub API rate limit reached. Please wait for your quota to refresh.' : 'GitHub API rate limit reached. Add a PAT in Settings for 5,000 req/hr.') - : err.message) + : err.message.startsWith('HTTP_') + ? 'Something went wrong. Please check your connection and try again.' + : err.message) return false } finally { setLoading(false); setLoadMsg('') From db6c839862242998b4aa70b0eee07213b165793f Mon Sep 17 00:00:00 2001 From: thulasiramegowda Date: Mon, 16 Nov 2026 18:12:58 +0530 Subject: [PATCH 3/4] fix: reduce EmptyStateCard title font-size from 3rem to 1.75rem The h2 title inside EmptyStateCard used fontSize: '3rem' (~48px), which was visually disproportionate within the 620px-wide card. The oversized heading dominated the icon and description, breaking the visual hierarchy of the empty-state design. Reducing to 1.75rem restores a balanced and readable proportion while keeping the title clearly visible as the primary element. --- src/components/EmptyStateCard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/EmptyStateCard.jsx b/src/components/EmptyStateCard.jsx index b1355563..7f7110f3 100644 --- a/src/components/EmptyStateCard.jsx +++ b/src/components/EmptyStateCard.jsx @@ -48,7 +48,7 @@ export default function EmptyStateCard({

Date: Mon, 16 Nov 2026 18:14:01 +0530 Subject: [PATCH 4/4] fix: show empty state when any filter produces zero repository results Previously showNoSearchResults was gated on search.trim(), so the empty-state card only appeared when the text search box caused zero results. If the user selected an Activity classification (e.g. Hibernating) or a Language that matched no repositories, the table silently rendered with zero rows and no explanation. Removing the search.trim() guard makes the empty state trigger whenever filtered.length === 0, regardless of which filter caused it. The CTA button now resets all four filters (search, activity, language, organisation) so the user can recover in one click. The description and button label are updated to reflect this. --- src/pages/RepositoriesPage.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/RepositoriesPage.jsx b/src/pages/RepositoriesPage.jsx index b267b0f9..12f5c72a 100644 --- a/src/pages/RepositoriesPage.jsx +++ b/src/pages/RepositoriesPage.jsx @@ -84,7 +84,7 @@ export default function RepositoriesPage() { ['pushed_at', 'Repository Activity'], ] - const showNoSearchResults = search.trim() && filtered.length === 0 + const showNoSearchResults = filtered.length === 0 return (
@@ -237,9 +237,9 @@ export default function RepositoriesPage() { } title="No matching repositories" - description="No repositories match your search. Try a different search term." - buttonText="Clear Search" - onButtonClick={() => setSearch('')} + description="No repositories match your current filters. Try adjusting or clearing them." + buttonText="Clear Filters" + onButtonClick={() => { setSearch(''); setActivityClassification('All'); setLang('All Languages'); setOrgFilter('All Organizations') }} />
)}