fix: Update folder progress component sizing and correct analytics event name (#7879)

* 🐛 (empty-page.tsx): fix incorrect user tracking event name from "discord_joined" to "discord_clicked" to accurately track user actions

* ♻️ (get-started-progress.tsx): refactor height value from pixels to rem units for better consistency and maintainability
This commit is contained in:
Cristhian Zanforlin Lousa 2025-05-02 16:37:48 -03:00 committed by GitHub
commit 1ebf1598c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ export const GetStartedProgress: FC<{
};
return (
<div className="mt-3 h-[180px] w-full">
<div className="mt-3 h-[10.8rem] w-full">
<div className="mb-2 flex items-center justify-between">
<span className="text-sm font-semibold">
{percentageGetStarted >= 100 ? (

View file

@ -136,7 +136,7 @@ export const EmptyPageCommunity = ({
unstyled
className="group mx-3 h-[84px] sm:mx-0"
onClick={() => {
handleUserTrack("discord_joined")();
handleUserTrack("discord_clicked")();
window.open(DISCORD_URL, "_blank", "noopener,noreferrer");
}}
data-testid="empty_page_discord_button"