Skip to content

feat: add order tracking page with status timeline (#778)#1007

Open
adikulkarni006 wants to merge 2 commits into
AnthropicBots:mainfrom
adikulkarni006:feature/order-tracking
Open

feat: add order tracking page with status timeline (#778)#1007
adikulkarni006 wants to merge 2 commits into
AnthropicBots:mainfrom
adikulkarni006:feature/order-tracking

Conversation

@adikulkarni006

Copy link
Copy Markdown
Contributor

Closes #778

🎯 Problem

Users have no way to track their order status after placing an order.

🚀 Solution Implemented

  • New API endpoint GET /api/orders/:id/status to fetch order status and tracking details.
  • New frontend page order-tracking.html with:
    • Order summary (ID, date, total)
    • Order items list
    • Status timeline (pending → processing → shipped → delivered)
    • Estimated delivery date
    • Tracking number
  • Dashboard integration (link from orders section)

📁 Files Changed

File Change
backend/controllers/orderController.js Added getOrderStatus function
backend/routes/orderRoutes.js Added GET /:id/status route
frontend/order-tracking.html New tracking page
frontend/scripts/order-tracking.js New script

🧪 Testing Performed

  • ✅ Tracking page loads with correct order ID
  • ✅ Order details display correctly
  • ✅ Timeline highlights current status
  • ✅ Shipping details show correctly
  • ✅ Handles invalid/unauthorized orders

Ready for review.

@hydra-maintainer

Copy link
Copy Markdown

🔍 Quality Gate Report

✅ All quality gates passed!

Status Check Details
Linked Issue PR description references a closing issue ✅

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

@adikulkarni006 is attempting to deploy a commit to the Bhuvansh's projects Team on Vercel.

A member of the Team first needs to authorize it.

@hydra-maintainer

Copy link
Copy Markdown

💡 Suggested reviewers based on relevant file history: @BhakktiGautam, @zaibamachhaliya

@hydra-maintainer

Copy link
Copy Markdown

🔴 PR Health Score: 30/100

This PR's health score is below the 75/100 threshold for a healthy label.

Status Signal
Test coverage
Linked issue
PR description (≥50 chars)
DCO sign-off
⬜ 0 approval(s) Approvals
Diff size < 400 lines

Improving these signals will help reviewers engage faster and raise your score. 💪

@hydra-maintainer

Copy link
Copy Markdown

🔍 Quality Gate Report

✅ All quality gates passed!

Status Check Details
Linked Issue PR description references a closing issue ✅

@hydra-maintainer

Copy link
Copy Markdown

💡 Suggested reviewers based on relevant file history: @BhakktiGautam, @zaibamachhaliya

@hydra-maintainer

Copy link
Copy Markdown

🔴 PR Health Score: 30/100

This PR's health score is below the 75/100 threshold for a healthy label.

Status Signal
Test coverage
Linked issue
PR description (≥50 chars)
DCO sign-off
⬜ 0 approval(s) Approvals
Diff size < 400 lines

Improving these signals will help reviewers engage faster and raise your score. 💪

@adikulkarni006

Copy link
Copy Markdown
Contributor Author

@BHUVANSH855 PR ready for #778. Order tracking page implemented. Please review and merge. Thanks!

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.

[FEATURE] Add order tracking page to display order status and tracking info

1 participant