Quick Builder
Leading one itinerary across many connected decisions: the architecture and implementation behind a workflow that stays coherent as accommodation, activities and transport change.
- Responsibility
- Principal ownership — solution design, architecture & implementation
- Scope
- React, TypeScript & Rails itinerary integration
- Foundations
- Reusable providers · typed service contracts · regression coverage
- Project state
- Implemented — continuing product development
Shared itinerary state
Pricing reconciled
A change in one step has a life beyond the screen.
Accommodation cleanup respects usage across itineraries, with an explained removal boundary.
Route edits connect persistence, itinerary refresh and asynchronous pricing.
Reusable providers, hooks and typed service contracts carry the workflow.
The problem
Building a travel itinerary is more than filling in a sequence of forms. A stay changes the route. A route changes the transport. A saved change can trigger pricing work that finishes later.
Quick Builder brings accommodation, activities and transport into one journey. The challenge was to let each step evolve without losing the itinerary’s integrity across those dependencies.
My responsibility
I led solution design, architecture and end-to-end implementation across React/TypeScript and Rails. That covered the workflow structure, frontend state and data ownership, asynchronous feedback and integration with the underlying itinerary services.
I partnered with UX designers working in Figma, translating their designs into interactions and engineering boundaries. My work extended into Rails service and API changes where a frontend feature depended on saved itinerary behaviour.
The constraints
- Accommodation belongs to a wider vacation context and can be used by another itinerary.
- Transport routes have saved journey boundaries that must survive editing.
- Saving a route and completing its pricing are separate events; their responses can arrive in different orders.
- A change needs coverage across the screen, client services and backend persistence, with keyboard access and usable feedback throughout.
Key decisions
Protect shared data beyond the current screen
An accommodation that looks unused in the current itinerary may still be used elsewhere. I made cleanup account for usage across itineraries as well as the current stay map.
The consequence is an explicit usage lookup and a narrower definition of what can be removed. A local view of the screen is insufficient authority for deleting shared vacation data. The workflow also explains why an accommodation cannot be removed.
Give route saving and pricing separate lifecycles
Applying a route has two responsibilities: persist the selected journey and reconcile the resulting pricing state. Treating both as a single loading flag would hide the interval between a successful save and a completed price calculation.
I introduced dedicated route-save and pricing coordination. The implementation tracks pricing completions and can read the current server state when a completion arrives before the save response. This adds coordination, but gives the interface a way to reconcile an actual race rather than assume a fixed response order.
Preserve journey boundaries when editing
Route review needs to operate on the correct saved section of an itinerary. My changes spanned the drawer, route data model, API and transfer services, with coverage for saved boundaries and lookup failures.
This kept the interaction tied to the journey the user was editing. The responsibility crossed the frontend/backend boundary because that is where the feature’s correctness lived.
Delivery & validation
The frontend separates accommodation, activity, transport, review and pricing responsibilities. Shared itinerary concerns sit at the coordination boundary; step-specific interactions stay with their step.
The implementation includes regression tests for accommodation usage, route selection and saving, lookup failures, and pricing transitions. Rails controller and service specs cover route persistence and journey boundaries. This coverage connects user actions to saved behaviour instead of relying solely on isolated component output.
Scope & foundations
The workflow is assembled from reusable providers, hooks and typed service contracts rather than screen-local state. That makes the itinerary boundary explicit and gives later changes a stable place to attach.
The foundations compound: regression tests cover accommodation usage, route selection and saving, lookup failures and pricing transitions, while Rails controller and service specs cover journey persistence. The work also extended into Rails services and APIs where a frontend feature depended on saved itinerary behaviour — cross-boundary ownership that outlives the feature, with shared state and service contracts other itinerary flows can reuse.
What changed
Cleanup became aware of the wider data model. Accommodations used by another itinerary are excluded from the removable set, with an explanation in the interface.
Route editing became a connected product operation. A selected route can be applied through the backend, reflected in the itinerary and reconciled with asynchronous pricing.
The workflow became a reusable foundation. Providers, hooks and typed service contracts now carry the itinerary boundary, and regression coverage connects user actions to saved behaviour.
Reflection
The most consequential frontend decisions often sit outside the component. In Quick Builder, deciding who owns shared data, what a save actually guarantees, and when pricing is complete mattered as much as the screen structure.
A workflow is only as coherent as the state transitions between its steps.