Implemented load more functionality and global modal provider #736
+356
−75
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.
In this PR, I implemented a "Load More" functionality for the stores to enhance user experience by allowing users to incrementally load additional content without reloading the page. This is achieved through a state management solution that tracks the currently displayed items and fetches more when requested.
Additionally, I introduced a Global Modal Provider for the "Under Construction" alert. This provider encapsulates the modal logic within a context, enabling any component to trigger the modal from anywhere in the application. By utilizing this approach, we ensure consistent alert behavior and styling throughout the site, improving maintainability and user experience. The integration enhances responsiveness and provides a seamless way to inform users about ongoing developments without navigating away from their current context.
Description
Related Issues
Screenshots / videos (if applicable)
Untitled.video.-.Made.with.Clipchamp.mp4