From 74058a3a36dd7f32af6f32b58ac76dd2c713a202 Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 16 May 2022 14:34:17 -0400 Subject: [PATCH 1/3] Dasherize file name --- .../{profile_hover_card.tsx => profile-hover-card.tsx} | 0 app/soapbox/features/ui/util/async-components.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename app/soapbox/components/{profile_hover_card.tsx => profile-hover-card.tsx} (100%) diff --git a/app/soapbox/components/profile_hover_card.tsx b/app/soapbox/components/profile-hover-card.tsx similarity index 100% rename from app/soapbox/components/profile_hover_card.tsx rename to app/soapbox/components/profile-hover-card.tsx diff --git a/app/soapbox/features/ui/util/async-components.ts b/app/soapbox/features/ui/util/async-components.ts index aab5bf76d..2a0fabae4 100644 --- a/app/soapbox/features/ui/util/async-components.ts +++ b/app/soapbox/features/ui/util/async-components.ts @@ -403,7 +403,7 @@ export function ModalContainer() { } export function ProfileHoverCard() { - return import(/* webpackChunkName: "features/ui" */'soapbox/components/profile_hover_card'); + return import(/* webpackChunkName: "features/ui" */'soapbox/components/profile-hover-card'); } export function CryptoDonate() { From c0d94896aa44aecc54fd48a758be736448e31c2a Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 16 May 2022 14:34:35 -0400 Subject: [PATCH 2/3] Underline links --- app/soapbox/features/ui/components/profile_stats.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/soapbox/features/ui/components/profile_stats.tsx b/app/soapbox/features/ui/components/profile_stats.tsx index 8ef98374f..998baa379 100644 --- a/app/soapbox/features/ui/components/profile_stats.tsx +++ b/app/soapbox/features/ui/components/profile_stats.tsx @@ -28,7 +28,7 @@ const ProfileStats: React.FC = ({ account, onClickHandler }) => { return ( - + {shortNumberFormat(account.followers_count)} @@ -39,7 +39,7 @@ const ProfileStats: React.FC = ({ account, onClickHandler }) => { - + {shortNumberFormat(account.following_count)} From 1e634ce7aaee1262535f89dc6054275d3c19909b Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 16 May 2022 14:35:02 -0400 Subject: [PATCH 3/3] Remove statuses count from profile popper --- app/soapbox/features/ui/components/user_panel.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/soapbox/features/ui/components/user_panel.js b/app/soapbox/features/ui/components/user_panel.js index e77268614..747717add 100644 --- a/app/soapbox/features/ui/components/user_panel.js +++ b/app/soapbox/features/ui/components/user_panel.js @@ -86,19 +86,6 @@ class UserPanel extends ImmutablePureComponent { - {account.get('statuses_count') >= 0 && ( - - - - {shortNumberFormat(account.get('statuses_count'))} - - - - - - - )} - {account.get('followers_count') >= 0 && (