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

added specific chat page, where customer and vendor can chat about a specific dish #280

Merged
merged 1 commit into from
Nov 10, 2024

Conversation

ShivanshPlays
Copy link
Contributor

@ShivanshPlays ShivanshPlays commented Nov 10, 2024

Summary

This PR introduces a fully responsive and theme-specific chat page, dynamically designed to facilitate communication between customers and vendors about a particular dish. Each chat page instance is unique based on sellerId, userId, and dishId. Additionally, the PR includes a preview card with a carousel, displaying dish images and information to enhance user experience.


Key Enhancements

1. Fully Responsive, Theme-Specific Chat Page

  • Objective: Create a responsive chat interface that aligns with the application’s theme and enhances user-seller interactions about specific dishs.
  • Implementation:
    • Designed a chat page layout that adapts smoothly to various screen sizes, providing an accessible experience on both desktop and mobile devices.
    • Ensured the chat interface is visually consistent with the application's theme, including colors, fonts, and button styles, enhancing the cohesive look and feel.
    • Made the chat page dynamic, generating unique instances based on sellerId, userId, and dishId, allowing for seamless communication about specific dishs.

2. Dynamic Communication for customers and vendors

  • Implementation:
    • Integrated JSON server setup to simulate real-time message exchanges and display sample chat data, allowing for initial testing and demonstration of the chat feature.
    • Established structured data fetching based on sellerId, userId, and dishId to ensure that each chat instance loads only relevant messages, maintaining a targeted and relevant discussion.

3. dish Preview Card with Carousel

  • Objective: Provide customers with a visual preview of the dish within the chat interface, ensuring quick reference and enhancing user engagement.
  • Implementation:
    • Created a dish preview card at the top of the chat page, displaying essential dish details and images.
    • Integrated a carousel component within the preview card to enable customers to scroll through multiple dish images directly within the chat page.
    • Ensured the carousel is responsive and maintains consistent styling with the chat page, improving the overall usability and design coherence.

4. fixed build errors which were due to inconsistent following of latest nextJS syntax and lint errors by other PRs



PR4 #257


image

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 0ad1269 into Vimall03:main Nov 10, 2024
1 check passed
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