[WEB-6420] chore: migrate community references from Discord to Forum (#8657)
* chore: replace Discord references with Forum links * chore: migrate help and community CTAs from Discord to Forum * refactor: replace Discord icons with lucide MessageSquare * chore: rename Discord labels and keys to Forum * chore: remove obsolete Discord icon component * chore: update Discord references to Forum in templates * chore: code refactoring
This commit is contained in:
parent
351344ecbb
commit
a75301d6c6
35 changed files with 60 additions and 111 deletions
|
|
@ -115,7 +115,7 @@ function WorkspaceInvitationPage() {
|
|||
<EmptySpaceItem
|
||||
Icon={Share2}
|
||||
title="Join our community of active creators"
|
||||
href="https://discord.com/invite/A92xrEGCge"
|
||||
href="https://forum.plane.so"
|
||||
/>
|
||||
</EmptySpace>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -52,12 +52,12 @@ export function ProductUpdatesFooter() {
|
|||
<circle cx={1} cy={1} r={1} />
|
||||
</svg>
|
||||
<a
|
||||
href="https://go.plane.so/p-discord"
|
||||
href="https://forum.plane.so"
|
||||
target="_blank"
|
||||
className="text-13 text-secondary underline-offset-1 outline-none hover:text-primary hover:underline"
|
||||
rel="noreferrer"
|
||||
>
|
||||
Discord
|
||||
Forum
|
||||
</a>
|
||||
</div>
|
||||
<a
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@
|
|||
*/
|
||||
|
||||
import { FileText, GithubIcon, MessageSquare, Rocket } from "lucide-react";
|
||||
// plane imports
|
||||
import { DiscordIcon } from "@plane/propel/icons";
|
||||
// components
|
||||
import type { TPowerKCommandConfig } from "@/components/power-k/core/types";
|
||||
// hooks
|
||||
|
|
@ -48,13 +46,13 @@ export const usePowerKHelpCommands = (): TPowerKCommandConfig[] => {
|
|||
closeOnSelect: true,
|
||||
},
|
||||
{
|
||||
id: "join_discord",
|
||||
id: "join_forum",
|
||||
type: "action",
|
||||
group: "help",
|
||||
i18n_title: "power_k.help_actions.join_discord",
|
||||
icon: DiscordIcon,
|
||||
i18n_title: "power_k.help_actions.join_forum",
|
||||
icon: MessageSquare,
|
||||
action: () => {
|
||||
window.open("https://discord.com/invite/A92xrEGCge", "_blank", "noopener,noreferrer");
|
||||
window.open("https://forum.plane.so", "_blank", "noopener,noreferrer");
|
||||
},
|
||||
isEnabled: () => true,
|
||||
isVisible: () => true,
|
||||
|
|
|
|||
|
|
@ -93,11 +93,9 @@ export const HelpMenuRoot = observer(function HelpMenuRoot() {
|
|||
<span className="text-11">{t("whats_new")}</span>
|
||||
</button>
|
||||
</CustomMenu.MenuItem>
|
||||
<CustomMenu.MenuItem
|
||||
onClick={() => window.open("https://go.plane.so/p-discord", "_blank", "noopener,noreferrer")}
|
||||
>
|
||||
<CustomMenu.MenuItem onClick={() => window.open("https://forum.plane.so", "_blank", "noopener,noreferrer")}>
|
||||
<div className="flex items-center gap-x-2 rounded-sm text-11">
|
||||
<span className="text-11">Discord</span>
|
||||
<span className="text-11">Forum</span>
|
||||
</div>
|
||||
</CustomMenu.MenuItem>
|
||||
<div className="mt-1 border-t border-subtle px-1 pt-2 text-11 text-secondary">
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@
|
|||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
import { Mail, MessageCircle } from "lucide-react";
|
||||
import { DiscordIcon } from "@plane/propel/icons";
|
||||
import { Mail, MessageCircle, MessageSquare } from "lucide-react";
|
||||
import { EProductSubscriptionEnum } from "@plane/types";
|
||||
// plane imports
|
||||
import { cn } from "@plane/utils";
|
||||
|
|
@ -51,8 +50,8 @@ type PlanePlans = {
|
|||
planComparison: TPlansComparisonDetails[];
|
||||
};
|
||||
|
||||
function RiDiscordFill({ className }: { className?: string }) {
|
||||
return <DiscordIcon className={cn(className, "size-5 text-secondary")} />;
|
||||
function ForumIcon({ className }: { className?: string }) {
|
||||
return <MessageSquare className={cn(className, "size-5 text-secondary")} />;
|
||||
}
|
||||
|
||||
export function ComingSoonBadge({ className }: { className?: string }) {
|
||||
|
|
@ -1212,19 +1211,19 @@ export const PLANS_COMPARISON_LIST: TPlansComparisonDetails[] = [
|
|||
cloud: {
|
||||
free: (
|
||||
<>
|
||||
<RiDiscordFill className="size-4" />
|
||||
<ForumIcon className="size-4" />
|
||||
</>
|
||||
),
|
||||
one: (
|
||||
<div className="flex items-center gap-1">
|
||||
<Mail className="size-4 flex-shrink-0" />
|
||||
<RiDiscordFill className="size-4 flex-shrink-0" />
|
||||
<ForumIcon className="size-4 flex-shrink-0" />
|
||||
</div>
|
||||
),
|
||||
pro: (
|
||||
<div className="flex items-center gap-1">
|
||||
<Mail className="size-4 flex-shrink-0" />
|
||||
<RiDiscordFill className="size-4 flex-shrink-0" />
|
||||
<ForumIcon className="size-4 flex-shrink-0" />
|
||||
<MessageCircle className="size-4 flex-shrink-0" />
|
||||
</div>
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue