BigBrainParking/app
Hank 7212badd2d
All checks were successful
build-apk / build (push) Successful in 49m41s
v0.1.5: detect free windows in the estimate fallback + add API tests
App:
- When the single-estimate fallback sees MaxTime 0 (or an all-$0.00 ladder),
  show "Parking is currently free" instead of a bogus $0.00 purchase ladder.
  Free-detection extracted to tested client helpers (isFreeEstimate/ladderAllFree).

Client + tests (node:test, zero deps):
- src/estimates.ts: pure isFreeEstimate/ladderAllFree helpers (exported).
- test/estimates + test/http (mocked fetch): headers, query serialization,
  error->ParkSmarterApiError, rolling Auth_Token refresh, 401 clears token.
- test/integration: live checks against the Sandpoint (DSB) zones; targets the
  `test` instance by default and SKIPS when it's unreachable (non-prod is
  IP-restricted -> 403). Verified 3/3 green against prodv2 read-only.
- CI runs `npm test` as a build gate.

Note: dev/stage/test instances return 403 "Web App - Unavailable" from the
public internet (IP-restricted). API schema is otherwise unchanged vs Jul 6.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 20:42:58 -07:00
..
assets 401 auto re-login, My Location via native GPS, edge-to-edge, brain-car icon 2026-07-06 09:58:23 -07:00
plugins Fix release signing in CI: anchor plugin regex to buildTypes release block 2026-07-07 19:49:37 -07:00
src v0.1.5: detect free windows in the estimate fallback + add API tests 2026-07-12 20:42:58 -07:00
app.json v0.1.5: detect free windows in the estimate fallback + add API tests 2026-07-12 20:42:58 -07:00
App.tsx CI: move workflow to .forgejo/workflows; self-contained Forgejo release; bump 0.1.1 2026-07-07 14:18:06 -07:00
babel.config.js Initial commit: parksmarter-client + BigBrainParking app 2026-07-06 08:33:47 -07:00
index.ts Initial commit: parksmarter-client + BigBrainParking app 2026-07-06 08:33:47 -07:00
metro.config.js Initial commit: parksmarter-client + BigBrainParking app 2026-07-06 08:33:47 -07:00
package.json Add on-device debug logging: file capture + share (for real-session testing) 2026-07-06 11:59:41 -07:00
tsconfig.json Initial commit: parksmarter-client + BigBrainParking app 2026-07-06 08:33:47 -07:00