feat: rewire Launch App on Phone to do UI nav + progress polling #22

Open
opened 2026-06-02 22:20:45 +00:00 by shawn · 0 comments
Owner

Changed the "Launch App on Phone" button behavior on the MSFS Sync page.

New sequence:

  1. Launch MS Field Service app
  2. Tap globe icon (top-right)
  3. Wait 15s for sync panel
  4. Tap "Check for Updates" button
  5. Wait for phone DB to stabilize

Frontend: now polls task status from the extraction server and shows progress in the sync progress card.

Files:

  • admin_server.py — changed proxy target from /api/sync/start to /api/sync/check-for-updates, increased timeout to 30s
  • static/index.html — rewrote launchMsfsApp() to poll task status and display progress/completion
Changed the "Launch App on Phone" button behavior on the MSFS Sync page. **New sequence:** 1. Launch MS Field Service app 2. Tap globe icon (top-right) 3. Wait 15s for sync panel 4. Tap "Check for Updates" button 5. Wait for phone DB to stabilize **Frontend:** now polls task status from the extraction server and shows progress in the sync progress card. **Files:** - `admin_server.py` — changed proxy target from `/api/sync/start` to `/api/sync/check-for-updates`, increased timeout to 30s - `static/index.html` — rewrote `launchMsfsApp()` to poll task status and display progress/completion
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shawn/canteen-admin-server#22