Repository navigation
mobile: site manager app (Expo + shadcn) and user journey - #1
Merged
Merged
Conversation
…oday, capture with offline queue, scan, report, connect docs: user journey and ready checklist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a site manager mobile app (
mobile/, Expo SDK 58 + shadcn via React Native Reusables) that records on site and talks to the Tagwerk API on the GPU laptop over Tailscale, plus a user journey and ready checklist.Why
The site manager is the one person who feeds Tagwerk, and so far they only had the
/siteweb page. They need a phone app: record a video, photo or voice note in under a minute, work without signal, see what Tagwerk understood, and confirm camera proposals. For the demo, the team also needs a shared view of who does what and what must be ready before outside users touch it.Changes
mobile/App.tsx,mobile/src/screens/)/api/overview,/api/elements/{id}/confirm)expo-audio) / typed note; result card with confirmed changes, proposals, absences, labour, deliveries, events/api/scan; objects grouped by category with frame thumbnails; link to the 3D scan/api/v2/report, PDF via/export/report.html, dashboard link:8080/:8081/:8082presets, optional token, connection test, connect QR (tagwerk://connect?url=…&token=…)mobile/src/queue.ts): saved across restarts; files copied out of the picker cache; resent with the samecapture_id(the server answersexists); each job remembers the server it was recorded for; live pipeline steps from the/eventswebsocketmobile/src/api.ts): multipart upload over XHR with progress, bearer token, response types matchingcontracts/structured.schema.jsonmobile/components/ui/, NativeWind 4 + Tailwind 3, shadcn neutral theme plus success / warning / info tokens, extraxl/herobutton sizes for gloves, state labels copied fromtagwerk/labels.pydocs/USER-JOURNEY.md(roles, journey from setup to daily report, ready checklist for demo / pilot / later);mobile/README.md(run on the phone, laptop Metro, dev setup);mobile/expo-go-qr.pngTesting
npx tsc --noEmitpasses;expo-doctorpasses after addingexpo-asset:8082scan project):exists:8080Notes
~/tw-mobile.sh start|stop|log,exp://100.118.181.69:8090) because the Mac firewall blocks incoming connections; the source there is a copy in~/Developer/hacka/tagwerk-mobile, outside the main checkoutunbekannt