From a78da16790f63a9eb5c06d869c8693950d36a45e Mon Sep 17 00:00:00 2001 From: Giancarlo Buomprisco Date: Fri, 28 Nov 2025 08:42:33 +0800 Subject: [PATCH] 2.21.5 (#417) * refactor: streamline sign-in and sign-up methods containers for improved conditional rendering - Updated SignInMethodsContainer and SignUpMethodsContainer to conditionally render the separator and "or continue with" text only when applicable authentication methods are available. - Enhanced code readability by removing redundant div elements and improving the structure of conditional rendering. * refactor: enhance UI components with improved styling and structure - Updated PlanIntervalSwitcher to include hover effects and adjusted button size for better user interaction. - Refined PersonalAccountDropdown by removing unnecessary animation classes for cleaner code. - Modified Footer component to standardize padding across different screen sizes. - Adjusted Pill component's height and padding for a more consistent appearance. * refactor: enhance admin members and memberships tables with date rendering and sorting adjustments - Removed User ID column from both AdminMembersTable and AdminMembershipsTable for a cleaner interface. - Added date rendering functionality for Created At and Updated At columns, displaying time in a user-friendly format. - Disabled sorting for Name, Email, Role, Created At, and Updated At columns to improve usability. * fix: update account linking messages and redirect logic - Changed the success message for account linking to indicate that a request has been sent and to prompt the user to wait. - Added a redirect path to the PersonalAccountSettingsContainer for improved navigation after account linking. - Removed the unused useUnlinkIdentity hook to clean up the codebase. --- apps/web/public/locales/en/account.json | 2 +- .../gateway/src/components/pricing-table.tsx | 9 +++++-- .../components/personal-account-dropdown.tsx | 4 +-- .../account-settings-container.tsx | 1 + .../src/components/admin-members-table.tsx | 19 +++++++++++--- .../components/admin-memberships-table.tsx | 18 ++++++++++--- .../components/sign-in-methods-container.tsx | 26 ++++++++++++------- .../components/sign-up-methods-container.tsx | 26 ++++++++++++------- .../supabase/src/hooks/use-unlink-identity.ts | 22 ---------------- packages/ui/src/makerkit/marketing/footer.tsx | 2 +- packages/ui/src/makerkit/marketing/pill.tsx | 4 +-- 11 files changed, 77 insertions(+), 56 deletions(-) delete mode 100644 packages/supabase/src/hooks/use-unlink-identity.ts diff --git a/apps/web/public/locales/en/account.json b/apps/web/public/locales/en/account.json index ca67e24df..c1a5e7dfe 100644 --- a/apps/web/public/locales/en/account.json +++ b/apps/web/public/locales/en/account.json @@ -123,7 +123,7 @@ "linkEmailPasswordSuccess": "Email and password linked", "linkEmailPasswordError": "Failed to link email and password", "linkingAccount": "Linking account...", - "accountLinked": "Account linked", + "accountLinked": "Account linking request sent. Please wait...", "unlinkAccount": "Unlink Account", "failedToLinkAccount": "Failed to link account", "availableMethods": "Available Methods", diff --git a/packages/billing/gateway/src/components/pricing-table.tsx b/packages/billing/gateway/src/components/pricing-table.tsx index e64d27172..c227ce829 100644 --- a/packages/billing/gateway/src/components/pricing-table.tsx +++ b/packages/billing/gateway/src/components/pricing-table.tsx @@ -417,7 +417,11 @@ function PlanIntervalSwitcher( }>, ) { return ( -
+
{props.intervals.map((plan, index) => { const selected = plan === props.interval; @@ -434,13 +438,14 @@ function PlanIntervalSwitcher( return (