From 859c0c9477a2ebb4e04015f7503f1fb81718dcdf Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 8 Jun 2026 15:33:12 -0700 Subject: [PATCH] add description text to share link path input --- messages/en-US.json | 1 + src/components/CreateShareLinkForm.tsx | 16 +++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/messages/en-US.json b/messages/en-US.json index 9793873ce..d750e4b93 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -179,6 +179,7 @@ "shareCreateDescription": "Anyone with this link can access the resource", "shareTitleOptional": "Title (optional)", "sharePathOptional": "Path (optional)", + "sharePathDescription": "The link will redirect users to this path after authentication.", "expireIn": "Expire In", "neverExpire": "Never expire", "shareExpireDescription": "Expiration time is how long the link will be usable and provide access to the resource. After this time, the link will no longer work, and users who used this link will lose access to the resource.", diff --git a/src/components/CreateShareLinkForm.tsx b/src/components/CreateShareLinkForm.tsx index d43adc968..78f705445 100644 --- a/src/components/CreateShareLinkForm.tsx +++ b/src/components/CreateShareLinkForm.tsx @@ -4,6 +4,7 @@ import { Button } from "@app/components/ui/button"; import { Form, FormControl, + FormDescription, FormField, FormItem, FormLabel, @@ -269,11 +270,11 @@ export default function CreateShareLinkForm({ + + {t( + "sharePathDescription" + )} + )}