Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use existing trip existence #1078

Merged
merged 9 commits into from
Nov 29, 2023
Merged

Conversation

binh-dam-ibigroup
Copy link
Collaborator

Description

This PR makes the saved trip editor reuse the itineraryExistence object stored in the corresponding trip, instead of starting a new check that may not complete. (When saving new trips, a new itinerary existence check will continue to be initiated.) (That's the first commit in this PR.)

The PR also introduce ItineraryExistence and MonitoredTrip types and applies them to select files.

PR Checklist

  • Does the code follow accessibility standards (WCAG 2.1 AA Compliant)?
  • Are all languages supported (Internationalization/Localization)?
  • Are appropriate Typescript types implemented?

Copy link
Collaborator

@miles-grant-ibigroup miles-grant-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this PR is supposed to fix this bug but I'm still getting the bug where you save a trip and then it tells you the trip doesn't exist

Screenshot 2023-11-28 at 10 42 45 AM

Code looks clean!

@binh-dam-ibigroup
Copy link
Collaborator Author

Not sure if this PR is supposed to fix this bug but I'm still getting the bug where you save a trip and then it tells you the trip doesn't exist

This PR does not address this bug, it is a backend issue.

Copy link
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement! Thanks

@binh-dam-ibigroup binh-dam-ibigroup merged commit c223ab4 into dev Nov 29, 2023
7 checks passed
@binh-dam-ibigroup binh-dam-ibigroup deleted the use-existing-trip-existence branch November 29, 2023 14:20
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.

3 participants