Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ui): remove duplicate aria-label from update prompt buttons

Steven Enamakel8afd775cf733
diff --git a/app/src/components/AppUpdatePrompt.tsx b/app/src/components/AppUpdatePrompt.tsx
index ecb9990f7f..9ec8206f5b 100644
--- a/app/src/components/AppUpdatePrompt.tsx
+++ b/app/src/components/AppUpdatePrompt.tsx
@@ -96,7 +96,10 @@ const AppUpdatePrompt = (props: AppUpdatePromptProps) => {
<div
role="status"
aria-live="polite"
- className="fixed bottom-4 right-4 z-9998 w-[340px] animate-fade-up"
+ // `bottom-16`, not `bottom-4`: NoticeCenter's FAB owns the bottom-right
+ // corner, and this card is ~340px wide at z-9998 — it would sit directly
+ // on top of it and swallow the clicks.
+ className="fixed bottom-16 right-4 z-9998 w-[340px] animate-fade-up"
data-testid="app-update-prompt">
<div className="bg-stone-900 border border-stone-700/50 rounded-2xl shadow-large overflow-hidden">
{/* Header */}
diff --git a/app/src/components/LocalAIDownloadSnackbar.tsx b/app/src/components/LocalAIDownloadSnackbar.tsx
index 9de32e89a5..2131c4d2de 100644
--- a/app/src/components/LocalAIDownloadSnackbar.tsx
+++ b/app/src/components/LocalAIDownloadSnackbar.tsx
@@ -189,7 +189,7 @@ const LocalAIDownloadSnackbar = () => {
// Collapsed: small pill
if (collapsed) {
return createPortal(
- <div className="fixed bottom-4 right-4 z-9998 animate-fade-up">
+ <div className="fixed bottom-16 right-4 z-9998 animate-fade-up">
<button
onClick={handleToggleCollapse}
className="flex items-center gap-2 bg-stone-900 border border-stone-700/50 rounded-full px-3 py-2 shadow-large hover:border-stone-600 transition-colors"
@@ -212,7 +212,7 @@ const LocalAIDownloadSnackbar = () => {
// Expanded: full snackbar
return createPortal(
- <div className="fixed bottom-4 right-4 z-9998 w-[320px] animate-fade-up">
+ <div className="fixed bottom-16 right-4 z-9998 w-[320px] animate-fade-up">
<div className="bg-stone-900 border border-stone-700/50 rounded-2xl shadow-large overflow-hidden">
{/* Header */}
<div className="flex items-center justify-between px-4 pt-3 pb-1">