From b984d6842fd529cd0ec18118e7ea95a557293642 Mon Sep 17 00:00:00 2001 From: glass beadian Date: Mon, 12 Oct 2026 18:02:56 +0000 Subject: [PATCH] Files: mobile upload button, no-collective empty state; nav chat/approvals icons --- apps/web/src/app/(main)/files/page.tsx | 20 ++++++++++++++++++- .../src/components/files/upload-dropzone.tsx | 3 +-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/apps/web/src/app/(main)/files/page.tsx b/apps/web/src/app/(main)/files/page.tsx index fb86ab0..6cb560d 100644 --- a/apps/web/src/app/(main)/files/page.tsx +++ b/apps/web/src/app/(main)/files/page.tsx @@ -1,6 +1,7 @@ "use client"; import { useCallback, useEffect, useState } from "react"; +import Link from "next/link"; import { Button, Input } from "../../../components/ui/primitives"; import { OfflineBadge } from "../../../components/ui/offline-badge"; import { EmptyState } from "../../../components/brand/empty-state"; @@ -262,7 +263,24 @@ export default function FilesPage(): React.ReactElement { {actionError !== null &&

{actionError}

} {notice !== null &&

{notice}

} - + {groupId === "" ? ( +
+

+ {t({ + en: "Uploads live inside a collective. Create one first — then this becomes your upload and library space.", + es: "Las subidas viven dentro de un colectivo. Crea uno primero y este espacio será tu zona de subidas y biblioteca.", + })} +

+ + {t({ en: "Create a collective", es: "Crear un colectivo" })} › + +
+ ) : ( + + )}
{ e.stopPropagation(); inputRef.current?.click(); }} > - {t({ en: "Browse files", es: "Buscar archivos" })} + + {t({ en: "Upload a file", es: "Subir un archivo" })} )}