Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

final changes

Steven Tey8a0e02d97b9c
diff --git a/apps/web/lib/zod/schemas/partners.ts b/apps/web/lib/zod/schemas/partners.ts
index f4b6f7d45c..59713ad60e 100644
--- a/apps/web/lib/zod/schemas/partners.ts
+++ b/apps/web/lib/zod/schemas/partners.ts
@@ -392,6 +392,7 @@ export const EnrolledPartnerSchema = PartnerSchema.pick({
discount: true,
group: true,
customerDataSharingEnabledAt: true,
+ groupMoveDisabledAt: true,
}).shape,
)
.extend({
diff --git a/apps/web/ui/modals/change-group-modal.tsx b/apps/web/ui/modals/change-group-modal.tsx
index 08c1871e44..5ae1addd20 100644
--- a/apps/web/ui/modals/change-group-modal.tsx
+++ b/apps/web/ui/modals/change-group-modal.tsx
@@ -154,9 +154,9 @@ function ChangeGroupModal({
/>
<div className="flex gap-1.5">
<h3 className="text-sm font-medium leading-none text-neutral-700">
- Disable automatic group moves
+ Keep partner in selected group
</h3>
- <InfoTooltip content="When disabled, this partner will not be automatically moved between groups by [group move rules](https://dub.co/help/article/partner-groups#group-move-rules)." />
+ <InfoTooltip content="When enabled, this partner will remain in the selected group and won't be subject to [group move rules](https://dub.co/help/article/partner-groups#group-move-rules)." />
</div>
</div>
)}
diff --git a/apps/web/ui/partners/partner-advanced-settings-modal.tsx b/apps/web/ui/partners/partner-advanced-settings-modal.tsx
index 9528a568e4..24d098b02d 100644
--- a/apps/web/ui/partners/partner-advanced-settings-modal.tsx
+++ b/apps/web/ui/partners/partner-advanced-settings-modal.tsx
@@ -179,11 +179,11 @@ function PartnerAdvancedSettingsModal({
/>
<div className="flex flex-col gap-1.5">
<h3 className="text-sm font-medium leading-none text-neutral-700">
- Disable automatic group moves
+ Ignore group move rules
</h3>
<MarkdownDescription className="text-xs text-neutral-500">
- When disabled, this partner will not be automatically moved
- between groups by [group move
+ When enabled, this partner will remain in their current group
+ and won't be subject to [group move
rules](https://dub.co/help/article/partner-groups#group-move-rules).
</MarkdownDescription>
</div>