Skip to content

Create trip multi step#352

Open
GonzaloGM wants to merge 3 commits into
masterfrom
create-trip-multi-step
Open

Create trip multi step#352
GonzaloGM wants to merge 3 commits into
masterfrom
create-trip-multi-step

Conversation

@GonzaloGM

Copy link
Copy Markdown
Contributor

Features

  • Trip creation templates APIGET/POST /api/trip-creation-templates, GET /api/trip-creation-templates/{name}. Authenticated, per-user, upsert by name. Migration: trip_creation_templates.
  • Configurable trip creation limitsTRIP_CREATION_LIMIT_MAX_TRIPS, TRIP_CREATION_LIMIT_TIME_WINDOW_HOURS, DISABLE_TRIP_CREATION_LIMITS env vars (replacing hardcoded limits).

Cause → fix

Issue Cause Fix
Templates only in localStorage No server persistence; lost across devices/browsers New TripCreationTemplate model, controller, routes, and migration
Trip limits hard to tune per env Limits baked into code/config Expose via env-backed config/carpoolear.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant