- Renamed `getNavMainLinks` to `getSidebarLinks` for improved clarity in the configuration file.
- Updated the `DashboardSidebar` component to utilize the new `getSidebarLinks` function and integrated `useCurrentUser` for user status handling.
- Enhanced the sidebar to conditionally display the upgrade card and user profile based on membership status.
- Updated comments for better understanding of the code functionality.
- Removed unnecessary parameter handling in `BillingLayout`, `NotificationsLayout`, `ProfileLayout`, and `SecurityLayout` for cleaner code.
- Renamed `SettingsBillingPage` to `BillingPage` and `SettingsNotificationPage` to `NotificationPage` for improved clarity and consistency.
- Added new loading components for marketing legal and pages sections to enhance user experience during data fetching.
- Cleaned up commented-out code in the blog category metadata generation for better maintainability.
- Added new `BillingLayout`, `NotificationsLayout`, `ProfileLayout`, and `SecurityLayout` components to structure the respective settings pages.
- Introduced loading components for each section to enhance user experience during data fetching.
- Refactored `SettingsBillingPage`, `SettingsNotificationPage`, `ProfilePage`, and `SecurityPage` to utilize the new layouts, improving code organization and readability.
- Updated `DashboardHeader` to ensure consistent breadcrumb navigation across settings pages.
- Updated `LoginForm`, `RegisterForm`, and `SocialLoginButton` components to accept and utilize a `callbackUrl` prop for improved redirection after authentication.
- Removed the `showSocialLoginButton` prop from `AuthCard` as social login functionality is now integrated directly within the forms.
- Enhanced `LoginWrapper` to append the `callbackUrl` as a query parameter in the routing logic.
- Improved logging for better debugging and user feedback during authentication processes.
- Moved common authentication messages to a new `common` namespace in English and Chinese translation files for better organization.
- Updated `LoginPage`, `RegisterPage`, and various form components to utilize the new translation keys.
- Enhanced loading indicators in `ForgotPasswordForm`, `LoginForm`, `RegisterForm`, and `ResetPasswordForm` components for improved user feedback.
- Refactored `SocialLoginButton` and `NavbarMobile` components to utilize the current user context for better user experience.
- Introduced a new `LoginWrapper` component to manage user authentication through modal or redirect modes.
- Integrated responsive design using media queries to control modal visibility based on device type.
- Updated routing logic to close the modal on route changes and handle login actions effectively.
- Refactored existing components to utilize the new `LoginWrapper` for improved user experience in authentication flows.
- Replaced instances of `useRouter` with `useLocaleRouter` for consistent locale handling across components.
- Added locale parameter to the `createCheckoutAction` for improved localization support during checkout.
- Refactored `ForgotPasswordForm`, `LoginForm`, and `RegisterForm` components to optimize state management and remove redundant code.
- Updated `CheckoutButton` and `CustomerPortalButton` components to improve error logging and user feedback.
- Introduced a new `formatPrice` and `formatDate` utility functions in the `formatter` module for better code reuse.
- Cleaned up the `BillingCard` component by removing inline utility functions and utilizing the new formatter functions.
- Updated `StripeProvider` to handle locale in checkout session creation and improved error handling for better debugging.
- Added user email to metadata in the `createCheckoutAction` for improved user tracking during checkout.
- Updated `PricePlan` interface to remove commented-out properties and clarify the `isLifetime` field.
- Refactored payment configuration to ensure `isLifetime` is consistently defined across plans.
- Improved error logging messages in the `StripeProvider` for better debugging and user feedback.
- Renamed the webhook handler method for clarity in the `StripeProvider`.
- Adjusted padding and font size in the PricingTable component for improved UI consistency.
- Removed the `registerWebhookHandler` function and related comments from the payment module to streamline the codebase.
- Updated README to reflect changes in webhook functionality, emphasizing the use of the default handler in the Stripe provider.
- Cleaned up unused type definitions related to webhook event handling in the types module.
- Introduced a new column `subscription_status` to the user table for improved subscription management.
- Updated the user schema in the database to reflect this change.
- Added a new migration file and snapshot for versioning.
- Updated the StripeProvider to handle subscription status updates in webhook events.
- Introduced new columns `subscription_id` and `lifetime_member` to the user table for enhanced subscription management.
- Updated the user schema in the database to reflect these changes.
- Refactored actions to utilize the new user fields for better subscription handling.
- Enhanced error handling and logging in relevant actions for improved user feedback.
- Updated translations to include new messages related to subscription status and lifetime access.
- Added loading messages in English and Chinese translations for better user feedback during checkout and customer portal actions.
- Updated `CheckoutButton` and `CustomerPortalButton` components to utilize new translation keys for loading states and error messages.
- Refactored `PricingCard` and `PricingTable` components to incorporate translated text for pricing details and actions, improving localization support.
- Updated success and cancel URLs in checkout session and customer portal session actions for consistency.
- Removed PaymentCancelPage and PaymentSuccessPage components to streamline the payment process.
- Refactored PricingCard component to improve link handling for free plans.
- Added logging for user customer ID in BillingCard for better debugging.
- Updated English and Chinese translations for the PricingPage, adding a subtitle for clarity.
- Refactored the PricingPage layout to include a HeaderSection for improved presentation.
- Modified PricingCard component to handle optional interval and payment type parameters.
- Enhanced PricingTable component styling and logic for better user experience.
- Updated `create-checkout-session` to require user login before checkout and added user ID and name to metadata.
- Removed email parameter from checkout actions and components to streamline the process.
- Refactored `CheckoutButton`, `PricingCard`, and `PricingTable` components to eliminate email handling.
- Improved `CreateCheckoutParams` to enforce customer email as a required field.
- Updated payment configuration to utilize enums for payment types and intervals for better maintainability.
- Renamed translation keys for password setup to reset for clarity in English and Chinese.
- Added new `getUserBillingDataAction` for fetching user subscription data.
- Refactored `create-checkout-session` to ensure user authentication during checkout.
- Updated `BillingCard` to utilize the new billing data fetching logic and improved error handling.
- Modularized profile settings components by updating import paths for better organization.
- Enhanced `CheckoutButton` to initiate checkout sessions with improved user feedback.
- Renamed password management keys in translation files for clarity.
- Added new translation keys for saving and cancel actions in both English and Chinese.
- Refactored the DeleteAccountCard component to utilize a new PasswordCardWrapper for better modularity.
- Updated UpdatePasswordCard to enhance user feedback and maintain consistency in translation usage.
- Removed unnecessary client directive from billing page for improved performance.
- Renamed SettingsAccountPage to SettingsProfilePage for better clarity in profile settings.
- Introduced a new `DynamicCodeBlock` component for interactive code examples.
- Updated documentation structure by creating a `lazy` module for dynamic imports of components.
- Removed the deprecated `UiOverview` component to streamline the documentation.
- Enhanced image handling in `CustomMDXContent` with a new `ImageZoom` integration for better user experience.
- Added a new `Wrapper` component for consistent styling across documentation elements.
- Refactored checkout session creation to enhance error handling and logging.
- Updated payment types and intervals to use enums for better clarity and maintainability.
- Improved pricing card and table components to utilize new payment type constants.
- Adjusted pricing amounts for subscription plans to reflect updated pricing structure.
- Enhanced user feedback for error scenarios during checkout and customer management.
- Added pagination size and related posts size configurations to the website config.
- Updated blog components to utilize the new pagination settings.
- Introduced a new feature to display related posts on individual blog pages, improving user engagement.
- Added new translations for "More Posts" in English and Chinese.
- Replaced `groupId` prop with `items` prop in `<Tabs>` components across multiple MDX files for consistency.
- Added `<Tab>` components for "Fumadocs MDX" and "Content Collections" in relevant sections to enhance content organization.
- Improved code readability and maintainability by structuring tab content more clearly.
- Introduced new author files for "Fox" in both English and Chinese with associated avatar images.
- Updated existing author names.
- Added new blog documentation files covering various topics, including "Fumadocs" and "Search" in both English and Chinese.
- Updated existing blog metadata, including authors and publication dates, to reflect recent changes and improve content organization.
- Introduced `extractLocaleAndBase` function to streamline locale and base name extraction from filenames.
- Added new blog documentation files covering comparisons, internationalization, manual installation, and markdown usage in both English and Chinese.
- Removed outdated author and blog content files to enhance content organization and clarity.
- Updated `content-collections.ts` to utilize the new locale extraction function for improved file handling.
- Updated multiple components to utilize CustomMDXContent, allowing for better integration of Fumadocs components.
- Removed direct imports of MDXContent and defaultMdxComponents, streamlining the content rendering process.
- Introduced CustomMDXContent in a new shared component file to encapsulate common MDX functionalities.
- Introduced multiple new MDX files covering various topics including comparisons, customization, internationalization, manual installation, markdown usage, and component documentation.
- Enhanced the overall structure and organization of the documentation to improve user experience and accessibility.
- Added a meta JSON file to define the documentation structure and navigation.
- Implemented new layout files for different document types, improving the flexibility of the documentation framework.
- Introduced `cleanup-old-content.js` for backing up and cleaning up old content directories.
- Added `migrate-content.js` to facilitate the migration of content types across locales.
- Created new author and blog content files in both English and Chinese, enhancing the content structure.
- Updated `content-collections.ts` to reflect new slug formats for authors.
- Added new category files for better content organization.
- Included privacy, cookie, and terms of service pages in both languages.
- Implemented initial release notes for versioning.
- Deleted the fumadocs-twoslash dependency from package.json and pnpm-lock.yaml.
- Updated accordion documentation to remove unnecessary twoslash syntax.
- Cleaned up imports in the DocPage component by removing unused Popup components.
- Deleted the fumadocs-typescript dependency from package.json and pnpm-lock.yaml.
- Removed the props.ts file as it was no longer needed.
- Updated various MDX files to comment out AutoTypeTable references to props.ts for better clarity and maintainability.
- Added a URL to the navigation in the DocsRootLayout for better routing.
- Increased padding in the NewsletterCard component for enhanced visual appeal.
- Updated the NewsletterForm button class to include a cursor pointer for better user interaction.
- Updated content collections to include new schemas for better document handling.
- Added new documentation files for comparisons, customization, and internationalization.
- Introduced a manual installation guide and improved markdown support.
- Updated package.json with new dependencies for enhanced functionality.
- Added new images for documentation and improved layout components for better user experience.
- Adjusted TypeScript configurations for better path management.
- Modified the meta collection to include files with 'meta**.json' for improved matching.
- Added new translation keys for 'blog' in English and Chinese localization files.
- Updated social links in the layout to use the XTwitterIcon for consistency.
- Adjusted image paths in the features page for better organization.
- Removed unused LocaleSwitcher import from the footer component.
- Replaced font imports in the layout and font index files to use Noto and Bricolage fonts for improved typography.
- Updated global CSS variables to reflect the new font settings.
- Enhanced author introduction in English and Chinese localization files with a greeting emoji for better user engagement.
- Adjusted heading styles in the About page for consistency.
- Changed the comment for average reading speed in content-collections.ts for clarity.
- Added a new translation key for reading time in English and Chinese localization files.
- Updated the BlogPostPage to utilize the new translation key for displaying estimated reading time, improving user experience and localization support.
- Changed the prose class to prose-neutral in blog post and custom page components for improved typography consistency.
- Added a comment in the blog post page to clarify the necessity of the prose class for MDX styling.
- Enhanced the table of contents component with line-clamp for better text handling.
- Replaced <Image> component with <img> tag in multiple MDX files to standardize image rendering.
- Updated alt text in the Chinese blog post for improved accessibility.
- Replaced the custom Mdx component with MDXContent from @content-collections/mdx/react for improved MDX processing.
- Updated content handling in various legal and blog pages to directly use the transformed body from content collections.
- Introduced estimated reading time calculation in the posts collection for better user experience.
- Added a new mdx.css file for consistent styling across MDX components.
- Removed the obsolete shared mdx-component file to reduce redundancy.
- Translated the title and paragraphs in multiple .mdx files from Chinese to English for consistency and clarity.
- Adjusted the layout.tsx to change the font class for improved typography.
- Enhanced the Providers component with detailed comments for better understanding of the provider structure.