From a724bc39a22a0207225272045388e3169a2eae5c Mon Sep 17 00:00:00 2001 From: MananTank Date: Tue, 9 Sep 2025 23:23:31 +0000 Subject: [PATCH] [BLD-247] Add propagation time in domain restrictions in project settings page (#8025) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ## PR-Codex overview This PR updates the `bottomText` prop of the `SettingsCard` component in the `ProjectGeneralSettingsPage.tsx` file to provide more detailed information regarding domain restrictions for web applications. ### Detailed summary - Changed `bottomText` from a string to a fragment containing: - A message about applicability for web applications. - An additional note that changes to domain restrictions may take up to 5 minutes to take effect. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` ## Summary by CodeRabbit * **Documentation** * Clarified Allowed Domains setting copy to state it's only applicable for web applications. * Added guidance that domain restriction changes may take up to 5 minutes to take effect. * Purely a UI copy update; no functional or behavioral changes. * Improves in-app guidance and reduces configuration confusion. --- .../(sidebar)/settings/ProjectGeneralSettingsPage.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx index 8651f7106b5..aac56047d20 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx @@ -539,7 +539,12 @@ function AllowedDomainsSetting(props: { return ( + This is only applicable for web applications. Changes to domain + restrictions may take up to 5 minutes to take effect + + } errorText={form.getFieldState("domains", form.formState).error?.message} header={{ description: