Skip to content

✨ [UI/UX] Modularize combos and build dashboard UI - #573

Open
Harshraj979 wants to merge 1 commit into
PatelHarsh2006:mainfrom
Harshraj979:fix/invoice-and-duplicate-scripts
Open

✨ [UI/UX] Modularize combos and build dashboard UI#573
Harshraj979 wants to merge 1 commit into
PatelHarsh2006:mainfrom
Harshraj979:fix/invoice-and-duplicate-scripts

Conversation

@Harshraj979

Copy link
Copy Markdown

Overview

This PR resolves several open issues by modularizing the recommendations engine and building out a fully functional, premium Account Dashboard.

Changes Made

  • Verified Fixes: Confirmed that the missing invoice script, duplicate imports, and broken favicon paths were already addressed in the codebase.
  • Smart Combos Modularization:
    • Refactored recommendations.html to remove ~150 lines of duplicated inline scripts and properly imported the modular engine from js/recommendations.js.
    • Integrated the Smart Combos recommendation widget directly onto the menu.html page to provide dynamic side-item suggestions based on cart contents.
  • Account Dashboard Features:
    • Replaced the static "Coming Soon" placeholder on dashboard.html with a fully functional UI.
    • Built a new dashboard.css stylesheet for premium styling.
    • Added dynamic stat cards (Total Orders, Loyalty Points, Cart Items).
    • Added a recent order history list and a functional form for saving/updating the default delivery address.

Testing Done

  • Verified menu.html recommendations widget dynamically updates when items are added to the cart.
  • Verified dashboard stats correctly load from localStorage and sessionStorage.
  • Checked mobile responsiveness for the new dashboard components and ensured zero console errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant