-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This commit encompasses a series of significant updates and optimizat… #28
Merged
Conversation
This file contains 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
…ions across the application. Key changes include: 1. React Component Refactoring: - Updated the `Main` component for improved rendering efficiency. - Enhanced error handling and state management in various components, including `SelectCollectionList` and `CollectionPage`. - Implemented custom hooks like `useVisible` and `useList` for better state management. 2. Authentication Workflow Improvements: - Integrated a custom hook `useInterval` for managing token validity checks. - Optimized the `AuthProvider` component to periodically verify token authenticity every 2 minutes, enhancing security. 3. Code Optimization and Cleanup: - Eliminated redundancy in `calculateCollectionValue` function using DRY principles. - Refined `SelectCollectionList` by integrating `useList` and `useMap` hooks for efficient list and map operations. - Fixed issues related to token saving and returning in the signup process. - Addressed various bugs and potential inefficiencies throughout the application. 4. UI and UX Enhancements: - Revised several components for better responsiveness and user interaction. - Improved skeleton loaders and visual feedback for asynchronous operations. 5. General Maintenance: - Corrected console errors and warnings. - Updated documentation and comments for better clarity and maintainability. Each modification aims to enhance the applications performance, security, and user experience.
- Removed unnecessary default values from createContext - Eliminated redundant state variables totalPrice and totalQuantity - Created a reusable updateCartData function - Simplified the fetchUserCart function - Improved code readability by removing commented-out code
…e --> cleaned up a lot of commented code --> working on trimming rest of context
- Implement NaN/undefined handling in chart data to ensure robustness. - Refactor date parsing in line charts for consistent x-axis formatting. - Update tooltip logic for improved user interaction and data display. - Adjust axis formatting and parsing to align with updated data structures.
…ut, new cardlist pagination
…nd transitions, extensive additions to themeSettings for consistency
…ng absolute button styles
✅ Deploy Preview for enhanced-cardstore ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for tcg-store ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
…ions across the application. Key changes include:
React Component Refactoring:
Main
component for improved rendering efficiency.SelectCollectionList
andCollectionPage
.useVisible
anduseList
for better state management.Authentication Workflow Improvements:
useInterval
for managing token validity checks.AuthProvider
component to periodically verify token authenticity every 2 minutes, enhancing security.Code Optimization and Cleanup:
calculateCollectionValue
function using DRY principles.SelectCollectionList
by integratinguseList
anduseMap
hooks for efficient list and map operations.UI and UX Enhancements:
General Maintenance:
Each modification aims to enhance the applications performance, security, and user experience.