Skip to content

feat: refresh driver ui#20

Open
Studio-18 wants to merge 13 commits into
mainfrom
codex/refresh-driver-app-ui-without-api-changes
Open

feat: refresh driver ui#20
Studio-18 wants to merge 13 commits into
mainfrom
codex/refresh-driver-app-ui-without-api-changes

Conversation

@Studio-18
Copy link
Copy Markdown
Collaborator

Summary

  • switch the Vite entry point to the TypeScript driver shell so the refreshed UI renders by default
  • add a driver-focused layout with gradient header, status pill, and bottom navigation plus updated login form markup
  • restyle the orders route with new tabs and cards by introducing feature-scoped components and matching global styles

Testing

  • npm run build

Data layer inventory

  • useOrders (accept, markArrived, markComplete)
  • useAuth
  • useToast
  • useLocationTracking
  • OrdersProvider

Anti-mock scan

  • rg -n 'faker|msw|__mocks__|json-server|mock|stub|TODO: mock|SAMPLE_|HARDCODED_|http://localhost' index.html src/main.tsx src/App.tsx src/routes/Login.tsx src/routes/Orders/CompletedOrderCard.tsx src/routes/Orders/Index.tsx src/routes/Orders/OrderCard.tsx src/routes/Orders/OrderDetail.tsx src/styles/globals.css src/features/driver/ui -g '*'
  • rg -n 'const\s+orders\s*=\s*\[' index.html src/main.tsx src/App.tsx src/routes/Login.tsx src/routes/Orders/CompletedOrderCard.tsx src/routes/Orders/Index.tsx src/routes/Orders/OrderCard.tsx src/routes/Orders/OrderDetail.tsx src/styles/globals.css src/features/driver/ui -g '*'

Screenshots

  • Before (login): browser:/invocations/fztdssfp/artifacts/artifacts/before-login.png
  • After (login): browser:/invocations/merxnzzl/artifacts/artifacts/login.png
  • After (pending): browser:/invocations/merxnzzl/artifacts/artifacts/orders-pending.png
  • After (active): browser:/invocations/merxnzzl/artifacts/artifacts/orders-active.png
  • After (completed): browser:/invocations/merxnzzl/artifacts/artifacts/orders-completed.png

Previous orders views could not be captured in this environment because the legacy stack requires live API credentials; new screenshots reflect the refreshed UI.


https://chatgpt.com/codex/tasks/task_e_68e6e6bfe40c8328a27c7bd490ef4099

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 8, 2025

PR Preview Action v1.6.2

🚀 View preview at
https://CodeMyMobile.github.io/jason-driver-FE/pr-preview/pr-20/

Built to branch gh-pages at 2025-10-09 06:15 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant