Conversation
…r integration This commit updates the subscription handling logic across multiple components to improve user experience and streamline interactions with the Polar API. It introduces environment-specific product IDs for better management of plans in development and production. Additionally, it enhances the authorization model in the user subscription schema and modifies the checkout process to ensure proper validation and error handling. The AWS Amplify configuration is also refined to ensure consistent API access.
This commit updates the error handling in the portal route by replacing the JSON response for unauthenticated users with a thrown error. This change simplifies the authentication check and improves the clarity of error management in the API response.
This commit enhances the ChatTrigger and RefinedAIAssistantSheet components by incorporating mobile detection hooks. It modifies the state management for chat visibility to prevent actions on mobile devices and ensures that the chat UI is rendered only on desktop. Additionally, the ChatContext is updated to use a safe setter for the chat state, improving user experience across different devices.
This commit introduces a new `planFaqs` export in the plans component, providing detailed FAQs about the Fasttify platform. Additionally, it updates the `CheckoutModal` to navigate to the plan selection page when the "Ver todos los planes" button is clicked, improving user experience. The `TopBarPolaris` component is also enhanced with new icons for better visual representation of actions related to user profile and subscription plans. Furthermore, several profile components are refactored to handle loading states more gracefully by checking for user existence, ensuring a smoother user experience.
…xperience This commit modifies the `PolarisLayout` component to conditionally set the dashboard URL based on the presence of a store ID, enhancing navigation. Additionally, it updates the `TopBarPolaris` component to ensure the user picture is handled more gracefully by using undefined as a fallback, improving the robustness of the user profile display. These changes aim to streamline user interactions and enhance overall usability.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…r integration
This commit updates the subscription handling logic across multiple components to improve user experience and streamline interactions with the Polar API. It introduces environment-specific product IDs for better management of plans in development and production. Additionally, it enhances the authorization model in the user subscription schema and modifies the checkout process to ensure proper validation and error handling. The AWS Amplify configuration is also refined to ensure consistent API access.