Skip to content
Travel Component Kit

Component kit

Component theater

Preference review

A suggestion is evidence, never a fact. Keeping one, and no longer keeping one, both wait for a review. The host writes the fact from the suggestion it holds, so the page chooses only which one and how widely it applies. No model can ask for either change. A fact that is no longer kept stays in the trip's history.

What to keep about this client

A suggestion comes from activities of one kind that were opened or considered twice while Behind the scenes was on. It becomes a client fact about Brooks family only when a person keeps it, and keeping it waits for a review.

Nothing is noted right now, so there is nothing to suggest.

Kept about this client

Nothing has been kept yet.

What it reads and what it may ask for

suggestions with what each rests on, and the client facts a person has confirmed with where each came from and how widely it applies reach: one sentence from the host about what a fact kept for every trip reaches, drawn where that choice is offered and where a fact carries the mark

onKeep(suggestion, applies): the host prepares a review that keeps the suggestion as a client fact, for this trip or for every trip onRetract(fact): the host prepares a review that stops keeping a fact

States: nothing noted, no activity looked at twice, suggestion open, suggestion kept, suggestion already kept, for a fact carried in from an earlier trip, fact for this trip, fact for every trip, fact carried from an earlier trip

Proof

  • test/client-facts.test.ts
  • test/surface-render.test.ts
  • test/next-trip.test.ts
  • test/browser-showcase/return.spec.ts
  • test/browser-showcase/journey.spec.ts

packages/react/src/surfaces/PreferenceReview.tsx

All partsStart sample