Design an order tracking page with status timeline, shipping details, and order summary.
- User
Design an order tracking page with status timeline, shipping details, and order summary.
Assistant
I will explore the files in the project to understand its layout and existing libraries.
I will check
package.jsonto see installed dependencies (like Lucide icons or motion libraries).I will install
lucide-reactandcanvas-confettifor icons and celebration animations when deliveries arrive.I will examine
index.htmlto set a fitting page title and check styles.I will edit
index.htmlto update the title to "OmniTrack Pro — Global Live Order & Courier Tracking" and add Inter & JetBrains Mono fonts.I will read
src/index.cssto check the CSS setup.I will update
src/index.csswith styling enhancements for typography, custom animations, live map grids, and parcel pulse indicators.I will create
src/data/ordersData.tscontaining rich, realistic data for multiple order types (Out for delivery with driver GPS, In transit international package, Delivered package with photo proof, Weather delayed luxury item, and Warehouse processing item).I will create
src/components/Navbar.tsxwhich includes order/tracking search, demo order quick-selectors, and utility toggles.I will remove the unused imports in
src/components/Navbar.tsx.I will create
src/components/StatusBanner.tsxfeaturing real-time status highlights, progress indicators, countdown timers, and interactive celebratory confetti.I will update
src/components/StatusBanner.tsxto display the live countdown timer when a courier is actively approaching.I will remove
Phonefrom the imports inStatusBanner.tsx.I will create
src/components/InteractiveMap.tsxfeaturing an animated GPS grid simulation, waypoint pins, courier vehicle animation, and direct communication buttons with the driver.I will create
src/components/StatusTimeline.tsxdisplaying interactive multi-stage tracking steppers, carrier scan codes, and detailed checkpoint logs.I will clean up the unused imports and use the expand/collapse indicator inside
StatusTimeline.tsx.I will update
StatusTimeline.tsxto display the expand/collapse chevron based onisExpanded.I will update
StatusTimeline.tsxso thatevent.detailsvisibility obeysisExpanded.I will create
src/components/ShippingDetails.tsxfeaturing privacy shield masking, interactive delivery instruction management, and service specifications.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.