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.

QoL improvements

Steven Tey9e410afb844b
diff --git a/apps/web/ui/links/link-tests.tsx b/apps/web/ui/links/link-tests.tsx
index 235ff05a84..de1de9f8af 100644
--- a/apps/web/ui/links/link-tests.tsx
+++ b/apps/web/ui/links/link-tests.tsx
@@ -38,6 +38,7 @@ export const LinkTests = memo(({ link }: { link: ResponseLink }) => {
}[]
>(
Boolean(testVariants && testVariants.length) &&
+ showTests &&
`/api/analytics?${new URLSearchParams({
event: "composite",
groupBy: "top_urls",
diff --git a/apps/web/ui/modals/import-csv-modal/index.tsx b/apps/web/ui/modals/import-csv-modal/index.tsx
index ab9cb8153e..2cc1f1ed10 100644
--- a/apps/web/ui/modals/import-csv-modal/index.tsx
+++ b/apps/web/ui/modals/import-csv-modal/index.tsx
@@ -155,8 +155,17 @@ function ImportCsvModal({
</div>
<h3 className="text-lg font-medium">Import Links From a CSV File</h3>
<p className="text-balance text-center text-sm text-neutral-500">
- Easily import all your links into {process.env.NEXT_PUBLIC_APP_NAME}{" "}
- with just a few clicks.
+ Easily import your links into Dub with just a few clicks.
+ <br />
+ Make sure your CSV file matches the{" "}
+ <a
+ href="https://dub.co/help/article/how-to-import-csv"
+ target="_blank"
+ className="cursor-help font-medium underline decoration-dotted underline-offset-2 transition-colors hover:text-neutral-800"
+ >
+ required format
+ </a>
+ .
</p>
</div>