+
+
+
+ {userEmail || "-"}
+
{premiumUser ? (
-
} color="gold">
+
+
Premium
-
+
) : (
-
- }>Standard
-
+
+
+ }>
+
+ Standard
+
+ Upgrade to Premium for advanced features
+
+
)}
-
-
-
-
-
- User ID
-
-
- {userId || "-"}
-
-
-
-
-
- Role
-
- {userRole}
-
-
-
- Hide New Feature Indicators
+
+
+
+
+
+ User ID
+
+
+
+ {userId || "-"}
+
+
+
+
+
+
+
+ Role
+
+
{userRole}
+
+
+
+ Hide New Feature Indicators
{
+ onCheckedChange={(checked) => {
setDisableShowNewBadge(checked);
if (checked) {
setLocalStorageItem("disableShowNewBadge", "true");
@@ -145,13 +136,13 @@ const UserDropdown: React.FC = ({ onLogout, variant = "navbar
}}
aria-label="Toggle hide new feature indicators"
/>
-
-
- Hide All Prompts
+
+
+ Hide All Prompts
{
+ onCheckedChange={(checked) => {
if (checked) {
setLocalStorageItem("disableShowPrompts", "true");
emitLocalStorageChange("disableShowPrompts");
@@ -162,13 +153,13 @@ const UserDropdown: React.FC = ({ onLogout, variant = "navbar
}}
aria-label="Toggle hide all prompts"
/>
-
-
- Hide Blog Posts
+
+
+ Hide Blog Posts
{
+ onCheckedChange={(checked) => {
if (checked) {
setLocalStorageItem("disableBlogPosts", "true");
emitLocalStorageChange("disableBlogPosts");
@@ -179,13 +170,13 @@ const UserDropdown: React.FC = ({ onLogout, variant = "navbar
}}
aria-label="Toggle hide blog posts"
/>
-
-
- Hide Bouncing Icon
+
+
+ Hide Bouncing Icon
{
+ onCheckedChange={(checked) => {
if (checked) {
setLocalStorageItem("disableBouncingIcon", "true");
emitLocalStorageChange("disableBouncingIcon");
@@ -196,8 +187,8 @@ const UserDropdown: React.FC = ({ onLogout, variant = "navbar
}}
aria-label="Toggle hide bouncing icon"
/>
-
-
+
+
);
const seed = userEmail || userId || "user";
@@ -206,30 +197,21 @@ const UserDropdown: React.FC