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

Fare Table comaptibility with OTP2 FareProduct API #612

Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
b7cfc5a
feat(core-utils): adds function for converting GQL response to REST
daniel-heppner-ibigroup Jun 9, 2023
bb3b334
fix(core-utils): convert fare functions to consume GQL data
daniel-heppner-ibigroup Jun 9, 2023
c456013
feat(itinerary-body): removes REST style fare data
daniel-heppner-ibigroup Jun 9, 2023
96eae08
test(itinerary-body): add new mock
daniel-heppner-ibigroup Jun 9, 2023
e941d67
test(core-utils): add new mock
daniel-heppner-ibigroup Jun 9, 2023
97d46a8
feat(trip-details): convert FareTable to use Fare Product data
daniel-heppner-ibigroup Jun 9, 2023
2a95a93
test: add test for getlegfare
daniel-heppner-ibigroup Jun 12, 2023
d102510
feat(types): Remove old fare info, add GraphQL style FareProducts to …
daniel-heppner-ibigroup Jun 12, 2023
8848676
Merge branch 'gql-transition/fare-product-types' into otp2-fare-produ…
daniel-heppner-ibigroup Jun 12, 2023
c7b7cad
refactor(itinerary-body): re-add showRouteFares
daniel-heppner-ibigroup Jun 13, 2023
0ca75a4
fix(core-utils): adds new FareProducts API to query
daniel-heppner-ibigroup Jun 13, 2023
7a5652f
refactor(itinerary-body): update legprodct mock
daniel-heppner-ibigroup Jun 13, 2023
1113b6b
undo some regressions
daniel-heppner-ibigroup Jun 15, 2023
1575424
Merge branch 'gql-transition/add-fareproducts-to-query' into fare-pro…
daniel-heppner-ibigroup Jun 15, 2023
93f257f
Merge branch 'gql-transition/fare-product-types' into fare-products-t…
daniel-heppner-ibigroup Jun 15, 2023
f842f87
Merge branch 'fare-products-table' into otp2-fare-products-table
daniel-heppner-ibigroup Jun 15, 2023
ce6c90a
Merge branch 'master' into otp2-fare-products-table
daniel-heppner-ibigroup Jun 19, 2023
6ee769c
fix(core-utils): correct bug with argument order
daniel-heppner-ibigroup Jun 19, 2023
0a1ba98
fix(trip-details): bug fixes
daniel-heppner-ibigroup Jun 19, 2023
a9befc9
fix(trip-details): fix fare product table bug
daniel-heppner-ibigroup Jun 20, 2023
4c1ed6e
fix(i18n): add correct translations
daniel-heppner-ibigroup Jun 20, 2023
a5232ec
fix(trip-details): fix crash
daniel-heppner-ibigroup Jun 20, 2023
ff007f3
fix(core-utils): hide undefined fare legs instead of returning 0
daniel-heppner-ibigroup Jul 3, 2023
0122ca5
refactor(trip-details): add story with invalidkey
daniel-heppner-ibigroup Jul 3, 2023
d5f1340
deps(trip-details): use latest core-utils
daniel-heppner-ibigroup Jul 3, 2023
118d5fe
Merge branch 'master' into otp2-fare-products-table
daniel-heppner-ibigroup Jul 3, 2023
fa21a13
fix spelling
daniel-heppner-ibigroup Jul 3, 2023
099920c
fix types issue
daniel-heppner-ibigroup Jul 3, 2023
077dbdb
i18n: clean up files
daniel-heppner-ibigroup Jul 3, 2023
c4753fa
fix crash
daniel-heppner-ibigroup Jul 3, 2023
8596ad9
i18n: remove unused key
daniel-heppner-ibigroup Jul 3, 2023
0e7efb2
refactor: fix i18n issues by restoring itinerary body code
daniel-heppner-ibigroup Jul 3, 2023
596fcf8
fix(types): add type for specifying fare product ids
daniel-heppner-ibigroup Jul 3, 2023
1b0757a
chore: update snapshots
daniel-heppner-ibigroup Jul 3, 2023
587cc08
Merge branch 'master' into otp2-fare-products-table
daniel-heppner-ibigroup Jul 3, 2023
365c6f9
deps: update types versions
daniel-heppner-ibigroup Jul 3, 2023
b8e2ae9
refactor(types): generate commit
daniel-heppner-ibigroup Jul 3, 2023
33cad91
refactor(types): pr comments
daniel-heppner-ibigroup Jul 10, 2023
94a3bb6
i18n: improve french text
daniel-heppner-ibigroup Jul 10, 2023
c765371
address pr comments
daniel-heppner-ibigroup Jul 10, 2023
0b2f9db
remove old story
daniel-heppner-ibigroup Jul 11, 2023
48bdcc4
fix(itinerary-body): remove unused prop and add new defaultFareSelect…
daniel-heppner-ibigroup Jul 11, 2023
63eb193
test: fix itinerary test
daniel-heppner-ibigroup Jul 11, 2023
eccaf39
fix(trip-details): remove unused types
daniel-heppner-ibigroup Jul 11, 2023
73c71fa
refactor: remove unused stories
daniel-heppner-ibigroup Jul 11, 2023
aa85e51
chore: update snapshots
daniel-heppner-ibigroup Jul 11, 2023
f4601e7
chore: sort props
daniel-heppner-ibigroup Jul 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22,228 changes: 8,651 additions & 13,577 deletions __snapshots__/storybook.test.ts.snap

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"tsc": "tsc"
},
"devDependencies": {
"@opentripplanner/types": "^5.0.0",
"@opentripplanner/types": "^6.0.0-alpha.9",
"@types/chroma-js": "^2.1.4"
}
}
Loading