- lib/user-agent.ts (nieuw): isPhoneUA() — Mobi-substring heuristiek (telefoons hebben Mobi, tablets/desktop niet) - actions/auth.ts loginAction: leest user-agent header na session.save(); phone-UA + actief product → /m/products/[id]/solo, zonder → /m/settings; tablet/desktop/null-UA → /dashboard (ongewijzigd) - Tests: 7 helper-cases + 6 loginAction-paden incl. demo-user Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| active-product.test.ts | ||
| auth.test.ts | ||
| claude-jobs-batch.test.ts | ||
| claude-jobs.test.ts | ||
| pairing.test.ts | ||
| products.test.ts | ||
| questions.test.ts | ||
| sprint-dates.test.ts | ||
| sprints-cascade.test.ts | ||
| story-claim.test.ts | ||
| tasks-dialog.test.ts | ||