Skip to content
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

add dishes page with responsiveness and implement all 4 filters with beautiful carousal card #261

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

ShivanshPlays
Copy link
Contributor

@ShivanshPlays ShivanshPlays commented Nov 9, 2024

PR1 : #242

PR Justification for Level 3


Summary

This PR introduces a new Dishes Page, modifications to the backend to support dynamic queries, a dish card component with carousel functionality, and ensures that the page is fully responsive. These changes significantly enhance the user experience, making it easier to search, filter, and view dishes based on specific criteria such as category, tags, and price.


Key Enhancements and Changes

1. Dishes Page

  • Objective: Create a dedicated page to showcase dishes available on the platform.
  • Implementation:
    • Developed a new page to display dishes, which integrates dynamic query handling for better user interaction.
    • The page allows users to filter dishes based on categories, tags, and sorting by price.

2. Backend Modifications for Dynamic Queries

  • Objective: Modify backend logic to handle four dynamic query parameters for better filtering and searching.
  • Implementation:
    • Updated the backend API to accommodate queries for search, category, tags, and price sorting.
    • Integrated logic that allows flexible querying of the dishes database, ensuring that the correct set of dishes is returned based on user input.

3. Dish Card Component with Carousel

  • Objective: Create a reusable card component to display individual dishes with an interactive carousel.
  • Implementation:
    • Designed a dish card component that displays the dish details, including images, descriptions, and pricing.
    • Added a carousel feature to showcase multiple images for each dish, allowing users to interact with images of the dish from different angles or variations.

4. Responsive Design

  • Objective: Ensure the dishes page is fully accessible and visually appealing across all devices, providing a seamless user experience.
  • Implementation:
    • Used responsive design techniques to adjust the layout and display of dishes, making sure the page adapts to different screen sizes.
    • Ensured the dish card component remains functional and visually consistent on mobile, tablet, and desktop screens.

Points Justification

This PR meets the 40-45 points level due to the following contributions:

  • New Feature (Dishes Page): Added a fully functional dishes page with dynamic filtering and sorting capabilities.
  • Backend Modifications: Implemented the ability to filter and sort dishes based on multiple query parameters, enhancing user interaction and flexibility.
  • Dish Card Component: Introduced a reusable card component with carousel functionality, providing an interactive and engaging display for dishes.
  • Responsive Design: Ensured that the page and components are fully responsive, offering a consistent and optimal experience on all device types.
  • Documentation Update Required: Updated documentation to reflect new page functionality, query parameters, and usage instructions.

Conclusion

This PR introduces a valuable new page for users to explore dishes with enhanced filtering and sorting features. The addition of a reusable dish card component, complete with a carousel, and the implementation of a responsive design ensures that the page is engaging and user-friendly across devices. These changes improve the platform's functionality and user experience, with all necessary backend adjustments to support dynamic queries. Documentation updates will further support the changes made.

RESPONSIVE:

Screen.Recording.2024-11-09.161204.mp4

WORKING FILTERS:

1.mp4
2.mp4

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Thank you for contributing to this project, your support is much appreciated.

Stay awesome! 😎

@Vimall03 Vimall03 merged commit 237c7f0 into Vimall03:main Nov 9, 2024
1 check passed
@Vimall03 Vimall03 added level3 and removed level2 labels Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants