statelyai / xstate

Actor-based state management & orchestration for complex app logic.
https://stately.ai/docs
MIT License
26.98k stars 1.24k forks source link

Fix depart date bug: 7GUIs Flight Booker React #4850

Closed stevebarakat closed 5 months ago

stevebarakat commented 5 months ago
changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

Latest commit: 834a5f3103503e0a392a21c9571181d2813cb17e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

davidkpiano commented 5 months ago

I was able to book a flight in the past

CleanShot 2024-04-15 at 13 48 48@2x
stevebarakat commented 5 months ago

That's the old version that this pull request will update.

stevebarakat commented 5 months ago

Don't use the Open in Stackblitz button to test it. It links to: https://stackblitz.com/github/statelyai/xstate/tree/main/examples/7guis-flight-booker-react, which will be the old version until the new one is merged.

stevebarakat commented 5 months ago

Wait! Don't merge it yet. I just realized, it's supposed to display a notification confirming the flight itinerary after the flight is booked. The XState 4 example that I started this project with didn't implement that requirement but the original 7GUIs project does.

stevebarakat commented 5 months ago

I forgot to create a different branch for this. This is Circle Drawer app on the Flight Booker branch. Here's a stackblitz for testing, if needed. https://stackblitz.com/edit/github-awfape