a6e62a70f0
fix: tolerate flat (non-nested) success response shape from /admin/login
...
The live backend returns success:true + token but doesn't nest user
fields under a data object the way the spec described, causing
'Cannot read properties of undefined (reading email)'. Falls back to
reading fields off data.data, data.user, or the top-level response.
2026-07-08 17:20:25 +05:30
ab59421861
fix: point the actual active login page (login.js) at Doormile auth
...
LoginRoutes.js is registered before MainRoutes.js and defines its own
un-prefixed '/login' route pointing at pages/nearle/login — it wins the
route match, so login1.js (fixed in the earlier commit) was never being
rendered. login.js still hit jupiter.nearle.app/live/api/v1/users/console/login
with the old multi-step (email lookup -> setup/enter password) flow.
Collapsed to a single POST /admin/login with { email, password,
userfcmtoken }, matching Doormile's one-shot auth response. Visual
layout (branded two-panel screen, "Welcome back" copy) is unchanged.
Confirmed live: curl against api.doormile.com/api/v1/admin/login,
/admin/milers, /crm/clients, /admin/bookings all return the expected
{success,...} shapes and status codes for this code to handle.
2026-07-08 17:06:01 +05:30
c52350df0f
feat: convert NearlExpress console to Doormile admin
...
Phase 1: env config + login auth (Doormile JWT)
Phase 2: full API layer rewrite in api.js
- All endpoints now point at api.doormile.com/api/v1
- Removed all jupiter.nearle.app references
- Removed all routes.workolik.com references (Phase 3)
- Miler CRUD: GET/POST/PATCH /admin/milers
- Clients: GET/POST/PATCH /crm/clients
- Bookings: GET /admin/bookings
- Auto-assign: POST /hub/bookings/:id/auto-assign
Pages rewritten:
- riders.js - Doormile miler fields, status mapping
- createrider.js - fixed broken form, real miler creation
- editRider.js - stripped bank/vehicle/insurance, hub mapping
- Tenants.js - stripped pricing dialog, CRM client fields
Menu: renamed Orders/Deliveries/Tenants/Riders/Dispatch
to Bookings/Consignments/Clients/Milers/Live Operations
Pending Phase 3: dispatch pages, reports, consignments
2026-07-08 15:47:01 +05:30
ed7640ad1e
updates on the build regarding the dockerfile and nginx config file
2026-07-08 11:41:56 +05:30
8224f45974
updates and removed on the dead codes
2026-07-07 12:38:20 +05:30
d90609f5a0
updates on the readme file regarding the namechange
2026-07-07 11:19:13 +05:30
e468861709
initialization
2026-07-07 11:16:41 +05:30
d716bed6a5
updates on the build fix on the coming-soon page
2026-07-04 16:26:38 +05:30
bb0296777b
updates on the build fix
2026-07-04 16:17:11 +05:30
67afa55c5b
updates on the changes google.maps.DistanceMatrixService to orsm
2026-07-04 16:12:53 +05:30
17faae1f6e
updates on the dispatch page faster improvements fix
2026-07-02 12:59:46 +05:30
96db14331b
alignments on the image in the login page section left side
2026-07-02 12:18:24 +05:30
e385e2fbfd
updates on the images and the build
2026-07-02 12:01:21 +05:30
b4cf2be556
updates on the login page and order page and fixed on the logo and the date validation
2026-07-02 11:11:48 +05:30
39e97c3041
updates on the login
2026-07-01 16:19:49 +05:30
f50d5a0c56
Revert "updates on the dispatch page"
...
This reverts commit e21a1e66b5 .
2026-07-01 13:33:12 +05:30
e21a1e66b5
updates on the dispatch page
2026-07-01 13:23:23 +05:30
360b13a467
updates
2026-07-01 12:50:35 +05:30
1d0d7c428c
updateson the profitability page
2026-07-01 11:42:33 +05:30
96f7bbad62
updates on the by rider section
2026-06-30 15:22:35 +05:30
1dde4a471a
updates on the by rider calculations on the dispatch page section
2026-06-30 12:32:14 +05:30
ec01b32e71
updates on the popup modal regarding the actualkms to the riderkms update
2026-06-30 11:46:02 +05:30
d72158f3e6
updates on the console under the dispatch page active section
2026-06-26 12:54:42 +05:30
bdfe4250ce
updates on the active section regarding the notifications
2026-06-25 13:33:55 +05:30
857b268991
updates on the active page section regarding the kms and the eta
2026-06-25 12:35:25 +05:30
055975d702
updates on the orders page about four kpis
2026-06-23 18:23:48 +05:30
e184cd2d3b
updates on the profitiability page
2026-06-22 16:59:40 +05:30
25aaa46e5d
updates on the validations on th action button in the substitution page
2026-06-22 15:37:02 +05:30
f95d8ec70e
updates on the riders page and updated the count on the substitution page
2026-06-22 13:31:52 +05:30
94ad8ab262
updates on the rider and the rider substitution page regarding the crud operations and more change outthere
2026-06-22 12:17:07 +05:30
4823df08a3
updates on the uild
2026-06-19 18:58:28 +05:30
3e0772ffb8
updates on the activeSection and dispatch
2026-06-18 15:05:29 +05:30
892f8fbc5d
updates on the dispatch page and the dispatchShared page
2026-06-18 12:16:29 +05:30
7669e259d0
updates on the profitability for the testing
2026-06-17 14:52:40 +05:30
c651282a30
updates on the fix regarding the profitability page
2026-06-17 11:14:21 +05:30
3442e61bd0
small fix on the profitablity page
2026-06-16 20:04:59 +05:30
b0bb2d63cf
updates on the profitability page and added the new page of this one
2026-06-16 19:49:57 +05:30
ffcd9440e6
updates on the active page and the profitability section
2026-06-16 15:33:06 +05:30
7858d42f86
updates on the profitability
2026-06-15 20:51:04 +05:30
b35361d440
updates on the active section andthe profitability page
2026-06-15 19:45:09 +05:30
ec1957d6ca
update for the the active section page and the profitability page
2026-06-15 17:42:11 +05:30
f50b4b010c
updated the ui
2026-06-11 18:09:10 +05:30
251be9afd2
updates on the dispatch page on the map gap on the right side
2026-06-09 15:39:01 +05:30
f18b680247
updated the ui for the mobile view
2026-06-09 13:12:18 +05:30
8513c7c2ec
update on the kpi cards in the deliveries page on the count
2026-06-08 19:48:43 +05:30
286f18abcc
updates on the calculation on the dropdown fix
2026-06-08 19:31:57 +05:30
b477ad7023
updated the csv file and added the customerDeliveryTime and kitchenPickupTime
2026-06-05 05:03:49 +05:30
225c5912f5
updates and issues fixed in the order summary page and used the existing design is followed
2026-06-05 03:33:51 +05:30
80d56805cf
updates on the dispatch analysis page design updates
2026-06-04 04:15:57 +05:30
aea96476a4
updates on the polyline breaks fix
2026-06-04 02:11:36 +05:30