The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update keyboard shortcuts
Steven Tey81ca929547a9
diff --git a/apps/web/ui/modals/link-builder/targeting-modal.tsx b/apps/web/ui/modals/link-builder/targeting-modal.tsxindex 8641bc287f..1ab57cad3c 100644--- a/apps/web/ui/modals/link-builder/targeting-modal.tsx+++ b/apps/web/ui/modals/link-builder/targeting-modal.tsx@@ -99,14 +99,14 @@ function TargetingModal({content={<div className="px-2 py-1 text-xs text-gray-700">Press{" "}- <strong className="font-medium text-gray-950">X</strong> to+ <strong className="font-medium text-gray-950">T</strong> toopen this quickly</div>}side="right"><kbd className="flex size-6 cursor-default items-center justify-center gap-1 rounded-md border border-gray-200 font-sans text-xs text-gray-950">- X+ T</kbd></Tooltip></div>@@ -364,7 +364,7 @@ function TargetingButton({const { watch } = useFormContext<LinkFormData>();const [ios, android, geo] = watch(["ios", "android", "geo"]);- useKeyboardShortcut("x", () => setShowTargetingModal(true), {+ useKeyboardShortcut("t", () => setShowTargetingModal(true), {modal: true,});diff --git a/apps/web/ui/modals/link-builder/utm-modal.tsx b/apps/web/ui/modals/link-builder/utm-modal.tsxindex 213996a320..971455718e 100644--- a/apps/web/ui/modals/link-builder/utm-modal.tsx+++ b/apps/web/ui/modals/link-builder/utm-modal.tsx@@ -159,7 +159,7 @@ function UTMModal({id={`${id}-${key}`}placeholder={placeholder}disabled={!isValidUrl(url)}- className="h-full min-w-0 grow rounded-r-md border border-gray-300 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500 disabled:cursor-not-allowed disabled:bg-gray-100/50 sm:text-sm"+ className="h-full min-w-0 grow rounded-r-md border border-gray-300 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500 disabled:cursor-not-allowed sm:text-sm"value={enabledParams[key] || ""}onChange={(e) => {setValue(