Fix/frontend structure#30
Merged
esspindola merged 7 commits intodevelopfrom Aug 26, 2025
Merged
Conversation
…e imports and API service calls - Removed AuthContext and PluginContext, replacing them with Zustand-based auth store. - Updated all components to use the new auth store for authentication state management. - Refactored API service to use Axios for requests and improved error handling. - Changed import paths for utility functions and components to maintain consistency. - Updated product and inventory API calls to align with the new structure. - Removed unused Supabase client files and middleware. - Adjusted various components to reflect changes in authentication logic and routing.
…nd mobile detection hook - Implemented Toaster component for displaying toast notifications. - Created ToggleGroup and ToggleGroupItem components for toggle functionality. - Developed Toggle component with variant support for different styles. - Added Tooltip component for displaying contextual information on hover. - Introduced useIsMobile hook for mobile device detection. feat: implement language context and hooks for language management - Added LanguageContext for managing language state and toggling between English and Spanish. - Created useLanguage hook to handle language detection and toggling. - Integrated translations for UI elements in both English and Spanish. feat: add toast management system inspired by react-hot-toast - Implemented a custom toast system with add, update, dismiss, and remove functionalities. - Created useToast hook for easy access to toast management in components. feat: add utility functions for class name merging and translations - Implemented cn utility function for merging class names using clsx and tailwind-merge. - Added translations utility for managing and retrieving translations based on selected language.
…on paths - Updated import paths for `useLanguageContext` and `getTranslation` in multiple landing components to use the new structure from `@/context` and `@/utils`. - Adjusted the import path for the `Sheet` component in the header to reflect its new location. - Ensured consistent use of single quotes in JSX and JavaScript files for better readability.
…ming for full name and remove address field
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
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.
No description provided.