Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🔥 Remove old feedback component

Luke Vella9cd28f9840a6
diff --git a/apps/web/public/locales/en/app.json b/apps/web/public/locales/en/app.json
index d2606ce31..a972e4a22 100644
--- a/apps/web/public/locales/en/app.json
+++ b/apps/web/public/locales/en/app.json
@@ -101,7 +101,6 @@
"dateAndTime": "Date & Time",
"profileDescription": "Change your profile settings",
"dates": "Dates",
- "menu": "Menu",
"support": "Support",
"billing": "Billing",
"guestPollAlertDescription": "<0>Create an account</0> or <1>login</1> to claim this poll.",
@@ -138,9 +137,6 @@
"disableComments": "Disable comments",
"clockPreferences": "Clock Preferences",
"clockPreferencesDescription": "Set your preferred time zone and time format.",
- "featureRequest": "Request a Feature",
- "bugReport": "Report an Issue",
- "getSupport": "Get Support",
"feedback": "Feedback",
"duplicate": "Duplicate",
"duplicateDescription": "Create a new poll based on this one",
diff --git a/apps/web/src/components/feedback.tsx b/apps/web/src/components/feedback.tsx
deleted file mode 100644
index ff184dbc6..000000000
--- a/apps/web/src/components/feedback.tsx
+++ /dev/null
@@ -1,70 +0,0 @@
-import {
- DropdownMenu,
- DropdownMenuContent,
- DropdownMenuItem,
- DropdownMenuLabel,
- DropdownMenuSeparator,
- DropdownMenuTrigger,
-} from "@rallly/ui/dropdown-menu";
-import {
- BugIcon,
- LifeBuoyIcon,
- LightbulbIcon,
- MegaphoneIcon,
- SmileIcon,
-} from "lucide-react";
-import Link from "next/link";
-
-import { Trans } from "@/components/trans";
-
-const FeedbackButton = () => {
- return (
- <DropdownMenu modal={false}>
- <DropdownMenuTrigger className="fixed right-6 bottom-8 z-20 hidden size-12 items-center justify-center rounded-full bg-gray-800 shadow-huge hover:bg-gray-700 active:shadow-none sm:inline-flex">
- <MegaphoneIcon className="h-5 text-white" />
- </DropdownMenuTrigger>
- <DropdownMenuContent sideOffset={10} align="end">
- <DropdownMenuLabel>
- <Trans i18nKey="menu" />
- </DropdownMenuLabel>
- <DropdownMenuSeparator />
- <DropdownMenuItem asChild>
- <Link
- href={"https://feedback.rallly.co/?b=feedback"}
- target={"_blank"}
- >
- <SmileIcon className="mr-2 size-4" />
- <Trans i18nKey="sendFeedback" defaults="Send Feedback" />
- </Link>
- </DropdownMenuItem>
- <DropdownMenuItem asChild>
- <Link
- href={"https://feedback.rallly.co/?b=feature-request"}
- target={"_blank"}
- >
- <LightbulbIcon className="mr-2 size-4" />
- <Trans i18nKey={"featureRequest"} defaults={"Request a Feature"} />
- </Link>
- </DropdownMenuItem>
- <DropdownMenuItem asChild>
- <Link
- href={"https://feedback.rallly.co/?b=bug-reports"}
- target={"_blank"}
- >
- <BugIcon className="mr-2 size-4" />
- <Trans i18nKey={"bugReport"} defaults={"Report an Issue"} />
- </Link>
- </DropdownMenuItem>
- <DropdownMenuSeparator />
- <DropdownMenuItem asChild>
- <Link href={"https://support.rallly.co"} target={"_blank"}>
- <LifeBuoyIcon className="mr-2 size-4" />
- <Trans i18nKey={"getSupport"} defaults={"Get Support"} />
- </Link>
- </DropdownMenuItem>
- </DropdownMenuContent>
- </DropdownMenu>
- );
-};
-
-export default FeedbackButton;